RTPBaseAudioPayload.flush

Create an RTP buffer and store payload_len bytes of the adapter as the payload. Set the timestamp on the new buffer to timestamp before pushing the buffer downstream.

If payload_len is -1, all pending bytes will be flushed. If timestamp is -1, the timestamp will be calculated automatically.

class RTPBaseAudioPayload
flush

Parameters

payloadLen uint

length of payload

timestamp gst.types.ClockTime

a #GstClockTime

Return Value

Type: gst.types.FlowReturn

a #GstFlowReturn