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
valueint
Returns
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
valueint
Returns
Examples
.WithMaxDuration(7200)
WithMultiBroadcastTag(string)
Sets a unique tag to support multiple broadcasts for the same session simultaneously.
IBuilderForOptional WithMultiBroadcastTag(string value)
Parameters
valuestring
Returns
Examples
.WithMultiBroadcastTag("my-broadcast-tag")
WithResolution(RenderResolution)
Sets the resolution of the broadcast output.
IBuilderForOptional WithResolution(RenderResolution value)
Parameters
valueRenderResolution
Returns
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
valueStreamMode
Returns
Examples
.WithStreamMode(StreamMode.Manual)