Class AudioSourceOptions
Inheritance
System.Object
AudioSourceOptions
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 AudioSourceOptions
Fields
| Improve this Doc View SourceAudioSource
The type of audio source to use.
Declaration
public AudioSourcesEnum AudioSource
Field Value
Type | Description |
---|---|
AudioSourcesEnum |
MusicFile
If the audio source is set to music this must be the path to a raw PCM 8K sampled file. If set to null or the file doesn't exist the default embedded resource music file will be used.
Declaration
public string MusicFile
Field Value
Type | Description |
---|---|
System.String |
MusicInputSamplingRate
The sampling rate used to generate the input or if the source is being generated the sample rate to generate it at.
Declaration
public AudioSamplingRatesEnum MusicInputSamplingRate
Field Value
Type | Description |
---|---|
SIPSorceryMedia.Abstractions.AudioSamplingRatesEnum |