Ring Daemon 16.0.0
|
#include <localrecordermanager.h>
Public Member Functions | |
LocalRecorder * | getRecorderByPath (const std::string &path) |
Get local recorder instance with passed path as key. | |
bool | hasRunningRecorders () |
Return true if the manager owns at least one currently running local recorder. | |
void | insertRecorder (const std::string &path, std::unique_ptr< LocalRecorder > rec) |
Insert passed local recorder into the map. | |
void | removeRecorderByPath (const std::string &path) |
Remove given local recorder instance from the map. | |
Static Public Member Functions | |
static LocalRecorderManager & | instance () |
Definition at line 24 of file localrecordermanager.h.
LocalRecorder * jami::LocalRecorderManager::getRecorderByPath | ( | const std::string & | path | ) |
Get local recorder instance with passed path as key.
Definition at line 53 of file localrecordermanager.cpp.
References jami::emitSignal().
Referenced by libjami::stopLocalRecorder().
bool jami::LocalRecorderManager::hasRunningRecorders | ( | ) |
Return true if the manager owns at least one currently running local recorder.
Definition at line 60 of file localrecordermanager.cpp.
References jami::emitSignal().
void jami::LocalRecorderManager::insertRecorder | ( | const std::string & | path, |
std::unique_ptr< LocalRecorder > | rec | ||
) |
Insert passed local recorder into the map.
Path is used as key.
Definition at line 37 of file localrecordermanager.cpp.
References jami::emitSignal().
|
static |
Definition at line 23 of file localrecordermanager.cpp.
References instance().
Referenced by instance(), libjami::startLocalMediaRecorder(), and libjami::stopLocalRecorder().
Remove given local recorder instance from the map.
Definition at line 30 of file localrecordermanager.cpp.
Referenced by libjami::stopLocalRecorder().