Public Member Functions | |
| OpalRFC2833 (const PNotifier &receiveNotifier) | |
| virtual BOOL | SendTone (char tone, unsigned duration) |
| virtual BOOL | BeginTransmit (char tone) |
| virtual BOOL | EndTransmit () |
| 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 |
| const PNotifier & | GetTransmitHandler () const |
Protected Types | |
| enum | { TransmitIdle, TransmitActive, TransmitEnding } |
Protected Attributes | |
| RTP_DataFrame::PayloadTypes | payloadType |
| PMutex | mutex |
| PNotifier | receiveNotifier |
| BOOL | receiveComplete |
| BYTE | receivedTone |
| unsigned | receivedDuration |
| unsigned | receiveTimestamp |
| PTimer | receiveTimer |
| PNotifier | receiveHandler |
| BYTE | transmitCode |
| unsigned | transmitTimestamp |
| PTimer | transmitTimer |
| PNotifier | transmitHandler |
Definition at line 78 of file rfc2833.h.
anonymous enum [protected] |
| BOOL OpalRFC2833::SendTone | ( | char | tone, | |
| unsigned | duration | |||
| ) | [virtual] |
| tone | DTMF tone code |
| duration | Duration of tone in milliseconds |
Definition at line 97 of file rfc2833.cxx.
References BeginTransmit(), and transmitTimer.
Referenced by H323Connection::SendUserInput(), and H323Connection::SendUserInputTone().
| BOOL OpalRFC2833::BeginTransmit | ( | char | tone | ) | [virtual] |
| tone | DTMF tone code |
Definition at line 107 of file rfc2833.cxx.
References mutex, TransmitActive, transmitCode, TransmitIdle, and transmitTimestamp.
Referenced by SendTone().
| void OpalRFC2833::SetPayloadType | ( | RTP_DataFrame::PayloadTypes | type | ) | [inline] |
1.5.2