OpalRFC2833Proto Class Reference
#include <rfc2833.h>
List of all members.
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) |
| 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 |
| 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 |
Member Enumeration Documentation
anonymous enum [protected] |
- Enumerator:
| ReceiveIdle |
|
| ReceiveActive |
|
| ReceiveEnding |
|
anonymous enum [protected] |
- Enumerator:
| TransmitIdle |
|
| TransmitActive |
|
| TransmitEnding1 |
|
| TransmitEnding2 |
|
| TransmitEnding3 |
|
Constructor & Destructor Documentation
| OpalRFC2833Proto::~OpalRFC2833Proto |
( |
|
) |
|
Member Function Documentation
| static PINDEX OpalRFC2833Proto::ASCIIToRFC2833 |
( |
char |
tone, |
|
|
bool |
hasNSE | |
|
) |
| | [static] |
| const PNotifier& OpalRFC2833Proto::GetReceiveHandler |
( |
|
) |
const [inline] |
| PString OpalRFC2833Proto::GetRxCapability |
( |
|
) |
const |
| PString OpalRFC2833Proto::GetTxCapability |
( |
|
) |
const |
| virtual void OpalRFC2833Proto::OnEndReceive |
( |
char |
tone, |
|
|
unsigned |
duration, |
|
|
unsigned |
timestamp | |
|
) |
| | [virtual] |
| virtual void OpalRFC2833Proto::OnStartReceive |
( |
char |
tone |
) |
[virtual] |
| virtual void OpalRFC2833Proto::OnStartReceive |
( |
char |
tone, |
|
|
unsigned |
timestamp | |
|
) |
| | [virtual] |
| OpalRFC2833Proto::PDECLARE_NOTIFIER |
( |
PTimer |
, |
|
|
OpalRFC2833Proto |
, |
|
|
AsyncTimeout |
| |
|
) |
| | [protected] |
| OpalRFC2833Proto::PDECLARE_NOTIFIER |
( |
PTimer |
, |
|
|
OpalRFC2833Proto |
, |
|
|
ReceiveTimeout |
| |
|
) |
| | [protected] |
| static char OpalRFC2833Proto::RFC2833ToASCII |
( |
PINDEX |
rfc2833, |
|
|
bool |
hasNSE | |
|
) |
| | [static] |
| void OpalRFC2833Proto::SendAsyncFrame |
( |
|
) |
[protected] |
| virtual bool OpalRFC2833Proto::SendToneAsync |
( |
char |
tone, |
|
|
unsigned |
duration | |
|
) |
| | [virtual] |
| void OpalRFC2833Proto::SetRxCapability |
( |
const PString & |
codes |
) |
|
| void OpalRFC2833Proto::SetTxCapability |
( |
const PString & |
codes |
) |
|
Member Data Documentation
The documentation for this class was generated from the following file: