videoEventNewUpstreamForceKeyUnit

fngst.event.Event videoEventNewUpstreamForceKeyUnit(gst.types.ClockTime runningTime, bool allHeaders, uint count)

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].

Parameters

runningTimethe running_time at which a new key unit should be produced
allHeaderstrue to produce headers when starting a new key unit
countinteger that can be used to number key units

Returns

The new GstEvent