Public Member Functions |
| OpalRFC2833Proto (OpalRTPConnection &conn, const PNotifier &receiveNotifier, const OpalMediaFormat &mediaFormat) |
| ~OpalRFC2833Proto () |
virtual bool | SendToneAsync (char tone, unsigned duration) |
virtual void | OnStartReceive (char tone, unsigned timestamp) |
virtual void | OnStartReceive (char tone) |
virtual void | OnEndReceive (char tone, unsigned duration, unsigned timestamp) |
const RTP_Session::FilterNotifier & | GetReceiveHandler () const |
OpalMediaFormat | GetTxMediaFormat () const |
OpalMediaFormat | GetRxMediaFormat () const |
void | SetTxMediaFormat (const OpalMediaFormat &mediaFormat) |
void | SetRxMediaFormat (const OpalMediaFormat &mediaFormat) |
Static Public Member Functions |
static PINDEX | ASCIIToRFC2833 (char tone, bool hasNSE) |
static char | RFC2833ToASCII (PINDEX rfc2833, bool hasNSE) |
Protected Types |
enum | { ReceiveIdle,
ReceiveActive,
ReceiveEnding
} |
enum | {
TransmitIdle,
TransmitActive,
TransmitEnding1,
TransmitEnding2,
TransmitEnding3
} |
Protected Member Functions |
void | SendAsyncFrame () |
| PDECLARE_RTPFilterNotifier (OpalRFC2833Proto, ReceivedPacket) |
| PDECLARE_NOTIFIER (PTimer, OpalRFC2833Proto, ReceiveTimeout) |
| PDECLARE_NOTIFIER (PTimer, OpalRFC2833Proto, AsyncTimeout) |
Protected Attributes |
OpalRTPConnection & | m_connection |
OpalMediaFormat | m_baseMediaFormat |
RTP_DataFrame::PayloadTypes | m_txPayloadType |
RTP_DataFrame::PayloadTypes | m_rxPayloadType |
OpalRFC2833EventsMask | m_txEvents |
OpalRFC2833EventsMask | m_rxEvents |
PNotifier | m_receiveNotifier |
RTP_Session::FilterNotifier | m_receiveHandler |
enum OpalRFC2833Proto:: { ... } | m_receiveState |
BYTE | m_receivedTone |
unsigned | m_tonesReceived |
PTimer | m_receiveTimer |
DWORD | m_previousReceivedTimestamp |
enum OpalRFC2833Proto:: { ... } | m_transmitState |
RTP_Session * | m_rtpSession |
PTimer | m_asyncTransmitTimer |
PTimer | m_asyncDurationTimer |
DWORD | m_transmitTimestamp |
bool | m_rewriteTransmitTimestamp |
PTimeInterval | m_asyncStart |
BYTE | m_transmitCode |
unsigned | m_transmitDuration |
PMutex | m_mutex |