|
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) |
| RTP_DataFrame::PayloadTypes | GetPayloadType () const |
| void | SetPayloadType (RTP_DataFrame::PayloadTypes type) |
| const PNotifier & | GetReceiveHandler () const |
| PString | GetTxCapability () const |
| PString | GetRxCapability () const |
| void | SetTxCapability (const PString &codes, bool merge) |
| void | SetRxCapability (const PString &codes) |
Static Public Member Functions |
| static PINDEX | ASCIIToRFC2833 (char tone, bool hasNSE) |
| static char | RFC2833ToASCII (PINDEX rfc2833, bool hasNSE) |
Protected Types |
| | ReceiveIdle |
| | ReceiveActive |
| | ReceiveEnding |
| | TransmitIdle |
| | TransmitActive |
| | TransmitEnding1 |
| | TransmitEnding2 |
| | TransmitEnding3 |
| enum | { ReceiveIdle,
ReceiveActive,
ReceiveEnding
} |
| enum | {
TransmitIdle,
TransmitActive,
TransmitEnding1,
TransmitEnding2,
TransmitEnding3
} |
Protected Member Functions |
| void | SendAsyncFrame () |
| | PDECLARE_NOTIFIER (RTP_DataFrame, OpalRFC2833Proto, ReceivedPacket) |
| | PDECLARE_NOTIFIER (PTimer, OpalRFC2833Proto, ReceiveTimeout) |
| | PDECLARE_NOTIFIER (PTimer, OpalRFC2833Proto, AsyncTimeout) |
Protected Attributes |
| OpalRTPConnection & | m_connection |
| RTP_DataFrame::PayloadTypes | m_payloadType |
| std::vector< bool > | m_txCapabilitySet |
| std::vector< bool > | m_rxCapabilitySet |
| PNotifier | m_receiveNotifier |
| PNotifier | 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 |