google_youtube_api_v3/youtube/live_broadcast_content_details
DO NOT CHANGE, THIS IS AN AUTO GENERATED FILE FROM generate.gleam
Types
pub type ClosedCaptionsType {
ClosedCaptionsTypeClosedCaptionsTypeUnspecified
ClosedCaptionsTypeClosedCaptionsDisabled
ClosedCaptionsTypeClosedCaptionsHttpPost
ClosedCaptionsTypeClosedCaptionsEmbedded
}
Constructors
-
ClosedCaptionsTypeClosedCaptionsTypeUnspecified -
ClosedCaptionsTypeClosedCaptionsDisabled -
ClosedCaptionsTypeClosedCaptionsHttpPost -
ClosedCaptionsTypeClosedCaptionsEmbedded
If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted.
pub type LatencyPreference {
LatencyPreferenceLatencyPreferenceUnspecified
LatencyPreferenceNormal
LatencyPreferenceLow
LatencyPreferenceUltraLow
}
Constructors
-
LatencyPreferenceLatencyPreferenceUnspecified -
LatencyPreferenceNormal -
LatencyPreferenceLow -
LatencyPreferenceUltraLow
Detailed settings of a broadcast.
pub type LiveBroadcastContentDetails {
LiveBroadcastContentDetails(
availability_config: option.Option(
availability_config.AvailabilityConfig,
),
bound_stream_id: option.Option(String),
bound_stream_last_update_time_ms: option.Option(String),
closed_captions_type: option.Option(ClosedCaptionsType),
enable_auto_start: option.Option(Bool),
enable_auto_stop: option.Option(Bool),
enable_closed_captions: option.Option(Bool),
enable_content_encryption: option.Option(Bool),
enable_dvr: option.Option(Bool),
enable_embed: option.Option(Bool),
enable_low_latency: option.Option(Bool),
latency_preference: option.Option(LatencyPreference),
mesh: option.Option(String),
monitor_stream: option.Option(
monitor_stream_info.MonitorStreamInfo,
),
projection: option.Option(Projection),
record_from_start: option.Option(Bool),
start_with_slate: option.Option(Bool),
stereo_layout: option.Option(StereoLayout),
)
}
Constructors
-
LiveBroadcastContentDetails( availability_config: option.Option( availability_config.AvailabilityConfig, ), bound_stream_id: option.Option(String), bound_stream_last_update_time_ms: option.Option(String), closed_captions_type: option.Option(ClosedCaptionsType), enable_auto_start: option.Option(Bool), enable_auto_stop: option.Option(Bool), enable_closed_captions: option.Option(Bool), enable_content_encryption: option.Option(Bool), enable_dvr: option.Option(Bool), enable_embed: option.Option(Bool), enable_low_latency: option.Option(Bool), latency_preference: option.Option(LatencyPreference), mesh: option.Option(String), monitor_stream: option.Option( monitor_stream_info.MonitorStreamInfo, ), projection: option.Option(Projection), record_from_start: option.Option(Bool), start_with_slate: option.Option(Bool), stereo_layout: option.Option(StereoLayout), )
The projection format of this broadcast. This defaults to rectangular.
pub type Projection {
ProjectionProjectionUnspecified
ProjectionRectangular
ProjectionValue360
ProjectionMesh
}
Constructors
-
ProjectionProjectionUnspecified -
ProjectionRectangular -
ProjectionValue360 -
ProjectionMesh
The 3D stereo layout of this broadcast. This defaults to mono.
pub type StereoLayout {
StereoLayoutStereoLayoutUnspecified
StereoLayoutMono
StereoLayoutLeftRight
StereoLayoutTopBottom
}
Constructors
-
StereoLayoutStereoLayoutUnspecified -
StereoLayoutMono -
StereoLayoutLeftRight -
StereoLayoutTopBottom
Values
pub fn closed_captions_type_decoder() -> decode.Decoder(
ClosedCaptionsType,
)
pub fn closed_captions_type_to_string(
value: ClosedCaptionsType,
) -> String
pub fn decoder() -> decode.Decoder(LiveBroadcastContentDetails)
pub fn latency_preference_decoder() -> decode.Decoder(
LatencyPreference,
)
pub fn latency_preference_to_string(
value: LatencyPreference,
) -> String
pub fn projection_decoder() -> decode.Decoder(Projection)
pub fn projection_to_string(value: Projection) -> String
pub fn stereo_layout_decoder() -> decode.Decoder(StereoLayout)
pub fn stereo_layout_to_string(value: StereoLayout) -> String
pub fn to_json(value: LiveBroadcastContentDetails) -> json.Json