|
Ring Daemon
|
#include <video_input.h>


Additional Inherited Members | |
Protected Member Functions inherited from jami::Observable< std::shared_ptr< MediaFrame > > | |
| void | notify (std::shared_ptr< MediaFrame > data) |
Protected Attributes inherited from jami::Observable< std::shared_ptr< MediaFrame > > | |
| 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 46 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 52 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 70 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 225 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 217 of file video_input.cpp.
|
inline |
Definition at line 60 of file video_input.h.
|
virtual |
Implements jami::video::VideoGenerator.
Definition at line 119 of file video_input.cpp.
References jami::DeviceParams::height.
| MediaStream jami::video::VideoInput::getInfo | ( | ) | const |
Definition at line 719 of file video_input.cpp.
References jami::emitSignal().
Referenced by setRecorderCallback().

|
inline |
Definition at line 55 of file video_input.h.
|
inline |
Definition at line 61 of file video_input.h.
|
virtual |
Implements jami::video::VideoGenerator.
Definition at line 128 of file video_input.cpp.
References jami::emitSignal(), and jami::DeviceParams::format.

|
virtual |
Implements jami::video::VideoGenerator.
Definition at line 110 of file video_input.cpp.
References jami::DeviceParams::width.
| void jami::video::VideoInput::restart | ( | ) |
Restart stopped video input.
Definition at line 648 of file video_input.cpp.
References jami::ThreadLoop::isStopping().

Definition at line 69 of file video_input.h.
References jami::emitSignal().

| void jami::video::VideoInput::setRecorderCallback | ( | const std::function< void(const MediaStream &ms)> & | cb | ) |
Definition at line 265 of file video_input.cpp.
References jami::emitSignal(), and getInfo().

Definition at line 183 of file video_input.cpp.
References jami::emitSignal().

Definition at line 746 of file video_input.cpp.
References jami::Manager::instance().

|
inline |
Definition at line 76 of file video_input.h.
References jami::emitSignal().

Definition at line 752 of file video_input.cpp.
| void jami::video::VideoInput::stopSink | ( | ) |
Definition at line 760 of file video_input.cpp.
References jami::Observable< std::shared_ptr< MediaFrame > >::detach().

Definition at line 767 of file video_input.cpp.
References jami::emitSignal().
