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

Inheritance: BaseConnectivity
Show file Open project: langhuihui/csharprtmp Class Usage Examples

Public Properties

Property Type Description
OutStream BaseOutNetRTPUDPStream

Public Methods

Method Description
FeedAudioData ( MsgHdr &message, double absoluteTimestamp ) : bool
FeedData ( MsgHdr &message, double absoluteTimestamp, bool isAudio ) : bool
FeedVideoData ( MsgHdr &message, double absoluteTimestamp ) : bool
Initialize ( ) : bool
InitializePorts ( Socket &socket, int &port, NATTraversalProtocol &ppNATData, Socket &rtcp, int &rtcpPort, NATTraversalProtocol &ppNATRTCP ) : bool
OutboundConnectivity ( bool forceTcp, RtspProtocol pRTSPProtocol ) : System
RegisterTCPAudioClient ( uint rtspProtocolId, byte data, byte rtcp ) : bool
RegisterTCPVideoClient ( uint rtspProtocolId, byte data, byte rtcp ) : bool
RegisterUDPAudioClient ( uint rtspProtocolId, IPEndPoint data, IPEndPoint rtcp ) : bool
RegisterUDPVideoClient ( uint rtspProtocolId, IPEndPoint data, IPEndPoint rtcp ) : bool
SignalDetachedFromInStream ( ) : void

Method Details

FeedAudioData() public method

public FeedAudioData ( MsgHdr &message, double absoluteTimestamp ) : bool
message MsgHdr
absoluteTimestamp double
return bool

FeedData() public method

public FeedData ( MsgHdr &message, double absoluteTimestamp, bool isAudio ) : bool
message MsgHdr
absoluteTimestamp double
isAudio bool
return bool

FeedVideoData() public method

public FeedVideoData ( MsgHdr &message, double absoluteTimestamp ) : bool
message MsgHdr
absoluteTimestamp double
return bool

Initialize() public method

public Initialize ( ) : bool
return bool

InitializePorts() public method

public InitializePorts ( Socket &socket, int &port, NATTraversalProtocol &ppNATData, Socket &rtcp, int &rtcpPort, NATTraversalProtocol &ppNATRTCP ) : bool
socket Socket
port int
ppNATData NATTraversalProtocol
rtcp Socket
rtcpPort int
ppNATRTCP NATTraversalProtocol
return bool

OutboundConnectivity() public method

public OutboundConnectivity ( bool forceTcp, RtspProtocol pRTSPProtocol ) : System
forceTcp bool
pRTSPProtocol RtspProtocol
return System

RegisterTCPAudioClient() public method

public RegisterTCPAudioClient ( uint rtspProtocolId, byte data, byte rtcp ) : bool
rtspProtocolId uint
data byte
rtcp byte
return bool

RegisterTCPVideoClient() public method

public RegisterTCPVideoClient ( uint rtspProtocolId, byte data, byte rtcp ) : bool
rtspProtocolId uint
data byte
rtcp byte
return bool

RegisterUDPAudioClient() public method

public RegisterUDPAudioClient ( uint rtspProtocolId, IPEndPoint data, IPEndPoint rtcp ) : bool
rtspProtocolId uint
data System.Net.IPEndPoint
rtcp System.Net.IPEndPoint
return bool

RegisterUDPVideoClient() public method

public RegisterUDPVideoClient ( uint rtspProtocolId, IPEndPoint data, IPEndPoint rtcp ) : bool
rtspProtocolId uint
data System.Net.IPEndPoint
rtcp System.Net.IPEndPoint
return bool

SignalDetachedFromInStream() public method

public SignalDetachedFromInStream ( ) : void
return void

Property Details

OutStream public property

public BaseOutNetRTPUDPStream OutStream
return BaseOutNetRTPUDPStream