Ring Daemon 16.0.0
Loading...
Searching...
No Matches
jami::video::VideoDeviceImpl Class Reference
Collaboration diagram for jami::video::VideoDeviceImpl:
Collaboration graph

Public Member Functions

std::vector< std::string > getChannelList () const
 
std::vector< std::string > getChannelList () const
 
DeviceParams getDeviceParams () const
 
DeviceParams getDeviceParams () const
 
DeviceParams getDeviceParams () const
 
DeviceParams getDeviceParams () const
 
std::vector< FrameRategetRateList () const
 
std::vector< FrameRategetRateList () const
 
std::vector< FrameRategetRateList (const std::string &channel, VideoSize size) const
 
std::vector< FrameRategetRateList (const std::string &channel, VideoSize size) const
 
std::vector< VideoSizegetSizeList () const
 
std::vector< VideoSizegetSizeList () const
 
std::vector< VideoSizegetSizeList () const
 
std::vector< VideoSizegetSizeList (const std::string &channel) const
 
std::vector< VideoSizegetSizeList (const std::string &channel) const
 
void selectFormat ()
 
void setDeviceParams (const DeviceParams &)
 
void setDeviceParams (const DeviceParams &)
 
void setDeviceParams (const DeviceParams &)
 
void setDeviceParams (const DeviceParams &)
 
 VideoDeviceImpl (const std::string &id)
 
 VideoDeviceImpl (const std::string &id, const std::string &path)
 
 VideoDeviceImpl (const std::string &path)
 
 VideoDeviceImpl (const std::string &path, const std::vector< std::map< std::string, std::string > > &devInfo)
 

Public Attributes

std::string id
 
std::string name
 
std::string path
 
std::string unique_id
 

Detailed Description

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

Constructor & Destructor Documentation

◆ VideoDeviceImpl() [1/4]

jami::video::VideoDeviceImpl::VideoDeviceImpl ( const std::string &  path)
Exceptions
std::runtime_error

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

References jami::emitSignal(), and name.

Here is the call graph for this function:

◆ VideoDeviceImpl() [2/4]

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

Definition at line 98 of file iosvideo/video_device_impl.cpp.

References jami::emitSignal().

Here is the call graph for this function:

◆ VideoDeviceImpl() [3/4]

jami::video::VideoDeviceImpl::VideoDeviceImpl ( const std::string &  id,
const std::string &  path 
)
Exceptions
std::runtime_error

◆ VideoDeviceImpl() [4/4]

jami::video::VideoDeviceImpl::VideoDeviceImpl ( const std::string &  id)
Exceptions
std::runtime_error

Member Function Documentation

◆ getChannelList() [1/2]

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

Definition at line 515 of file v4l2/video_device_impl.cpp.

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

Here is the call graph for this function:

◆ getChannelList() [2/2]

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

◆ getDeviceParams() [1/4]

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

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

References jami::emitSignal(), jami::DeviceParams::format, name, and jami::video::android_fmt::ring_format.

Here is the call graph for this function:

◆ getDeviceParams() [2/4]

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

◆ getDeviceParams() [3/4]

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

◆ getDeviceParams() [4/4]

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

◆ getRateList() [1/4]

std::vector< FrameRate > jami::video::VideoDeviceImpl::getRateList ( ) const

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

◆ getRateList() [2/4]

std::vector< FrameRate > jami::video::VideoDeviceImpl::getRateList ( ) const

◆ getRateList() [3/4]

std::vector< FrameRate > jami::video::VideoDeviceImpl::getRateList ( const std::string &  channel,
VideoSize  size 
) const

Definition at line 327 of file winvideo/video_device_impl.cpp.

References jami::emitSignal().

Here is the call graph for this function:

◆ getRateList() [4/4]

std::vector< FrameRate > jami::video::VideoDeviceImpl::getRateList ( const std::string &  channel,
VideoSize  size 
) const

◆ getSizeList() [1/5]

std::vector< VideoSize > jami::video::VideoDeviceImpl::getSizeList ( ) const

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

◆ getSizeList() [2/5]

std::vector< VideoSize > jami::video::VideoDeviceImpl::getSizeList ( ) const

◆ getSizeList() [3/5]

std::vector< VideoSize > jami::video::VideoDeviceImpl::getSizeList ( ) const

◆ getSizeList() [4/5]

std::vector< VideoSize > jami::video::VideoDeviceImpl::getSizeList ( const std::string &  channel) const

Definition at line 334 of file winvideo/video_device_impl.cpp.

References jami::emitSignal().

Here is the call graph for this function:

◆ getSizeList() [5/5]

std::vector< VideoSize > jami::video::VideoDeviceImpl::getSizeList ( const std::string &  channel) const

◆ selectFormat()

void jami::video::VideoDeviceImpl::selectFormat ( )

◆ setDeviceParams() [1/4]

void jami::video::VideoDeviceImpl::setDeviceParams ( const DeviceParams params)

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

References jami::video::android_fmt::code, jami::emitSignal(), and name.

Here is the call graph for this function:

◆ setDeviceParams() [2/4]

void jami::video::VideoDeviceImpl::setDeviceParams ( const DeviceParams )

◆ setDeviceParams() [3/4]

void jami::video::VideoDeviceImpl::setDeviceParams ( const DeviceParams )

◆ setDeviceParams() [4/4]

void jami::video::VideoDeviceImpl::setDeviceParams ( const DeviceParams )

Member Data Documentation

◆ id

std::string jami::video::VideoDeviceImpl::id

Definition at line 45 of file winvideo/video_device_impl.cpp.

◆ name

std::string jami::video::VideoDeviceImpl::name

◆ path

std::string jami::video::VideoDeviceImpl::path

Definition at line 127 of file v4l2/video_device_impl.cpp.

◆ unique_id

std::string jami::video::VideoDeviceImpl::unique_id

Definition at line 126 of file v4l2/video_device_impl.cpp.

Referenced by getChannelList().


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