C# Class RTPReceiver.RTPDiagnosticsJob

显示文件 Open project: sipsorcery/sipsorcery Class Usage Examples

Public Properties

Property Type Description
ErrorOnRTPSend bool
LocalSDP SIPSorcery.Net.SDP
RTPListenEndPoint System.Net.IPEndPoint
RTPPacketReceived bool
RemoteRTPEndPoint System.Net.IPEndPoint
StopJob bool
UAS SIPSorcery.SIP.App.SIPServerUserAgent

Public Methods

Method Description
RTPDiagnosticsJob ( IPAddress rtpListenAddress, IPAddress sdpAdvertiseAddress, SIPServerUserAgent uas, SIPRequest request ) : System
Stop ( ) : void

Private Methods

Method Description
GetAudioSamples ( ) : void
SampleReceived ( byte sample, int headerLength ) : void

Method Details

RTPDiagnosticsJob() public method

public RTPDiagnosticsJob ( IPAddress rtpListenAddress, IPAddress sdpAdvertiseAddress, SIPServerUserAgent uas, SIPRequest request ) : System
rtpListenAddress System.Net.IPAddress The local IP address to establish the RTP listener socket on.
sdpAdvertiseAddress System.Net.IPAddress The public IP address to put into the SDP sent back to the caller.
uas SIPSorcery.SIP.App.SIPServerUserAgent
request SIPSorcery.SIP.SIPRequest The INVITE request that instigated the RTP diagnostics job.
return System

Stop() public method

public Stop ( ) : void
return void

Property Details

ErrorOnRTPSend public_oe property

public bool ErrorOnRTPSend
return bool

LocalSDP public_oe property

public SDP,SIPSorcery.Net LocalSDP
return SIPSorcery.Net.SDP

RTPListenEndPoint public_oe property

public IPEndPoint,System.Net RTPListenEndPoint
return System.Net.IPEndPoint

RTPPacketReceived public_oe property

public bool RTPPacketReceived
return bool

RemoteRTPEndPoint public_oe property

public IPEndPoint,System.Net RemoteRTPEndPoint
return System.Net.IPEndPoint

StopJob public_oe property

public bool StopJob
return bool

UAS public_oe property

public SIPServerUserAgent,SIPSorcery.SIP.App UAS
return SIPSorcery.SIP.App.SIPServerUserAgent