Function

GstVideo-1.0GstVideovideo_event_new_downstream_force_key_unit

  • Creates a new downstream force key unit event. A downstream force key unit event can be sent down the pipeline to request downstream elements to produce a key unit. A downstream force key unit event must also be sent when handling an upstream force key unit event to notify downstream that the latter has been handled.

    To parse an event created by gst_video_event_new_downstream_force_key_unit() use gst_video_event_parse_downstream_force_key_unit().

    Parameters

    • timestamp: number

      the timestamp of the buffer that starts a new key unit

    • stream_time: number

      the stream_time of the buffer that starts a new key unit

    • running_time: number

      the running_time of the buffer that starts a new key unit

    • all_headers: boolean

      true to produce headers when starting a new key unit

    • count: number

      integer that can be used to number key units

    Returns Gst.Event

    The new GstEvent