logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

StaticPayloadFormat - Static payload format objects.

Author

       Generated automatically by Doxygen for ccRTP from the source code.

                                                      ccRTP                               StaticPayloadFormat(3)

Constructor & Destructor Documentation

StaticPayloadFormat::StaticPayloadFormat(StaticPayloadTypetype)
       Constructor. Builds a payload format from a static payload binding identifier, assigning the numeric
       identifier and RTP clock rate statically bounded.

       Parameterstype Numeric identifier in the range 0-96.

       Note
           some identifiers are reserved.

Detailed Description

       Static payload format objects.

       Class of payload formats objects for payload types statically assigned. Because these payloads have an
       RTP clock rate assigned, it is not specified to the constructor. A call to StaticPayloadFormat(sptPCMU)
       will set the proper clock rate and any other parameters for that static payload type.

       Author
           Federico Montesino Pouzols fedemp@altern.orgExamplesaudiorx.cpp, audiotx.cpp, ccrtptest.cpp, rtpduphello.cpp, rtphello.cpp, rtplisten.cpp, and
           rtpsend.cpp.

Name

       StaticPayloadFormat - Static payload format objects.

Synopsis

       #include <formats.h>

       Inherits PayloadFormat.

   PublicMemberFunctionsStaticPayloadFormat (StaticPayloadType type)
           Constructor.

       Public Member Functions inherited from PayloadFormatPayloadTypegetPayloadType () const
           Get payload type numeric identifier carried in RTP packets.
       uint32 getRTPClockRate () const
           Get RTP clock rate for this payload format.

   AdditionalInheritedMembers
       Protected Member Functions inherited from PayloadFormatPayloadFormat ()
           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 Protected Attributes inherited from PayloadFormat
       static const uint32 defaultRTPClockRate

See Also