#include <patch.h>
Public Member Functions | |
OpalPassiveMediaPatch (OpalMediaStream &source) | |
virtual void | Start () |
virtual PBoolean | PushFrame (RTP_DataFrame &frame) |
Passive Media Patch In contrast to the 'default' media patch does this instance not run it's own thread. Instead, the source stream may push data to the sinks whenever needed. Useful for implementations where the source is not a continuous data stream (e.g. H.224/H.281 FECC, where data is sent on user input) or the source stream is driven by an external thread loop.
OpalPassiveMediaPatch::OpalPassiveMediaPatch | ( | OpalMediaStream & | source | ) |
source | Source media stream |
virtual PBoolean OpalPassiveMediaPatch::PushFrame | ( | RTP_DataFrame & | frame | ) | [virtual] |
Reimplemented from OpalMediaPatch.
virtual void OpalPassiveMediaPatch::Start | ( | ) | [virtual] |
Start the patch. The default implementation simply starts the patch thread, which in turn calls Main()
Reimplemented from OpalMediaPatch.