|
Ring Daemon
|
#include <video_rtp_session.h>


Public Types | |
| using | BaseType = RtpSession |
Public Types inherited from jami::RtpSession | |
| enum class | Direction : uint8_t { SEND , RECV } |
Additional Inherited Members | |
Protected Member Functions inherited from jami::RtpSession | |
| std::string | getRemoteRtpUri () const |
Protected Attributes inherited from jami::RtpSession | |
| const std::string | callId_ |
| std::string | input_ {} |
| MediaType | mediaType_ |
| uint16_t | mtu_ |
| std::recursive_mutex | mutex_ |
| std::function< void(MediaType, bool)> | onSuccessfulSetup_ |
| MediaDescription | receive_ |
| std::shared_ptr< MediaRecorder > | recorder_ |
| MediaDescription | send_ |
| std::unique_ptr< SocketPair > | socketPair_ |
| const std::string | streamId_ |
Definition at line 63 of file video_rtp_session.h.
Definition at line 66 of file video_rtp_session.h.
| jami::video::VideoRtpSession::VideoRtpSession | ( | const std::string & | callId, |
| const std::string & | streamId, | ||
| const DeviceParams & | localVideoParams, | ||
| const std::shared_ptr< MediaRecorder > & | rec | ||
| ) |
Definition at line 52 of file video_rtp_session.cpp.
| jami::video::VideoRtpSession::~VideoRtpSession | ( | ) |
Definition at line 70 of file video_rtp_session.cpp.
References deinitRecorder(), JAMI_LOG, and stop().

| void jami::video::VideoRtpSession::bindMixer | ( | VideoMixer * | mixer | ) |
|
overridevirtual |
Implements jami::RtpSession.
Definition at line 837 of file video_rtp_session.cpp.
References jami::emitSignal(), and jami::RtpSession::recorder_.
Referenced by ~VideoRtpSession().

| void jami::video::VideoRtpSession::enterConference | ( | Conference & | conference | ) |
Definition at line 558 of file video_rtp_session.cpp.
References jami::emitSignal(), jami::MediaDescription::enabled, exitConference(), JAMI_DEBUG, jami::RtpSession::mutex_, jami::RtpSession::RECV, restartSender(), and jami::RtpSession::send_.

| void jami::video::VideoRtpSession::exitConference | ( | ) |
Definition at line 579 of file video_rtp_session.cpp.
References jami::emitSignal(), JAMI_DEBUG, jami::RtpSession::mutex_, and jami::RtpSession::streamId_.
Referenced by enterConference().

| void jami::video::VideoRtpSession::forceKeyFrame | ( | ) |
Definition at line 497 of file video_rtp_session.cpp.
References jami::emitSignal(), and jami::RtpSession::mutex_.

| const VideoBitrateInfo & jami::video::VideoRtpSession::getVideoBitrateInfo | ( | ) |
Definition at line 78 of file video_rtp_session.cpp.
|
inline |
Definition at line 105 of file video_rtp_session.h.
|
inline |
Definition at line 107 of file video_rtp_session.h.
|
inline |
Definition at line 109 of file video_rtp_session.h.
|
inline |
Definition at line 103 of file video_rtp_session.h.
|
overridevirtual |
Implements jami::RtpSession.
Definition at line 814 of file video_rtp_session.cpp.
References jami::emitSignal(), jami::MediaDescription::hold, jami::Manager::instance(), jami::RtpSession::recorder_, and jami::RtpSession::send_.

|
overridevirtual |
Implements jami::RtpSession.
Definition at line 219 of file video_rtp_session.cpp.
References jami::emitSignal(), jami::RtpSession::mutex_, jami::RtpSession::SEND, and jami::RtpSession::socketPair_.
Referenced by enterConference(), and setMuted().

Definition at line 858 of file video_rtp_session.cpp.
References jami::emitSignal().

|
overridevirtual |
Implements jami::RtpSession.
Definition at line 447 of file video_rtp_session.cpp.
References jami::emitSignal(), jami::MediaDescription::hold, JAMI_DBG, jami::RtpSession::mutex_, jami::RtpSession::receive_, jami::RtpSession::recorder_, jami::RtpSession::RECV, restartSender(), jami::RtpSession::SEND, and jami::RtpSession::send_.

Definition at line 100 of file video_rtp_session.cpp.
References jami::emitSignal().

Set video orientation.
Send to the receive thread rotation to apply to the video (counterclockwise)
| rotation | Rotation in degrees (counterclockwise) |
Definition at line 510 of file video_rtp_session.cpp.
|
overridevirtual |
Implements jami::RtpSession.
Definition at line 367 of file video_rtp_session.cpp.
References jami::MediaDescription::addr, jami::MediaDescription::crypto, jami::emitSignal(), jami::MediaDescription::enabled, jami::CryptoAttribute::getCryptoSuite(), jami::RtpSession::getRemoteRtpUri(), jami::CryptoAttribute::getSrtpKeyInfo(), jami::MediaDescription::hold, JAMI_ERR, jami::RtpSession::mutex_, jami::RtpSession::receive_, jami::RtpSession::RECV, jami::MediaDescription::rtcp_addr, jami::RtpSession::SEND, jami::RtpSession::send_, jami::RtpSession::socketPair_, and stop().

|
overridevirtual |
Implements jami::RtpSession.
Definition at line 423 of file video_rtp_session.cpp.
References jami::SystemCodecInfo::DEFAULT_CODEC_QUALITY, jami::SystemCodecInfo::DEFAULT_NO_QUALITY, jami::SystemCodecInfo::DEFAULT_VIDEO_BITRATE, jami::ThreadLoop::join(), jami::RtpSession::mutex_, jami::RtpSession::socketPair_, jami::video::VideoBitrateInfo::videoBitrateCurrent, and jami::video::VideoBitrateInfo::videoQualityCurrent.
Referenced by start(), and ~VideoRtpSession().

| void jami::video::VideoRtpSession::unbindMixer | ( | ) |
|
overridevirtual |
Setup internal VideoBitrateInfo structure from media descriptors.
Reimplemented from jami::RtpSession.
Definition at line 86 of file video_rtp_session.cpp.
References jami::MediaDescription::codec, jami::SystemCodecInfo::DEFAULT_MAX_BITRATE, jami::SystemCodecInfo::DEFAULT_VIDEO_BITRATE, jami::emitSignal(), jami::DeviceParams::height, jami::RtpSession::send_, jami::RtpSession::updateMedia(), and jami::DeviceParams::width.
