write
Description:
public virtual ssize_t write (Buffer input_meta, HeaderExtensionFlags write_flags, Buffer output, uint8[] data)
Writes the RTP header extension to data
using information available from the input_meta
.
data
will be sized to be at least the value returned from
get_max_size.
Parameters:
this | |
input_meta |
the input Buffer to read information from if necessary |
write_flags |
HeaderExtensionFlags for how the extension should be written |
output |
output RTP Buffer |
data |
location to write the rtp header extension into |
size |
size of |
Returns:
the size of the data written, < 0 on failure |