flush
Description:
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 | |
| payload_len |
length of payload |
| timestamp |