JGRtpCandidates Class Reference
A list of RTP transport candidates.
More...
#include <yatejingle.h>
List of all members.
Detailed Description
A list of RTP transport candidates.
This class holds a list of jingle RTP transport candidates
Member Enumeration Documentation
Enumeration of transport types
Constructor & Destructor Documentation
Constructor. Fill this object from an XML element
- Parameters:
-
Member Function Documentation
Find a candidate by its component value
- Parameters:
-
| component | The value to search |
- Returns:
- JGRtpCandidate pointer or 0
Fill this object from a given element
- Parameters:
-
void generateIceAuth |
( |
|
) |
[inline] |
Fill password and ufrag data
static void generateIceToken |
( |
String & |
dest, |
|
|
bool |
pwd, |
|
|
unsigned int |
max = 0 | |
|
) |
| | [static] |
Generate a random password or username to be used with ICE-UDP transport
- Parameters:
-
| dest | Destination string |
| pwd | True to generate a password, false to generate an username (ufrag) |
| max | Maximum number of characters. The maxmimum value is 256. The minimum value is 22 for password and 4 for username |
void generateOldIceAuth |
( |
|
) |
[inline] |
Fill password and ufrag data using old transport restrictions (16 bytes length)
static void generateOldIceToken |
( |
String & |
dest |
) |
[static] |
Generate a random password or username to be used with old ICE-UDP transport
- Parameters:
-
XMLElement* toXML |
( |
bool |
addCandidates, |
|
|
bool |
addAuth | |
|
) |
| | const |
Create a 'transport' element from this object. Add candidates
- Parameters:
-
| addCandidates | True to add the candidate children |
| addAuth | RtpIceUdp only: add auth data |
- Returns:
- Valid XMLElement pointer
static const char* typeName |
( |
int |
t, |
|
|
const char * |
defVal = "unknown" | |
|
) |
| | [inline, static] |
Get the name associated with a list's type
- Parameters:
-
| t | The desired type |
| defVal | Default value to return |
- Returns:
- The name associated with a list's type
References TelEngine::lookup().
const char* typeName |
( |
|
) |
const [inline] |
Member Data Documentation
The documentation for this class was generated from the following file: