Interface IAudioStream
Audio stream interface.
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public interface IAudioStream : IMediaStream, IStream
Properties
G722Disabled
Gets or sets whether G.722 is disabled.
Declaration
bool G722Disabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
OpusDisabled
Gets or sets whether Opus is disabled.
Declaration
bool OpusDisabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
PcmaDisabled
Gets or sets whether PCMA is disabled.
Declaration
bool PcmaDisabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
PcmuDisabled
Gets or sets whether PCMU is disabled.
Declaration
bool PcmuDisabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
InsertDtmfTone(Tone)
Inserts a DTMF tone.
Declaration
bool InsertDtmfTone(Tone dtmfTone)
Parameters
Type | Name | Description |
---|---|---|
Tone | dtmfTone | The DTMF tone. |
Returns
Type | Description |
---|---|
System.Boolean |
InsertDtmfTones(Tone[])
Inserts DTMF tones.
Declaration
bool InsertDtmfTones(Tone[] dtmfTones)
Parameters
Type | Name | Description |
---|---|---|
Tone[] | dtmfTones | The DTMF tones. |
Returns
Type | Description |
---|---|
System.Boolean |
Events
OnReceiveDtmfTone
Raised when a DTMF tone is received.
Declaration
event Action1<Tone> OnReceiveDtmfTone
Event Type
Type | Description |
---|---|
Action1<Tone> |
OnReceiveDtmfToneChange
Raised when the received DTMF tone changes.
Declaration
event Action1<Tone> OnReceiveDtmfToneChange
Event Type
Type | Description |
---|---|
Action1<Tone> |
OnSendDtmfTone
Raised when a DTMF tone is sent.
Declaration
event Action1<Tone> OnSendDtmfTone
Event Type
Type | Description |
---|---|
Action1<Tone> |
OnSendDtmfToneChange
Raised when the sent DTMF tone changes.
Declaration
event Action1<Tone> OnSendDtmfToneChange
Event Type
Type | Description |
---|---|
Action1<Tone> |