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.
Inherited Members
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 SourceAudioSendOnlyMediaSession(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 SourceAudioExtrasSource
Declaration
public AudioExtrasSource AudioExtrasSource { get; }
Property Value
| Type | Description |
|---|---|
| AudioExtrasSource |
Methods
| Improve this Doc View SourceClose(String)
Declaration
public override async void Close(string reason)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | reason |
Overrides
| Improve this Doc View SourceStart()
Declaration
public override async Task Start()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Overrides
Implements
System.IDisposable