Interface IBuilderForOptional
- Namespace
- Vonage.Video.AudioConnector.Start
- Assembly
- Vonage.dll
Represents a builder for optional values.
public interface IBuilderForOptional : IVonageRequestBuilder<StartRequest>
- Inherited Members
Methods
EnableBidirectionalAudio()
Enables bidirectional audio on the websocket.
IBuilderForOptional EnableBidirectionalAudio()
Returns
- IBuilderForOptional
The builder.
WithAudioRate(SupportedAudioRates)
Sets the audio rate on the builder.
IBuilderForOptional WithAudioRate(SupportedAudioRates value)
Parameters
valueSupportedAudioRatesThe audio sampling rate.
Returns
- IBuilderForOptional
The builder.
WithAudioTransport(AudioTransport)
Sets the audio transport configuration.
IBuilderForOptional WithAudioTransport(AudioTransport value)
Parameters
valueAudioTransportThe audio transport configuration.
Returns
- IBuilderForOptional
The builder.
WithHeader(KeyValuePair<string, string>)
Adds a custom header.
IBuilderForOptional WithHeader(KeyValuePair<string, string> header)
Parameters
headerKeyValuePair<string, string>The custom header.
Returns
- IBuilderForOptional
The builder.
WithStream(string)
Adds a stream to include iin the WebSocket audio.
IBuilderForOptional WithStream(string value)
Parameters
valuestringThe stream Id.
Returns
- IBuilderForOptional
The builder.