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

RTPApplication - An RTP application, holding identifying RTCP SDES item values.

Author

       Generated automatically by Doxygen for ccRTP from the source code.

                                                      ccRTP                                    RTPApplication(3)

Constructor & Destructor Documentation

RTPApplication::RTPApplication(conststd::string&cname)
       Create a new RTP application. If the CNAME string provided has zero length, it is guessed from the user
       and machine name.

       Parameterscname Local participant canonical name.

   RTPApplication::~RTPApplication()

Detailed Description

       An RTP application, holding identifying RTCP SDES item values.

       Represents local participants.

       An application in the context of RTP: an entity that has a CNAME (unique identifier in the form of
       user@host.domain) as well as other RTCP SDES items (such as NAME or TOOL), and may open a number of RTP
       sessions. Each application is a different source of synchronization (with a potentially diferent SSRC
       identifier) in each RTP session it participates. All the sources of synchronization from a participant
       are tied together by means of the CNAME.

       The definition of this class allows applications based on ccRTP to implement several 'RTP applications'
       in the same process. Each object of this class represents a local participant.

       Author
           Federico Montesino Pouzols fedemp@altern.orgExamplesccrtptest.cpp.

Member Function Documentation

ParticipantsIteratorRTPApplication::begin()[inline]Examplesccrtptest.cpp.

   ParticipantsIteratorRTPApplication::end()[inline]Examplesccrtptest.cpp.

   constParticipant*RTPApplication::getParticipant(conststd::string&cname)constconststd::string&RTPApplication::getPRIVPrefix()const[inline]conststd::string&RTPApplication::getSDESItem(SDESItemTypeitem)const[inline]voidRTPApplication::setPRIVPrefix(conststd::string&val)[inline]voidRTPApplication::setSDESItem(SDESItemTypeitem,conststd::string&val)[inline]Examplesccrtptest.cpp, rtplisten.cpp, and rtpsend.cpp.

Name

       RTPApplication - An RTP application, holding identifying RTCP SDES item values.

Synopsis

       #include <sources.h>

       Inherits SDESItemsHolder.

   Classes
       class ParticipantsIterator
           Iterator through the list of participants in this session.

   PublicMemberFunctionsRTPApplication (const std::string &cname)
           Create a new RTP application.
       ~RTPApplication ()
       void setSDESItem (SDESItemType item, const std::string &val)
       void setPRIVPrefix (const std::string &val)
       const std::string & getSDESItem (SDESItemType item) const
       const std::string & getPRIVPrefix () const
       ParticipantsIteratorbegin ()
       ParticipantsIteratorend ()
       const Participant * getParticipant (const std::string &cname) const

   Friends
       class ApplicationHandler

See Also