34 #ifndef OPAL_OPAL_OPALMIXER_H
35 #define OPAL_OPAL_OPALMIXER_H
47 #include <ptclib/threadpool.h>
58 #define OPAL_OPT_LISTEN_ONLY "Listen-Only"
195 bool pushThread =
true,
237 unsigned minJitterDelay,
238 unsigned maxJitterDelay
314 bool pushThread =
true
390 ,
m_width(PVideoFrameInfo::CIFWidth)
391 ,
m_height(PVideoFrameInfo::CIFHeight)
469 virtual PSafePtr<OpalMixerNode>
AddNode(
481 PSafetyMode mode = PSafeReference
482 )
const {
return PSafePtr<OpalMixerNode>(
m_nodesByUID, mode); }
487 virtual PSafePtr<OpalMixerNode>
FindNode(
488 const PString & name,
489 PSafetyMode mode = PSafeReference
523 const PSafePtr<OpalMixerNode> & node,
525 const PString & value
535 const PSafePtr<OpalMixerNode> & node,
537 const PString & value
628 const PString & party,
629 void * userData = NULL,
630 unsigned options = 0,
650 const PString & token,
651 PSafetyMode mode = PSafeReadWrite
652 ) {
return GetConnectionWithLockAs<OpalMixerConnection>(token, mode); }
658 PSafePtr<OpalMixerNode> node,
673 PSafePtr<OpalMixerNode>
AddNode(
691 PSafetyMode mode = PSafeReference
698 const PString & name,
699 PSafetyMode mode = PSafeReference
770 PSafePtr<OpalMixerNode> node,
774 unsigned options = 0,
848 const PString & value
869 unsigned duration = 0
913 PSafePtr<OpalMixerNode> node,
926 virtual PBoolean
Open();
1065 unsigned minJitterDelay,
1066 unsigned maxJitterDelay
1083 #endif // OPAL_VIDEO
1089 const PString & value
1106 const PString & name
1112 const PString & name
1124 template <
class Sub
class>
1126 PSafetyMode mode = PSafeReference
1132 PSafetyMode mode = PSafeReference
1133 )
const {
return GetFirstConnectionAs<OpalConnection>(mode); }
1180 PSafePtr<OpalMixerMediaStream> & stream,
1182 const short * audioToSubtract
1184 #ifdef OPAL_MIXER_AUDIO_DEBUG
1185 class PAudioMixerDebug * m_audioDebug;
1201 #endif // OPAL_VIDEO
1205 #endif // OPAL_OPAL_OPAL_MIXER