MediaBridgePair Class Reference

#include <MediaRelay.h>

Inheritance diagram for MediaBridgePair:

UtlContainable

List of all members.


Detailed Description

A Symmitron Bridge effectively relays a UDP data stream between two endpoints.

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 BridgegetRtpBridge (void) const
const BridgegetRtcpBridge (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

BridgempRtpBridge
 < Class type used for runtime checking
BridgempRtcpBridge


Constructor & Destructor Documentation

MediaBridgePair ( Bridge pRtpBridge,
Bridge pRtcpBridge 
)


Member Function Documentation

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.


Member Data Documentation

const UtlContainableType TYPE = "MediaBridgePair" [static]

Reimplemented from UtlContainable.

Bridge* mpRtpBridge [private]

< Class type used for runtime checking

Bridge* mpRtcpBridge [private]


Online Library Docs

sipXecs home page

Version 4.2.1-018930 2010-07-31T01:50:17 build33 abuild