Ring Daemon 16.0.0
|
#include <video_receive_thread.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 48 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 39 of file video_receive_thread.cpp.
References JAMI_DBG.
jami::video::VideoReceiveThread::~VideoReceiveThread | ( | ) |
Definition at line 58 of file video_receive_thread.cpp.
References JAMI_DBG, and jami::ThreadLoop::join().
void jami::video::VideoReceiveThread::addIOContext | ( | SocketPair & | socketPair | ) |
Definition at line 188 of file video_receive_thread.cpp.
References jami::emitSignal().
void jami::video::VideoReceiveThread::decodeFrame | ( | ) |
Definition at line 206 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 303 of file video_receive_thread.cpp.
MediaStream jami::video::VideoReceiveThread::getInfo | ( | ) | const |
Definition at line 317 of file video_receive_thread.cpp.
Referenced by setRecorderCallback().
|
virtual |
Implements jami::video::VideoGenerator.
Definition at line 309 of file video_receive_thread.cpp.
|
inline |
Definition at line 64 of file video_receive_thread.h.
|
virtual |
Implements jami::video::VideoGenerator.
Definition at line 297 of file video_receive_thread.cpp.
void jami::video::VideoReceiveThread::setRecorderCallback | ( | const std::function< void(const MediaStream &ms)> & | cb | ) |
Definition at line 194 of file video_receive_thread.cpp.
References jami::emitSignal(), and getInfo().
|
inline |
Definition at line 58 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 325 of file video_receive_thread.cpp.
References jami::emitSignal().
|
inline |
Definition at line 79 of file video_receive_thread.h.
References jami::emitSignal().
void jami::video::VideoReceiveThread::startLoop | ( | ) |
Definition at line 65 of file video_receive_thread.cpp.
References JAMI_DBG, and jami::ThreadLoop::start().
void jami::video::VideoReceiveThread::startSink | ( | ) |
Definition at line 285 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 72 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 273 of file video_receive_thread.cpp.
References jami::Observable< std::shared_ptr< MediaFrame > >::detach(), jami::ThreadLoop::isRunning(), and JAMI_DBG.