google_youtube_api_v3/youtube/cdn_settings

DO NOT CHANGE, THIS IS AN AUTO GENERATED FILE FROM generate.gleam

Types

Brief description of the live stream cdn settings.

pub type CdnSettings {
  CdnSettings(
    format: option.Option(String),
    frame_rate: option.Option(FrameRate),
    ingestion_info: option.Option(ingestion_info.IngestionInfo),
    ingestion_type: option.Option(IngestionType),
    resolution: option.Option(Resolution),
  )
}

Constructors

The frame rate of the inbound video data.

pub type FrameRate {
  FrameRateValue30fps
  FrameRateValue60fps
  FrameRateVariable
}

Constructors

  • FrameRateValue30fps
  • FrameRateValue60fps
  • FrameRateVariable

The method or protocol used to transmit the video stream.

pub type IngestionType {
  IngestionTypeRtmp
  IngestionTypeDash
  IngestionTypeWebrtc
  IngestionTypeHls
}

Constructors

  • IngestionTypeRtmp
  • IngestionTypeDash
  • IngestionTypeWebrtc
  • IngestionTypeHls

The resolution of the inbound video data.

pub type Resolution {
  ResolutionValue240p
  ResolutionValue360p
  ResolutionValue480p
  ResolutionValue720p
  ResolutionValue1080p
  ResolutionValue1440p
  ResolutionValue2160p
  ResolutionVariable
}

Constructors

  • ResolutionValue240p
  • ResolutionValue360p
  • ResolutionValue480p
  • ResolutionValue720p
  • ResolutionValue1080p
  • ResolutionValue1440p
  • ResolutionValue2160p
  • ResolutionVariable

Values

pub fn frame_rate_decoder() -> decode.Decoder(FrameRate)
pub fn frame_rate_to_string(value: FrameRate) -> String
pub fn ingestion_type_to_string(value: IngestionType) -> String
pub fn resolution_decoder() -> decode.Decoder(Resolution)
pub fn resolution_to_string(value: Resolution) -> String
pub fn to_json(value: CdnSettings) -> json.Json
✨ Search Document