Ring Daemon 16.0.0
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 (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 46 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 189 of file androidvideo/video_device_impl.cpp.

References name.

◆ ~VideoDevice()

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

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

Member Function Documentation

◆ applySettings()

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

Definition at line 159 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 76 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 210 of file androidvideo/video_device_impl.cpp.

Referenced by getCapabilities(), and getDefaultSettings().

◆ getDefaultSettings()

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

Definition at line 98 of file video_device.h.

References jami::emitSignal(), getChannelList(), getSettings(), JAMI_WARN, 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 59 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 198 of file androidvideo/video_device_impl.cpp.

Referenced by getSettings().

◆ getSettings()

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

Definition at line 139 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 173 of file video_device.h.

Member Data Documentation

◆ name

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

Definition at line 57 of file video_device.h.

Referenced by getSettings(), and VideoDevice().


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