Table of Contents

Interface IBuilderForOptional

Namespace
Vonage.Video.Broadcast.StartBroadcast
Assembly
Vonage.dll
public interface IBuilderForOptional : IVonageRequestBuilder<StartBroadcastRequest>
Inherited Members

Methods

WithMaxBitrate(int)

Sets the maximum video bitrate for the broadcast, in bits per second.

IBuilderForOptional WithMaxBitrate(int value)

Parameters

value int

Returns

IBuilderForOptional

Examples

.WithMaxBitrate(2000000)

WithMaxDuration(int)

Sets the maximum duration for the broadcast, in seconds. The broadcast will automatically stop when the maximum duration is reached. Valid range: 60 (1 minute) to 36000 (10 hours). Default is 14,400 (4 hours).

IBuilderForOptional WithMaxDuration(int value)

Parameters

value int

Returns

IBuilderForOptional

Examples

.WithMaxDuration(7200)

WithMultiBroadcastTag(string)

Sets a unique tag to support multiple broadcasts for the same session simultaneously.

IBuilderForOptional WithMultiBroadcastTag(string value)

Parameters

value string

Returns

IBuilderForOptional

Examples

.WithMultiBroadcastTag("my-broadcast-tag")

WithResolution(RenderResolution)

Sets the resolution of the broadcast output.

IBuilderForOptional WithResolution(RenderResolution value)

Parameters

value RenderResolution

Returns

IBuilderForOptional

Examples

.WithResolution(RenderResolution.HighDefinitionLandscape)

WithStreamMode(StreamMode)

Sets whether streams included in the broadcast are selected automatically (auto, the default) or manually (manual).

IBuilderForOptional WithStreamMode(StreamMode value)

Parameters

value StreamMode

Returns

IBuilderForOptional

Examples

.WithStreamMode(StreamMode.Manual)