RTPBasePayload.isFilled

bool isFilled(uint size, gst.types.ClockTime duration)

Check if the packet with size and duration would exceed the configured maximum size.

Parameters

sizethe size of the packet
durationthe duration of the packet

Returns

true if the packet of size and duration would exceed the

configured MTU or max_ptime.