Ring Daemon 16.0.0
|
#include <video_input.h>
Additional Inherited Members | |
![]() | |
void | notify (std::shared_ptr< MediaFrame > data) |
![]() | |
std::mutex | mutex_ |
std::set< Observer< std::shared_ptr< MediaFrame > > * > | observers_ |
std::list< std::weak_ptr< Observer< std::shared_ptr< MediaFrame > > > > | priority_observers_ |
Definition at line 50 of file video_input.h.
jami::video::VideoInput::VideoInput | ( | VideoInputMode | inputMode = VideoInputMode::Undefined , |
const std::string & | resource = "local" , |
||
const std::string & | sink = "" |
||
) |
Definition at line 54 of file video_input.cpp.
References jami::emitSignal(), jami::Manager::instance(), jami::video::ManagedByClient, jami::video::ManagedByDaemon, and jami::video::Undefined.
jami::video::VideoInput::~VideoInput | ( | ) |
Definition at line 72 of file video_input.cpp.
References jami::emitSignal(), jami::DeviceParams::input, and jami::ThreadLoop::join().
void jami::video::VideoInput::configureFilePlayback | ( | const std::string & | path, |
std::shared_ptr< MediaDemuxer > & | demuxer, | ||
int | index | ||
) |
Definition at line 228 of file video_input.cpp.
References jami::emitSignal(), jami::DeviceParams::framerate, jami::DeviceParams::height, JAMI_WARN, jami::MEDIA_VIDEO, jami::DeviceParams::pixel_format, jami::video::VideoGenerator::publishFrame(), jami::ThreadLoop::start(), and jami::DeviceParams::width.
void jami::video::VideoInput::flushBuffers | ( | ) |
Definition at line 220 of file video_input.cpp.
|
inline |
Definition at line 64 of file video_input.h.
|
virtual |
Implements jami::video::VideoGenerator.
Definition at line 121 of file video_input.cpp.
References jami::DeviceParams::height.
MediaStream jami::video::VideoInput::getInfo | ( | ) | const |
Definition at line 728 of file video_input.cpp.
References jami::emitSignal().
Referenced by setRecorderCallback().
|
inline |
Definition at line 59 of file video_input.h.
|
inline |
Definition at line 67 of file video_input.h.
|
virtual |
Implements jami::video::VideoGenerator.
Definition at line 130 of file video_input.cpp.
References jami::emitSignal(), and jami::DeviceParams::format.
|
virtual |
Implements jami::video::VideoGenerator.
Definition at line 112 of file video_input.cpp.
References jami::DeviceParams::width.
void jami::video::VideoInput::restart | ( | ) |
Restart stopped video input.
Definition at line 657 of file video_input.cpp.
References jami::ThreadLoop::isStopping().
Definition at line 79 of file video_input.h.
References jami::emitSignal().
void jami::video::VideoInput::setRecorderCallback | ( | const std::function< void(const MediaStream &ms)> & | cb | ) |
Definition at line 274 of file video_input.cpp.
References jami::emitSignal(), and getInfo().
Definition at line 186 of file video_input.cpp.
References jami::emitSignal().
Definition at line 755 of file video_input.cpp.
References jami::Manager::instance().
|
inline |
Definition at line 86 of file video_input.h.
References jami::emitSignal().
Definition at line 761 of file video_input.cpp.
void jami::video::VideoInput::stopSink | ( | ) |
Definition at line 769 of file video_input.cpp.
References jami::Observable< std::shared_ptr< MediaFrame > >::detach().
Definition at line 776 of file video_input.cpp.
References jami::emitSignal().