#include <MediaRelay.h>

The NAT Traversal feature uses such bridges to relay audio media streams between endpoints that could otherwise not stream to eachother due to the presence of NATs interference. An media stream sent using RTP consists in two streams; an RTP stream that carries the voice and an RTCP stream that carries quality metrics. The MediaBridgePair is a class that encapsulates a pair of bridges, one being use to relay RTP and the other used to relay RTCP.
Public Member Functions | |
| MediaBridgePair (Bridge *pRtpBridge, Bridge *pRtcpBridge) | |
| const Bridge * | getRtpBridge (void) const |
| const Bridge * | getRtcpBridge (void) const |
| virtual UtlContainableType | getContainableType () const |
| virtual unsigned | hash () const |
| virtual int | compareTo (UtlContainable const *) const |
Static Public Attributes | |
| static const UtlContainableType | TYPE = "MediaBridgePair" |
Private Attributes | |
| Bridge * | mpRtpBridge |
| < Class type used for runtime checking | |
| Bridge * | mpRtcpBridge |
| MediaBridgePair | ( | Bridge * | pRtpBridge, | |
| Bridge * | pRtcpBridge | |||
| ) |
| const Bridge * getRtpBridge | ( | void | ) | const |
| const Bridge * getRtcpBridge | ( | void | ) | const |
| UtlContainableType getContainableType | ( | void | ) | const [virtual] |
Implements UtlContainable.
| unsigned hash | ( | ) | const [virtual] |
Implements UtlContainable.
| int compareTo | ( | UtlContainable const * | rhs | ) | const [virtual] |
Implements UtlContainable.
const UtlContainableType TYPE = "MediaBridgePair" [static] |
Reimplemented from UtlContainable.
Bridge* mpRtpBridge [private] |
< Class type used for runtime checking
Bridge* mpRtcpBridge [private] |