OPAL
Version 3.18.8
|
#include <mediacmd.h>
Public Member Functions | |
OpalMediaPacketLoss (unsigned packetLoss, const OpalMediaType &mediaType, unsigned sessionID=0, unsigned ssrc=0) | |
virtual PString | GetName () const |
unsigned | GetPacketLoss () const |
![]() | |
OpalMediaCommand (const OpalMediaType &mediaType, unsigned sessionID=0, unsigned ssrc=0) | |
virtual void | PrintOn (ostream &strm) const |
virtual Comparison | Compare (const PObject &obj) const |
virtual PObject * | Clone () const =0 |
virtual void * | GetPlugInData () const |
virtual unsigned * | GetPlugInSize () const |
const OpalMediaType & | GetMediaType () const |
unsigned | GetSessionID () const |
unsigned | GetSyncSource () const |
Protected Attributes | |
unsigned | m_packetLoss |
![]() | |
OpalMediaType | m_mediaType |
unsigned | m_sessionID |
unsigned | m_ssrc |
This indicates the packet loss as percentage over the last arbitrary period.
OpalMediaPacketLoss::OpalMediaPacketLoss | ( | unsigned | packetLoss, |
const OpalMediaType & | mediaType, | ||
unsigned | sessionID = 0 , |
||
unsigned | ssrc = 0 |
||
) |
packetLoss | Packet loss as percentage |
mediaType | Media type to search for in open streams |
sessionID | Session for media stream, 0 is use first mediaType stream |
ssrc | Sync Source for media stream (if RTP) |
|
virtual |
Get the name of the command.
Implements OpalMediaCommand.
|
inline |
References m_packetLoss.
|
protected |
Referenced by GetPacketLoss().