OPAL Version 3.10.4

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- Data Structures
- Class Hierarchy
- Data Fields

Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
OpalRFC2833Proto Class Reference

`#include <rfc2833.h>`

## 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

## Member Enumeration Documentation

anonymous enum

protected

Enumerator:

  ReceiveIdle |
  ReceiveActive |
  ReceiveEnding |

anonymous enum

protected

Enumerator:

  TransmitIdle |
  TransmitActive |
  TransmitEnding1 |
  TransmitEnding2 |
  TransmitEnding3 |

## Constructor & Destructor Documentation

OpalRFC2833Proto::OpalRFC2833Proto | ( | OpalRTPConnection & | conn,
|  | const PNotifier & | receiveNotifier,
|  | const OpalMediaFormat & | mediaFormat
| ) |  |

OpalRFC2833Proto::~OpalRFC2833Proto | ( |  | ) |

## Member Function Documentation

static PINDEX OpalRFC2833Proto::ASCIIToRFC2833 | ( | char | tone,
|  | bool | hasNSE
| ) |  |

static

const RTP_Session::FilterNotifier& OpalRFC2833Proto::GetReceiveHandler | ( |  | ) | const

inline

References m_receiveHandler.

OpalMediaFormat OpalRFC2833Proto::GetRxMediaFormat | ( |  | ) | const

OpalMediaFormat OpalRFC2833Proto::GetTxMediaFormat | ( |  | ) | const

virtual void OpalRFC2833Proto::OnEndReceive | ( | char | tone,
|  | unsigned | duration,
|  | unsigned | timestamp
| ) |  |

virtual

virtual void OpalRFC2833Proto::OnStartReceive | ( | char | tone,
|  | unsigned | timestamp
| ) |  |

virtual

virtual void OpalRFC2833Proto::OnStartReceive | ( | char | tone | ) |

virtual

OpalRFC2833Proto::PDECLARE_NOTIFIER | ( | PTimer | ,
|  | OpalRFC2833Proto | ,
|  | ReceiveTimeout |
| ) |  |

protected

OpalRFC2833Proto::PDECLARE_NOTIFIER | ( | PTimer | ,
|  | OpalRFC2833Proto | ,
|  | AsyncTimeout |
| ) |  |

protected

OpalRFC2833Proto::PDECLARE_RTPFilterNotifier | ( | OpalRFC2833Proto | ,
|  | ReceivedPacket |
| ) |  |

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::SetRxMediaFormat | ( | const OpalMediaFormat & | mediaFormat | ) |

void OpalRFC2833Proto::SetTxMediaFormat | ( | const OpalMediaFormat & | mediaFormat | ) |

## Field Documentation

PTimer OpalRFC2833Proto::m_asyncDurationTimer

protected

PTimeInterval OpalRFC2833Proto::m_asyncStart

protected

PTimer OpalRFC2833Proto::m_asyncTransmitTimer

protected

OpalMediaFormat OpalRFC2833Proto::m_baseMediaFormat

protected

OpalRTPConnection& OpalRFC2833Proto::m_connection

protected

PMutex OpalRFC2833Proto::m_mutex

protected

DWORD OpalRFC2833Proto::m_previousReceivedTimestamp

protected

BYTE OpalRFC2833Proto::m_receivedTone

protected

RTP_Session::FilterNotifier OpalRFC2833Proto::m_receiveHandler

protected

Referenced by GetReceiveHandler().

PNotifier OpalRFC2833Proto::m_receiveNotifier

protected

enum { ... } OpalRFC2833Proto::m_receiveState

PTimer OpalRFC2833Proto::m_receiveTimer

protected

bool OpalRFC2833Proto::m_rewriteTransmitTimestamp

protected

RTP_Session* OpalRFC2833Proto::m_rtpSession

protected

OpalRFC2833EventsMask OpalRFC2833Proto::m_rxEvents

protected

RTP_DataFrame::PayloadTypes OpalRFC2833Proto::m_rxPayloadType

protected

unsigned OpalRFC2833Proto::m_tonesReceived

protected

BYTE OpalRFC2833Proto::m_transmitCode

protected

unsigned OpalRFC2833Proto::m_transmitDuration

protected

enum { ... } OpalRFC2833Proto::m_transmitState

DWORD OpalRFC2833Proto::m_transmitTimestamp

protected

OpalRFC2833EventsMask OpalRFC2833Proto::m_txEvents

protected

RTP_DataFrame::PayloadTypes OpalRFC2833Proto::m_txPayloadType

protected

The documentation for this class was generated from the following file:

- rfc2833.h