google_youtube_api_v3/youtube/video_file_details_video_stream

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

Types

The amount that YouTube needs to rotate the original source content to properly display the video.

pub type Rotation {
  RotationNone
  RotationClockwise
  RotationUpsideDown
  RotationCounterClockwise
  RotationOther
}

Constructors

  • RotationNone
  • RotationClockwise
  • RotationUpsideDown
  • RotationCounterClockwise
  • RotationOther

Information about a video stream.

pub type VideoFileDetailsVideoStream {
  VideoFileDetailsVideoStream(
    aspect_ratio: option.Option(Float),
    bitrate_bps: option.Option(String),
    codec: option.Option(String),
    frame_rate_fps: option.Option(Float),
    height_pixels: option.Option(Int),
    rotation: option.Option(Rotation),
    vendor: option.Option(String),
    width_pixels: option.Option(Int),
  )
}

Constructors

Values

pub fn rotation_decoder() -> decode.Decoder(Rotation)
pub fn rotation_to_string(value: Rotation) -> String
✨ Search Document