EMIPLIB
Public Member Functions

MIPRTPSynchronizer Class Reference

An object of this type can be used to synchronize several RTP streams from the same source. More...

#include <miprtpsynchronizer.h>

Inheritance diagram for MIPRTPSynchronizer:
Inheritance graph
[legend]
Collaboration diagram for MIPRTPSynchronizer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void lock ()
 Locks the MIPRTPSynchronizer instance.
void unlock ()
 Unlocks the MIPRTPSynchronizer instance.
void clear ()
 Resets the MIPRTPSynchronizer instance to its original state.
void setTolerance (MIPTime t)
 Sets the maximum amount of de-synchronization which may exist between streams of the same source (default: 100 milliseconds).

Detailed Description

Using this object, you can synchronize several RTP streams of the same source. To do this, you simply have to pass a MIPRTPSynchronizer instance as an argument to the MIPRTPDecoder::init function of a MIPRTPDecoder derived class. Based upon the RTCP CNAME information, streams will be grouped and synchronized.


Member Function Documentation

void MIPRTPSynchronizer::clear ( )
void MIPRTPSynchronizer::lock ( ) [inline]

This function locks the MIPRTPSynchronizer instance. This function is useful since the object can be accessed from different chains, each having their own background thread.

void MIPRTPSynchronizer::unlock ( ) [inline]

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