EMIPLIB
|
An object of this type can be used to synchronize several RTP streams from the same source. More...
#include <miprtpsynchronizer.h>
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). |
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.
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] |