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) | |
| 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 |
References JGRtpCandidate::fromXml().
| 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 |
Referenced by JGRtpCandidate::JGRtpCandidate().
| XMLElement* toXml | ( | const JGRtpCandidates & | container | ) | const |
Create a 'candidate' element from this object using local address/port
| container | The transport container |
1.6.3