|
Yate
|
A RTP transport candidate. More...
#include <yatejingle.h>
Public Member Functions | |
| JGRtpCandidate (const char *id, const char *component="1", unsigned int generation=0, unsigned int net=0, int prio=0) | |
| JGRtpCandidate (XmlElement *xml, const JGRtpCandidates &container) | |
| virtual XmlElement * | toXml (const JGRtpCandidates &container) const |
| void | fromXml (XmlElement *xml, const JGRtpCandidates &container) |
Public Attributes | |
| String | m_address |
| String | m_port |
| String | m_component |
| String | m_generation |
| String | m_network |
| String | m_priority |
| String | m_protocol |
| String | m_type |
A RTP transport candidate.
This class holds a RTP transport candidate
| JGRtpCandidate | ( | const char * | id, |
| const char * | component = "1", |
||
| unsigned int | generation = 0, |
||
| unsigned int | net = 0, |
||
| int | prio = 0 |
||
| ) | [inline] |
Constructor
| JGRtpCandidate | ( | XmlElement * | xml, |
| const JGRtpCandidates & | container | ||
| ) | [inline] |
Constructor. Build a candidate from received data
| xml | Received xml element |
| container | The transport container |
| void fromXml | ( | XmlElement * | xml, |
| const JGRtpCandidates & | container | ||
| ) |
Fill this object from a candidate element using remote address/port
| xml | Received xml element |
| container | The transport container |
Reimplemented in JGRtpCandidateP2P.
| virtual XmlElement* toXml | ( | const JGRtpCandidates & | container | ) | const [virtual] |
Create a 'candidate' element from this object using local address/port
| container | The transport container |
Reimplemented in JGRtpCandidateP2P.
1.7.6.1