Table of Contents

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

value SupportedAudioRates

The audio sampling rate.

Returns

IBuilderForOptional

The builder.

WithAudioTransport(AudioTransport)

Sets the audio transport configuration.

IBuilderForOptional WithAudioTransport(AudioTransport value)

Parameters

value AudioTransport

The audio transport configuration.

Returns

IBuilderForOptional

The builder.

WithHeader(KeyValuePair<string, string>)

Adds a custom header.

IBuilderForOptional WithHeader(KeyValuePair<string, string> header)

Parameters

header KeyValuePair<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

value string

The stream Id.

Returns

IBuilderForOptional

The builder.