OpalPassiveMediaPatch Class Reference

#include <patch.h>

Inheritance diagram for OpalPassiveMediaPatch:

OpalMediaPatch List of all members.

Public Member Functions

 OpalPassiveMediaPatch (OpalMediaStream &source)
virtual void Start ()
virtual PBoolean PushFrame (RTP_DataFrame &frame)

Detailed Description

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.


Constructor & Destructor Documentation

OpalPassiveMediaPatch::OpalPassiveMediaPatch ( OpalMediaStream source  ) 

Parameters:
source  Source media stream


Member Function Documentation

virtual void OpalPassiveMediaPatch::Start (  )  [virtual]

Start the patch. The default implementation simply starts the patch thread, which in turn calls Main()

Reimplemented from OpalMediaPatch.

virtual PBoolean OpalPassiveMediaPatch::PushFrame ( RTP_DataFrame frame  )  [virtual]

Reimplemented from OpalMediaPatch.


The documentation for this class was generated from the following file:
Generated on Mon Sep 15 11:49:40 2008 for OPAL by  doxygen 1.5.1