|
Ring Daemon
|
#include <video_receive_thread.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 47 of file video_receive_thread.h.
| jami::video::VideoReceiveThread::VideoReceiveThread | ( | const std::string & | id, |
| bool | useSink, | ||
| const std::string & | sdp, | ||
| uint16_t | mtu | ||
| ) |
Definition at line 36 of file video_receive_thread.cpp.
References JAMI_DBG.
| jami::video::VideoReceiveThread::~VideoReceiveThread | ( | ) |
Definition at line 52 of file video_receive_thread.cpp.
References JAMI_DBG, and jami::ThreadLoop::join().

| void jami::video::VideoReceiveThread::addIOContext | ( | SocketPair & | socketPair | ) |
Definition at line 182 of file video_receive_thread.cpp.
References jami::emitSignal().

| void jami::video::VideoReceiveThread::decodeFrame | ( | ) |
Definition at line 199 of file video_receive_thread.cpp.
References jami::emitSignal(), jami::MediaDemuxer::EndOfFile, jami::MediaDemuxer::FallBack, jami::MediaDemuxer::getStatusStr(), jami::ThreadLoop::isRunning(), JAMI_ERROR, JAMI_LOG, jami::MediaDemuxer::ReadError, and jami::ThreadLoop::stop().

|
virtual |
Implements jami::video::VideoGenerator.
Definition at line 294 of file video_receive_thread.cpp.
| MediaStream jami::video::VideoReceiveThread::getInfo | ( | ) | const |
Definition at line 308 of file video_receive_thread.cpp.
Referenced by setRecorderCallback().
|
virtual |
Implements jami::video::VideoGenerator.
Definition at line 300 of file video_receive_thread.cpp.
|
inline |
Definition at line 60 of file video_receive_thread.h.
|
virtual |
Implements jami::video::VideoGenerator.
Definition at line 288 of file video_receive_thread.cpp.
| void jami::video::VideoReceiveThread::setRecorderCallback | ( | const std::function< void(const MediaStream &ms)> & | cb | ) |
Definition at line 188 of file video_receive_thread.cpp.
References jami::emitSignal(), and getInfo().

|
inline |
Definition at line 57 of file video_receive_thread.h.
References jami::emitSignal().

Set angle of rotation to apply to the video by the decoder.
| angle | Angle of rotation in degrees (counterclockwise) |
Definition at line 316 of file video_receive_thread.cpp.
References jami::emitSignal().

|
inline |
Definition at line 75 of file video_receive_thread.h.
References jami::emitSignal().

| void jami::video::VideoReceiveThread::startLoop | ( | ) |
Definition at line 59 of file video_receive_thread.cpp.
References JAMI_DBG, and jami::ThreadLoop::start().

| void jami::video::VideoReceiveThread::startSink | ( | ) |
Definition at line 276 of file video_receive_thread.cpp.
References jami::Observable< std::shared_ptr< MediaFrame > >::attach(), jami::emitSignal(), jami::ThreadLoop::isRunning(), and JAMI_DBG.

| void jami::video::VideoReceiveThread::stopLoop | ( | ) |
Definition at line 66 of file video_receive_thread.cpp.
References jami::ThreadLoop::isStopping(), JAMI_DBG, jami::ThreadLoop::join(), and jami::ThreadLoop::stop().

| void jami::video::VideoReceiveThread::stopSink | ( | ) |
Definition at line 264 of file video_receive_thread.cpp.
References jami::Observable< std::shared_ptr< MediaFrame > >::detach(), jami::ThreadLoop::isRunning(), and JAMI_DBG.
