RTPHeaderExtension.getMaxSize

This is used to know how much data a certain header extension will need for both allocating the resulting data, and deciding how much payload data can be generated.

Implementations should return as accurate a value as is possible using the information given in the input buffer.

class RTPHeaderExtension
size_t
getMaxSize

Parameters

inputMeta gst.buffer.Buffer

a #GstBuffer

Return Value

Type: size_t

the maximum size of the data written by this extension