videoEventNewUpstreamForceKeyUnit

Creates a new upstream force key unit event. An upstream force key unit event can be sent to request upstream elements to produce a key unit.

running_time can be set to request a new key unit at a specific running_time. If set to GST_CLOCK_TIME_NONE, upstream elements will produce a new key unit as soon as possible.

To parse an event created by gstvideo.global.videoEventNewDownstreamForceKeyUnit use gstvideo.global.videoEventParseDownstreamForceKeyUnit.

videoEventNewUpstreamForceKeyUnit

Parameters

runningTime gst.types.ClockTime

the running_time at which a new key unit should be produced

allHeaders bool

true to produce headers when starting a new key unit

count uint

integer that can be used to number key units

Return Value

Type: gst.event.Event

The new GstEvent