RTPHeaderExtension.getMaxSize

size_t getMaxSize(gst.buffer.Buffer inputMeta)

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.

Parameters

inputMetaa #GstBuffer

Returns

the maximum size of the data written by this extension