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

#include <video_device.h>

Collaboration diagram for jami::video::VideoDevice:
Collaboration graph

Public Member Functions

void applySettings (const VideoSettings &settings)
 
libjami::VideoCapabilities getCapabilities () const
 
std::vector< std::string > getChannelList () const
 
VideoSettings getDefaultSettings () const
 
const std::string & getDeviceId () const
 
DeviceParams getDeviceParams () const
 Returns the parameters needed for actual use of the device.
 
VideoSettings getSettings () const
 
void setOrientation (int orientation)
 
 VideoDevice (const std::string &path, const std::vector< std::map< std::string, std::string > > &devInfo)
 
 ~VideoDevice ()
 

Public Attributes

std::string name {}
 

Detailed Description

Definition at line 45 of file video_device.h.

Constructor & Destructor Documentation

◆ VideoDevice()

jami::video::VideoDevice::VideoDevice ( const std::string &  path,
const std::vector< std::map< std::string, std::string > > &  devInfo 
)

Definition at line 185 of file androidvideo/video_device_impl.cpp.

References name.

◆ ~VideoDevice()

jami::video::VideoDevice::~VideoDevice ( )

Definition at line 222 of file androidvideo/video_device_impl.cpp.

Member Function Documentation

◆ applySettings()

void jami::video::VideoDevice::applySettings ( const VideoSettings settings)
inline

Definition at line 154 of file video_device.h.

References jami::emitSignal(), and jami::DeviceParams::name.

Here is the call graph for this function:

◆ getCapabilities()

libjami::VideoCapabilities jami::video::VideoDevice::getCapabilities ( ) const
inline

Definition at line 74 of file video_device.h.

References jami::emitSignal(), and getChannelList().

Here is the call graph for this function:

◆ getChannelList()

std::vector< std::string > jami::video::VideoDevice::getChannelList ( ) const

Definition at line 205 of file androidvideo/video_device_impl.cpp.

Referenced by getCapabilities(), and getDefaultSettings().

◆ getDefaultSettings()

VideoSettings jami::video::VideoDevice::getDefaultSettings ( ) const
inline

Definition at line 96 of file video_device.h.

References jami::emitSignal(), getChannelList(), getSettings(), JAMI_WARNING, name, and jami::to_string().

Here is the call graph for this function:

◆ getDeviceId()

const std::string & jami::video::VideoDevice::getDeviceId ( ) const
inline

Definition at line 57 of file video_device.h.

◆ getDeviceParams()

DeviceParams jami::video::VideoDevice::getDeviceParams ( ) const

Returns the parameters needed for actual use of the device.

Definition at line 193 of file androidvideo/video_device_impl.cpp.

Referenced by getSettings().

◆ getSettings()

VideoSettings jami::video::VideoDevice::getSettings ( ) const
inline

Definition at line 134 of file video_device.h.

References jami::emitSignal(), getDeviceParams(), jami::video::VideoSettings::name, name, and jami::to_string().

Referenced by getDefaultSettings().

Here is the call graph for this function:

◆ setOrientation()

void jami::video::VideoDevice::setOrientation ( int  orientation)
inline

Definition at line 168 of file video_device.h.

Member Data Documentation

◆ name

std::string jami::video::VideoDevice::name {}

Definition at line 55 of file video_device.h.

Referenced by getDefaultSettings(), getSettings(), and VideoDevice().


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