Show / Hide Table of Contents

Class AudioSendOnlyMediaSession

A media session that will send a generated audio signal or silence to the remote party and ignore any RTP it receives. This class is intended for testing scenarios.

Inheritance
System.Object
RTPSession
AudioSendOnlyMediaSession
Implements
System.IDisposable
IMediaSession
Inherited Members
RTPSession.RTP_MAX_PAYLOAD
RTPSession.SRTP_MAX_PREFIX_LENGTH
RTPSession.DEFAULT_AUDIO_CLOCK_RATE
RTPSession.RTP_EVENT_DEFAULT_SAMPLE_PERIOD_MS
RTPSession.DEFAULT_MEDIA_TYPE
RTPSession.DEFAULT_DTMF_EVENT_PAYLOAD_ID
RTPSession.RTP_MEDIA_PROFILE
RTPSession.RTP_SECUREMEDIA_PROFILE
RTPSession.SDP_SESSIONID_LENGTH
RTPSession.DTMF_EVENT_DURATION
RTPSession.DTMF_EVENT_PAYLOAD_ID
RTPSession.RTCP_RR_NOSTREAM_SSRC
RTPSession.logger
RTPSession.rtpSessionConfig
RTPSession.m_primaryStream
RTPSession.MultiplexRtpChannel
RTPSession.audioRemoteSDPSsrcAttributes
RTPSession.videoRemoteSDPSsrcAttributes
RTPSession.RequireRenegotiation
RTPSession.PrimaryStream
RTPSession.AudioStream
RTPSession.VideoStream
RTPSession.AudioLocalTrack
RTPSession.AudioRemoteTrack
RTPSession.AudioRtcpSession
RTPSession.AudioDestinationEndPoint
RTPSession.AudioControlDestinationEndPoint
RTPSession.VideoLocalTrack
RTPSession.VideoRemoteTrack
RTPSession.VideoRtcpSession
RTPSession.VideoDestinationEndPoint
RTPSession.VideoControlDestinationEndPoint
RTPSession.AudioStreamList
RTPSession.VideoStreamList
RTPSession.RemoteDescription
RTPSession.IsSecureContextReady()
RTPSession.SrtpCryptoSuites
RTPSession.MaxReconstructedVideoFrameSize
RTPSession.IsClosed
RTPSession.IsStarted
RTPSession.HasAudio
RTPSession.HasVideo
RTPSession.AcceptRtpFromAny
RTPSession.RtpBindAddress
RTPSession.OnAudioFormatsNegotiated
RTPSession.OnAudioFormatsNegotiatedByIndex
RTPSession.OnVideoFormatsNegotiated
RTPSession.OnVideoFormatsNegotiatedByIndex
RTPSession.OnVideoFrameReceived
RTPSession.OnVideoFrameReceivedByIndex
RTPSession.OnRtpPacketReceived
RTPSession.OnRtpPacketReceivedByIndex
RTPSession.OnRtpHeaderReceived
RTPSession.OnRtpHeaderReceivedByIndex
RTPSession.OnRtpEvent
RTPSession.OnRtpEventByIndex
RTPSession.OnRtpClosed
RTPSession.OnRtcpBye
RTPSession.OnTimeout
RTPSession.OnTimeoutByIndex
RTPSession.OnReceiveReport
RTPSession.OnReceiveReportByIndex
RTPSession.OnSendReport
RTPSession.OnSendReportByIndex
RTPSession.OnStarted
RTPSession.OnClosed
RTPSession.ResetRemoteSDPSsrcAttributes()
RTPSession.AddRemoteSDPSsrcAttributes(SDPMediaTypesEnum, List<SDPSsrcAttribute>)
RTPSession.LogRemoteSDPSsrcAttributes()
RTPSession.CreateOffer(IPAddress)
RTPSession.CreateAnswer(IPAddress)
RTPSession.GetOrCreateAudioStream(Int32)
RTPSession.GetOrCreateVideoStream(Int32)
RTPSession.SetRemoteDescription(SdpType, SDP)
RTPSession.SetMediaStreamStatus(SDPMediaTypesEnum, MediaStreamStatusEnum)
RTPSession.addSingleTrack(Boolean)
RTPSession.addTrack(MediaStreamTrack)
RTPSession.removeTrack(MediaStreamTrack)
RTPSession.SetGlobalDestination(IPEndPoint, IPEndPoint)
RTPSession.SetGlobalSecurityContext(ProtectRtpPacket, ProtectRtpPacket, ProtectRtpPacket, ProtectRtpPacket)
RTPSession.GetNextAudioStreamByLocalTrack()
RTPSession.GetNextVideoStreamByLocalTrack()
RTPSession.CreateRtpChannel()
RTPSession.GetMediaStreams()
RTPSession.SendAudio(UInt32, Byte[])
RTPSession.SendVideo(UInt32, Byte[])
RTPSession.SendDtmf(Byte, CancellationToken)
RTPSession.SendDtmfEvent(RTPEvent, CancellationToken, Int32, Int32)
RTPSession.OnReceive(Int32, IPEndPoint, Byte[])
RTPSession.SendRtpRaw(SDPMediaTypesEnum, Byte[], UInt32, Int32, Int32, UInt16)
RTPSession.SendRtpRaw(SDPMediaTypesEnum, Byte[], UInt32, Int32, Int32)
RTPSession.SendRtcpRaw(SDPMediaTypesEnum, Byte[])
RTPSession.SetDestination(SDPMediaTypesEnum, IPEndPoint, IPEndPoint)
RTPSession.SendRtcpFeedback(SDPMediaTypesEnum, RTCPFeedback)
RTPSession.SendRtcpReport(SDPMediaTypesEnum, RTCPCompoundPacket)
RTPSession.Dispose(Boolean)
RTPSession.Dispose()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SIPSorcery.Media
Assembly: SIPSorcery.dll
Syntax
public class AudioSendOnlyMediaSession : RTPSession, IDisposable, IMediaSession

Constructors

| Improve this Doc View Source

AudioSendOnlyMediaSession(IPAddress, Int32)

Declaration
public AudioSendOnlyMediaSession(IPAddress bindAddress = null, int bindPort = 0)
Parameters
Type Name Description
System.Net.IPAddress bindAddress
System.Int32 bindPort

Properties

| Improve this Doc View Source

AudioExtrasSource

Declaration
public AudioExtrasSource AudioExtrasSource { get; }
Property Value
Type Description
AudioExtrasSource

Methods

| Improve this Doc View Source

Close(String)

Declaration
public override async void Close(string reason)
Parameters
Type Name Description
System.String reason
Overrides
RTPSession.Close(String)
| Improve this Doc View Source

Start()

Declaration
public override async Task Start()
Returns
Type Description
System.Threading.Tasks.Task
Overrides
RTPSession.Start()

Implements

System.IDisposable
IMediaSession

Extension Methods

JSONWriter.ToJson(Object)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX