flush


Description:

public FlowReturn flush (uint payload_len, 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:

this

a BasePayload

payload_len

length of payload

timestamp

a ClockTime

Returns:

a FlowReturn