Class AudioSocketSettings
The settings to initialize the AudioSocket.
Inherited Members
Namespace: Microsoft.Skype.Bots.Media
Assembly: Microsoft.Skype.Bots.Media.dll
Syntax
public class AudioSocketSettings
Constructors
AudioSocketSettings()
Initializes an AudioSocketSettings object.
Declaration
public AudioSocketSettings()
Properties
CallId
An alphanumeric string that uniquely identifies a call
Declaration
public string CallId { get; set; }
Property Value
Type | Description |
---|---|
String |
ReceiveUnmixedMeetingAudio
Allows the bot to receive separate unmixed audio buffers for individual speakers in a meeting. When set to true, up to four audio buffers, each corresponding to the top four active speakers, will be received at a time. In UnmixedMeetingAudio mode, the bot will receive only unmixed audio and not both unmixed and mixed.
Declaration
public bool ReceiveUnmixedMeetingAudio { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Unmixed audio is optimized for machine cognition (e.g., speech recognition) rather than for human perception (such as call recording and playback). Certain error concealment treatment (e.g., to mitigate packet loss) is not applied to the received audio stream in unmixed mode.
In order to receive both mixed and unmixed audio simultaneously, the bot must establish two separate calls into the meeting.
StreamDirections
The directionality of the media stream. This indicates whether it is enabled to both send and receive media, or only send or only receive media.
Declaration
public StreamDirection StreamDirections { get; set; }
Property Value
Type | Description |
---|---|
StreamDirection |
SupportedAudioFormat
The supported send/receive audio format.
Declaration
public AudioFormat SupportedAudioFormat { get; set; }
Property Value
Type | Description |
---|---|
AudioFormat |