|
OPAL
Version 3.14.3
|
#include <mediastrm.h>

Public Member Functions | |
| OpalMediaStreamPacing (const OpalMediaFormat &mediaFormat) | |
| void | Pace (bool reading, PINDEX bytes, bool &marker) |
| Delay appropriate time for the written bytes. More... | |
| bool | UpdateMediaFormat (const OpalMediaFormat &mediaFormat) |
Protected Attributes | |
| bool | m_timeOnMarkers |
| unsigned | m_frameTime |
| PINDEX | m_frameSize |
| unsigned | m_timeUnits |
| PAdaptiveDelay | m_delay |
This is a helper class to delay the right time for non I/O bound streams.
| OpalMediaStreamPacing::OpalMediaStreamPacing | ( | const OpalMediaFormat & | mediaFormat | ) |
| mediaFormat | Media format for stream |
| void OpalMediaStreamPacing::Pace | ( | bool | reading, |
| PINDEX | bytes, | ||
| bool & | marker | ||
| ) |
Delay appropriate time for the written bytes.
| reading | Are reading from medium |
| bytes | Bytes read/written |
| marker | RTP Marker |
| bool OpalMediaStreamPacing::UpdateMediaFormat | ( | const OpalMediaFormat & | mediaFormat | ) |
| mediaFormat | New media format |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |