RTPBaseAudioPayload.flush

gst.types.FlowReturn flush(uint payloadLen, gst.types.ClockTime timestamp)

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.

Parameters

payloadLenlength of payload
timestampa #GstClockTime

Returns

a #GstFlowReturn