OPAL  Version 3.18.8
OpalMediaPacketLoss Class Reference

#include <mediacmd.h>

Inheritance diagram for OpalMediaPacketLoss:
Collaboration diagram for OpalMediaPacketLoss:

Public Member Functions

 OpalMediaPacketLoss (unsigned packetLoss, const OpalMediaType &mediaType, unsigned sessionID=0, unsigned ssrc=0)
 
virtual PString GetName () const
 
unsigned GetPacketLoss () const
 
- Public Member Functions inherited from OpalMediaCommand
 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 OpalMediaTypeGetMediaType () const
 
unsigned GetSessionID () const
 
unsigned GetSyncSource () const
 

Protected Attributes

unsigned m_packetLoss
 
- Protected Attributes inherited from OpalMediaCommand
OpalMediaType m_mediaType
 
unsigned m_sessionID
 
unsigned m_ssrc
 

Detailed Description

This indicates the packet loss as percentage over the last arbitrary period.

Constructor & Destructor Documentation

OpalMediaPacketLoss::OpalMediaPacketLoss ( unsigned  packetLoss,
const OpalMediaType mediaType,
unsigned  sessionID = 0,
unsigned  ssrc = 0 
)
Parameters
packetLossPacket loss as percentage
mediaTypeMedia type to search for in open streams
sessionIDSession for media stream, 0 is use first mediaType stream
ssrcSync Source for media stream (if RTP)

Member Function Documentation

virtual PString OpalMediaPacketLoss::GetName ( ) const
virtual

Get the name of the command.

Implements OpalMediaCommand.

unsigned OpalMediaPacketLoss::GetPacketLoss ( ) const
inline

References m_packetLoss.

Field Documentation

unsigned OpalMediaPacketLoss::m_packetLoss
protected

Referenced by GetPacketLoss().


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