10 #ifndef _CpTopologyGraphFactoryImpl_h_ 11 #define _CpTopologyGraphFactoryImpl_h_ 26 class MpResourceTopology;
27 class MpResourceFactory;
28 class MpInputDeviceManager;
29 class MpOutputDeviceManager;
57 uint32_t maxSamplesPerSec,
58 uint32_t defaultDeviceSamplesPerSec,
59 UtlBoolean enableLocalAudio,
60 const UtlString &inputDeviceName,
61 const UtlString &outputDeviceName);
77 const char* localAddress,
79 SdpCodec* sdpCodecArray[],
82 const char* stunServer,
84 int stunKeepAliveSecs,
85 const char* turnServer,
87 const char* turnUserName,
88 const char* turnPassword,
89 int turnKeepAlivePeriodSecs,
91 uint32_t samplesPerSec,
92 OsMsgDispatcher* pDispatcher);
103 virtual OsStatus
enableAGC(UtlBoolean bEnable);
238 #endif // _CpTopologyGraphFactoryImpl_h_ MpResourceFactory * buildDefaultResourceFactory()
Build a resource factory with the default set of resource constructors.
Definition: CpTopologyGraphFactoryImpl.cpp:759
Dispatcher to translate MediaLib notifications into abstracted MediaAdapterLib notifications.
Definition: MaNotfTranslatorDispatcher.h:40
virtual OsStatus getVideoCpuValue(int &cpuValue) const
Definition: CpTopologyGraphFactoryImpl.cpp:1421
Subsystem manager and creator of CpTopologyGraphInterfaces specialization of CpMediaInterface.
Definition: CpTopologyGraphFactoryImpl.h:45
MpOutputDeviceHandle mDefaultToOutputDevice
Definition: CpTopologyGraphFactoryImpl.h:210
static int getMaxInputConnections()
Get number of input connections this topology can support.
Definition: CpTopologyGraphFactoryImpl.cpp:1233
int getNumMcastRtpStreams() const
Return number of RTP streams multicast connection supports.
Definition: CpTopologyGraphFactoryImpl.h:233
MpResourceFactory * mpResourceFactory
Definition: CpTopologyGraphFactoryImpl.h:203
void setDispatcher(OsMsgDispatcher *dispatcher)
Set the dispatcher for flowgraph independent media events/messages.
Definition: CpTopologyGraphFactoryImpl.cpp:1389
virtual ~CpTopologyGraphFactoryImpl()
Destructor.
Definition: CpTopologyGraphFactoryImpl.cpp:362
static int getInputDeviceList(UtlContainer &deviceNames)
Get the list of available input devices.
Definition: CpTopologyGraphFactoryImpl.cpp:1259
MpResourceTopology * buildMulticastConnectionResourceTopology()
Build an incremental resource topology for multicast RTP connections.
Definition: CpTopologyGraphFactoryImpl.cpp:1138
void setInitialResourceTopology(MpResourceTopology &resourceTopology)
Set the resource topology to be used when creating new flowgraph.
Definition: CpTopologyGraphFactoryImpl.cpp:1359
virtual OsStatus enableAGC(UtlBoolean bEnable)
Enable AGC Status.
Definition: CpTopologyGraphFactoryImpl.cpp:727
virtual OsStatus setAudioNoiseReductionMode(const MEDIA_NOISE_REDUCTION_MODE mode)
Enable/Disable Noise Reduction.
Definition: CpTopologyGraphFactoryImpl.cpp:738
virtual OsStatus setAudioAECMode(const MEDIA_AEC_MODE mode)
Enable/Disable echo cancellation.
Definition: CpTopologyGraphFactoryImpl.cpp:670
virtual CpMediaInterface * createMediaInterface(const char *publicAddress, const char *localAddress, int numCodecs, SdpCodec *sdpCodecArray[], const char *locale, int expeditedIpTos, const char *stunServer, int stunOptions, int stunKeepAliveSecs, const char *turnServer, int turnPort, const char *turnUserName, const char *turnPassword, int turnKeepAlivePeriodSecs, UtlBoolean enableIce, uint32_t samplesPerSec, OsMsgDispatcher *pDispatcher)
Factory method to construct new flowgraph and media interface using CpTopologyFlowgraph.
Definition: CpTopologyGraphFactoryImpl.cpp:432
virtual OsStatus getSpeakerDevice(UtlString &device) const
Get the speaker device.
Definition: CpTopologyGraphFactoryImpl.cpp:1245
virtual OsStatus getMicrophoneDevice(UtlString &device) const
Get the microphone device.
Definition: CpTopologyGraphFactoryImpl.cpp:1252
virtual OsStatus setSpeakerDevice(const UtlString &device)
Set the speaker device.
Definition: CpTopologyGraphFactoryImpl.cpp:502
MpMMTimer * mpMediaTaskTicker
Definition: CpTopologyGraphFactoryImpl.h:209
void setConnectionResourceTopology(MpResourceTopology &connectionTopology)
Set the resource topology to be added to the flow graph when adding an unicast RTP connection...
Definition: CpTopologyGraphFactoryImpl.cpp:1379
MpOutputDeviceManager * mpOutputDeviceManager
Definition: CpTopologyGraphFactoryImpl.h:208
void setMcastConnectionResourceTopology(MpResourceTopology &connectionTopology)
Set the resource topology to be added to the flow graph when adding an multicast RTP connection...
Definition: CpTopologyGraphFactoryImpl.cpp:1406
MpInputDeviceManager * mpInputDeviceManager
Definition: CpTopologyGraphFactoryImpl.h:207
MpResourceFactory * getResourceFactory() const
Get the factory for constructing new resources.
Definition: CpTopologyGraphFactoryImpl.cpp:1374
void setResourceFactory(MpResourceFactory &resourceFactory)
Set the factory used to create resources for the new flowgraph contained .
Definition: CpTopologyGraphFactoryImpl.cpp:1369
int mNumMcastStreams
Definition: CpTopologyGraphFactoryImpl.h:212
virtual OsStatus getAudioAECMode(MEDIA_AEC_MODE &mode) const
Return status of echo cancellation.
Definition: CpTopologyGraphFactoryImpl.cpp:696
static void addLocalConnectionTopology(MpResourceTopology *resourceTopology)
Add local input and local output connections to topology.
Definition: CpTopologyGraphFactoryImpl.cpp:1468
CpTopologyGraphFactoryImpl(OsConfigDb *pConfigDb, uint32_t frameSizeMs, uint32_t maxSamplesPerSec, uint32_t defaultDeviceSamplesPerSec, UtlBoolean enableLocalAudio, const UtlString &inputDeviceName, const UtlString &outputDeviceName)
Default constructor.
Definition: CpTopologyGraphFactoryImpl.cpp:192
UtlBoolean mIsLocalAudioEnabled
Definition: CpTopologyGraphFactoryImpl.h:206
static void addOutputConnectionTopology(MpResourceTopology *resourceTopology, int logicalPortNum)
Add RTP output connection to topology.
Definition: CpTopologyGraphFactoryImpl.cpp:1431
MpResourceTopology * mpInitialResourceTopology
Definition: CpTopologyGraphFactoryImpl.h:202
MpInputDeviceHandle mDefaultToInputDevice
Definition: CpTopologyGraphFactoryImpl.h:211
MpResourceTopology * getConnectionResourceTopology() const
Get the resource topology defining what resources get added when adding an unicast RTP connection...
Definition: CpTopologyGraphFactoryImpl.cpp:1384
MaNotfTranslatorDispatcher mTranslatorDispatcher
Definition: CpTopologyGraphFactoryImpl.h:213
MpResourceTopology * getInitialResourceTopology() const
Get the resource topology defining the resources connections for a new flowgraph. ...
Definition: CpTopologyGraphFactoryImpl.cpp:1364
MpInputDeviceManager * getInputDeviceManager() const
Definition: CpTopologyGraphFactoryImpl.cpp:1416
MpResourceTopology * mpConnectionResourceTopology
Definition: CpTopologyGraphFactoryImpl.h:204
static int getOutputDeviceList(UtlContainer &deviceNames)
Get the list of available output devices.
Definition: CpTopologyGraphFactoryImpl.cpp:1309
MpResourceTopology * getMcastConnectionResourceTopology() const
Get the resource topology defining what resources get added when adding an multicast RTP connection...
Definition: CpTopologyGraphFactoryImpl.cpp:1411
static MpResourceTopology * buildDefaultInitialResourceTopology()
Build a default initial resource topology.
Definition: CpTopologyGraphFactoryImpl.cpp:1002
MpResourceTopology * buildUnicastConnectionResourceTopology()
Build an incremental resource topology for unicast RTP connections.
Definition: CpTopologyGraphFactoryImpl.cpp:1058
virtual OsStatus setMicrophoneDevice(const UtlString &device)
Set the Microphone device.
Definition: CpTopologyGraphFactoryImpl.cpp:608
MpResourceTopology * mpMcastConnectionResourceTopology
Definition: CpTopologyGraphFactoryImpl.h:205
CpTopologyGraphFactoryImpl & operator=(const CpTopologyGraphFactoryImpl *refFactoryImpl)
Disabled.