google_youtube_api_v3/youtube/cuepoint

Types

pub type CueType {
  CueTypeCueTypeUnspecified
  CueTypeCueTypeAd
}

Constructors

  • CueTypeCueTypeUnspecified
  • CueTypeCueTypeAd

Note that there may be a 5-second end-point resolution issue. For instance, if a cuepoint comes in for 22:03:27, we may stuff the cuepoint into 22:03:25 or 22:03:30, depending. This is an artifact of HLS.

pub type Cuepoint {
  Cuepoint(
    cue_type: option.Option(CueType),
    duration_secs: option.Option(Int),
    etag: option.Option(String),
    id: option.Option(String),
    insertion_offset_time_ms: option.Option(String),
    walltime_ms: option.Option(String),
  )
}

Constructors

Schedule to insert cuepoints into a broadcast by ads automator.

pub type CuepointSchedule {
  CuepointSchedule(
    enabled: option.Option(Bool),
    pause_ads_until: option.Option(String),
    repeat_interval_secs: option.Option(Int),
    schedule_strategy: option.Option(ScheduleStrategy),
  )
}

Constructors

The strategy to use when scheduling cuepoints.

pub type ScheduleStrategy {
  ScheduleStrategyScheduleStrategyUnspecified
  ScheduleStrategyConcurrent
  ScheduleStrategyNonConcurrent
}

Constructors

  • ScheduleStrategyScheduleStrategyUnspecified
  • ScheduleStrategyConcurrent
  • ScheduleStrategyNonConcurrent

Values

pub fn cue_type_decoder() -> decode.Decoder(CueType)
pub fn cue_type_to_string(value: CueType) -> String
pub fn cuepoint_decoder() -> decode.Decoder(Cuepoint)
pub fn cuepoint_schedule_decoder() -> decode.Decoder(
  CuepointSchedule,
)
pub fn cuepoint_schedule_to_json(
  value: CuepointSchedule,
) -> json.Json
pub fn cuepoint_to_json(value: Cuepoint) -> json.Json
pub fn schedule_strategy_decoder() -> decode.Decoder(
  ScheduleStrategy,
)
pub fn schedule_strategy_to_string(
  value: ScheduleStrategy,
) -> String
✨ Search Document