RTPBasePayload.isFilled

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

class RTPBasePayload
bool
isFilled

Parameters

size uint

the size of the packet

duration gst.types.ClockTime

the duration of the packet

Return Value

Type: bool

true if the packet of size and duration would exceed the configured MTU or max_ptime.