OPAL
Version 3.12.9
|
#include <opalmixer.h>
Public Member Functions | |
VideoMixer (const OpalMixerNodeInfo &info) | |
~VideoMixer () | |
virtual bool | OnMixed (RTP_DataFrame *&output) |
![]() | |
OpalVideoMixer (Styles style, unsigned width, unsigned height, unsigned rate=15, bool pushThread=true) | |
~OpalVideoMixer () | |
unsigned | GetFrameWidth () const |
unsigned | GetFrameHeight () const |
unsigned | GetFrameRate () const |
bool | SetFrameRate (unsigned rate) |
bool | SetFrameSize (unsigned width, unsigned height) |
![]() | |
OpalBaseMixer (bool pushThread, unsigned periodMS, unsigned periodTS) | |
virtual | ~OpalBaseMixer () |
virtual bool | AddStream (const Key_T &key) |
virtual void | RemoveStream (const Key_T &key) |
virtual void | RemoveAllStreams () |
virtual bool | WriteStream (const Key_T &key, const RTP_DataFrame &input) |
virtual RTP_DataFrame * | ReadMixed () |
virtual bool | ReadMixed (RTP_DataFrame &mixed) |
void | StartPushThread () |
void | StopPushThread (bool lock=true) |
unsigned | GetPeriodTS () const |
![]() | |
MediaMixer () | |
void | CloseOne (const PSafePtr< OpalMixerMediaStream > &stream) |
Data Fields | |
PDictionary< PString, OpalTranscoder > | m_transcoders |
![]() | |
PSafeList< OpalMixerMediaStream > | m_outputStreams |
Additional Inherited Members | |
![]() | |
enum | Styles { eSideBySideLetterbox, eSideBySideScaled, eStackedPillarbox, eStackedScaled, eGrid } |
![]() | |
typedef std::map< Key_T, Stream * > | StreamMap_T |
![]() | |
virtual Stream * | CreateStream () |
virtual bool | MixStreams (RTP_DataFrame &frame) |
virtual size_t | GetOutputSize () const |
![]() | |
Styles | m_style |
unsigned | m_width |
unsigned | m_height |
BYTE | m_bgFillRed |
BYTE | m_bgFillGreen |
BYTE | m_bgFillBlue |
PBYTEArray | m_frameStore |
size_t | m_lastStreamCount |
OpalMixerNode::VideoMixer::VideoMixer | ( | const OpalMixerNodeInfo & | info | ) |
OpalMixerNode::VideoMixer::~VideoMixer | ( | ) |
|
virtual |
Mixed data is now available. For a push model system, this is called with mixed data as returned by ReadMixed().
The "mixed" parameter is a reference to a pointer, so if the consumer wishes to take responsibility for deleting the pointer to an RTP data frame, then they can set it to NULL.
If false is returned then the push thread is exited.
Reimplemented from OpalBaseMixer.
PDictionary<PString, OpalTranscoder> OpalMixerNode::VideoMixer::m_transcoders |