PayloadFormat(3) | Library Functions Manual | PayloadFormat(3) |
PayloadFormat - Base payload format class.
#include <formats.h>
Inherited by DynamicPayloadFormat, and StaticPayloadFormat.
PayloadType getPayloadType () const
Get payload type numeric identifier carried in RTP packets. uint32
getRTPClockRate () const
Get RTP clock rate for this payload format.
PayloadFormat ()
PayloadFormat must not be used but as base class. virtual
~PayloadFormat ()
PayloadFormat must not be used but as base class. void
setPayloadType (PayloadType pt)
Set payload type numeric identifier carried in RTP packets. void
setRTPClockRate (uint32 rate)
Set RTP clock rate.
static const uint32 defaultRTPClockRate
Base payload format class.
The properties of a payload format that, as an RTP stack, ccRTP takes into account are the payload type (numeric identifier) and the RTP clock rate.
This is a base class for both StaticPayloadFormat and DynamicPayloadFormat.
Author:
PayloadFormat must not be used but as base class.
PayloadFormat must not be used but as base class.
Get payload type numeric identifier carried in RTP packets.
Returns:
Get RTP clock rate for this payload format. Note this method provides the RTP clock rate (for the timestamp in RTP data packets headers), which is not necessarily the same as the codec clock rate.
Returns:
Set payload type numeric identifier carried in RTP packets.
Parameters:
Set RTP clock rate.
Parameters:
Generated automatically by Doxygen for ccRTP from the source code.
Sat Oct 27 2018 | ccRTP |