Ring Daemon 16.0.0
Loading...
Searching...
No Matches
jami::video::VideoDeviceMonitor Class Reference

#include <video_device_monitor.h>

Inheritance diagram for jami::video::VideoDeviceMonitor:
Inheritance graph
Collaboration diagram for jami::video::VideoDeviceMonitor:
Collaboration graph

Public Member Functions

bool addDevice (const std::string &node, const std::vector< std::map< std::string, std::string > > &devInfo={})
 
void applySettings (const std::string &name, const VideoSettings &settings)
 
libjami::VideoCapabilities getCapabilities (const std::string &name) const
 
std::string getDefaultDevice () const
 
std::vector< std::string > getDeviceList () const
 
DeviceParams getDeviceParams (const std::string &name) const
 Params for libav.
 
std::string getMRLForDefaultDevice () const
 
VideoSettings getSettings (const std::string &name)
 
void removeDevice (const std::string &node)
 
void removeDeviceViaInput (const std::string &path)
 
void serialize (YAML::Emitter &out) const override
 
bool setDefaultDevice (const std::string &name)
 
void setDeviceOrientation (const std::string &id, int angle)
 
virtual void unserialize (const YAML::Node &in) override
 
 VideoDeviceMonitor ()
 
 ~VideoDeviceMonitor ()
 
- Public Member Functions inherited from jami::Serializable
virtual ~Serializable ()
 

Detailed Description

Definition at line 40 of file video_device_monitor.h.

Constructor & Destructor Documentation

◆ VideoDeviceMonitor()

jami::video::VideoDeviceMonitor::VideoDeviceMonitor ( )

Definition at line 69 of file androidvideo/video_device_monitor_impl.cpp.

◆ ~VideoDeviceMonitor()

jami::video::VideoDeviceMonitor::~VideoDeviceMonitor ( )

Definition at line 75 of file androidvideo/video_device_monitor_impl.cpp.

Member Function Documentation

◆ addDevice()

bool jami::video::VideoDeviceMonitor::addDevice ( const std::string &  node,
const std::vector< std::map< std::string, std::string > > &  devInfo = {} 
)

Definition at line 186 of file video_device_monitor.cpp.

References jami::video::DEVICE_DESKTOP, jami::emitSignal(), jami::video::giveUniqueName(), JAMI_ERR, and jami::video::notify().

Here is the call graph for this function:

◆ applySettings()

void jami::video::VideoDeviceMonitor::applySettings ( const std::string &  name,
const VideoSettings settings 
)

Definition at line 81 of file video_device_monitor.cpp.

References jami::emitSignal().

Here is the call graph for this function:

◆ getCapabilities()

libjami::VideoCapabilities jami::video::VideoDeviceMonitor::getCapabilities ( const std::string &  name) const

Definition at line 58 of file video_device_monitor.cpp.

References jami::emitSignal().

Here is the call graph for this function:

◆ getDefaultDevice()

string jami::video::VideoDeviceMonitor::getDefaultDevice ( ) const

Definition at line 96 of file video_device_monitor.cpp.

References jami::video::DEVICE_DESKTOP, and jami::emitSignal().

Here is the call graph for this function:

◆ getDeviceList()

vector< string > jami::video::VideoDeviceMonitor::getDeviceList ( ) const

Definition at line 45 of file video_device_monitor.cpp.

References jami::video::DEVICE_DESKTOP, and jami::emitSignal().

Here is the call graph for this function:

◆ getDeviceParams()

DeviceParams jami::video::VideoDeviceMonitor::getDeviceParams ( const std::string &  name) const

Params for libav.

Definition at line 153 of file video_device_monitor.cpp.

References jami::emitSignal().

Here is the call graph for this function:

◆ getMRLForDefaultDevice()

std::string jami::video::VideoDeviceMonitor::getMRLForDefaultDevice ( ) const

◆ getSettings()

VideoSettings jami::video::VideoDeviceMonitor::getSettings ( const std::string &  name)

Definition at line 69 of file video_device_monitor.cpp.

References jami::emitSignal().

Here is the call graph for this function:

◆ removeDevice()

void jami::video::VideoDeviceMonitor::removeDevice ( const std::string &  node)

Definition at line 225 of file video_device_monitor.cpp.

References jami::video::DEVICE_DESKTOP, jami::emitSignal(), and jami::video::notify().

Here is the call graph for this function:

◆ removeDeviceViaInput()

void jami::video::VideoDeviceMonitor::removeDeviceViaInput ( const std::string &  path)

◆ serialize()

void jami::video::VideoDeviceMonitor::serialize ( YAML::Emitter &  out) const
overridevirtual

Implements jami::Serializable.

Definition at line 283 of file video_device_monitor.cpp.

References jami::emitSignal().

Here is the call graph for this function:

◆ setDefaultDevice()

bool jami::video::VideoDeviceMonitor::setDefaultDevice ( const std::string &  name)

Definition at line 117 of file video_device_monitor.cpp.

References jami::emitSignal().

Here is the call graph for this function:

◆ setDeviceOrientation()

void jami::video::VideoDeviceMonitor::setDeviceOrientation ( const std::string &  id,
int  angle 
)

Definition at line 141 of file video_device_monitor.cpp.

References jami::emitSignal(), and JAMI_WARN.

Here is the call graph for this function:

◆ unserialize()

void jami::video::VideoDeviceMonitor::unserialize ( const YAML::Node &  in)
overridevirtual

Implements jami::Serializable.

Definition at line 290 of file video_device_monitor.cpp.

References jami::video::DEVICE_DESKTOP, and jami::emitSignal().

Here is the call graph for this function:

The documentation for this class was generated from the following files: