C# Class CSharpRTMP.Core.Protocols.Rtsp.InboundConnectivity

Inheritance: BaseConnectivity, IDisposable
ファイルを表示 Open project: langhuihui/csharprtmp Class Usage Examples

Public Methods

Method Description
AddTrack ( Variant track, bool isAduio ) : bool
Cleanup ( ) : void
CreateCarriers ( InboundRtpProtocol rtp, RtcpProtocol rtcp ) : bool
Dispose ( ) : void
EnqueueForDelete ( ) : void
FeedData ( uint channelId, InputStream buffer, uint length ) : bool
GetTransportHeaderLine ( bool isAudio, bool isClient ) : string
InboundConnectivity ( RtspProtocol rtsp, string streamName, uint bandwidthHint, System.TimeSpan rtcpDetectionInterval ) : System
Initialize ( ) : bool
ReportSR ( ulong ntpMicroseconds, uint rtpTimestamp, bool isAudio ) : void
SendRR ( bool isAudio ) : bool

Method Details

AddTrack() public method

public AddTrack ( Variant track, bool isAduio ) : bool
track Variant
isAduio bool
return bool

Cleanup() public method

public Cleanup ( ) : void
return void

CreateCarriers() public method

public CreateCarriers ( InboundRtpProtocol rtp, RtcpProtocol rtcp ) : bool
rtp InboundRtpProtocol
rtcp RtcpProtocol
return bool

Dispose() public method

public Dispose ( ) : void
return void

EnqueueForDelete() public method

public EnqueueForDelete ( ) : void
return void

FeedData() public method

public FeedData ( uint channelId, InputStream buffer, uint length ) : bool
channelId uint
buffer CSharpRTMP.Common.InputStream
length uint
return bool

GetTransportHeaderLine() public method

public GetTransportHeaderLine ( bool isAudio, bool isClient ) : string
isAudio bool
isClient bool
return string

InboundConnectivity() public method

public InboundConnectivity ( RtspProtocol rtsp, string streamName, uint bandwidthHint, System.TimeSpan rtcpDetectionInterval ) : System
rtsp RtspProtocol
streamName string
bandwidthHint uint
rtcpDetectionInterval System.TimeSpan
return System

Initialize() public method

public Initialize ( ) : bool
return bool

ReportSR() public method

public ReportSR ( ulong ntpMicroseconds, uint rtpTimestamp, bool isAudio ) : void
ntpMicroseconds ulong
rtpTimestamp uint
isAudio bool
return void

SendRR() public method

public SendRR ( bool isAudio ) : bool
isAudio bool
return bool