get_max_encode_time


Description:

[ Version ( since = "1.14" ) ]
public ClockTimeDiff get_max_encode_time (CodecFrame frame)

Determines maximum possible encoding time for frame that will allow it to encode and arrive in time (as determined by QoS events).

In particular, a negative result means encoding in time is no longer possible and should therefore occur as soon/skippy as possible.

If no QoS events have been received from downstream, or if qos is disabled this function returns MAX.

Parameters:

this

a Encoder

frame

a CodecFrame

Returns:

max decoding time.