Ring Daemon 16.0.0
Loading...
Searching...
No Matches
jami::video::VideoSender Class Reference

#include <video_sender.h>

Inheritance diagram for jami::video::VideoSender:
Inheritance graph
Collaboration diagram for jami::video::VideoSender:
Collaboration graph

Public Member Functions

void forceKeyFrame ()
 
uint16_t getLastSeqValue ()
 
int setBitrate (uint64_t br)
 
void setChangeOrientationCallback (std::function< void(int)> cb)
 
void update (Observable< std::shared_ptr< MediaFrame > > *obs, const std::shared_ptr< MediaFrame > &frame_p) override
 
 VideoSender (const std::string &dest, const MediaStream &opts, const MediaDescription &args, SocketPair &socketPair, const uint16_t seqVal, uint16_t mtu, bool allowHwAccel=true)
 
 ~VideoSender ()
 
- Public Member Functions inherited from jami::Observer< std::shared_ptr< MediaFrame > >
virtual void attached (Observable< std::shared_ptr< MediaFrame > > *)
 
virtual void detached (Observable< std::shared_ptr< MediaFrame > > *)
 
virtual ~Observer ()
 

Detailed Description

Definition at line 37 of file video_sender.h.

Constructor & Destructor Documentation

◆ VideoSender()

jami::video::VideoSender::VideoSender ( const std::string &  dest,
const MediaStream opts,
const MediaDescription args,
SocketPair socketPair,
const uint16_t  seqVal,
uint16_t  mtu,
bool  allowHwAccel = true 
)

Definition at line 38 of file video_sender.cpp.

References jami::emitSignal(), and jami::Manager::instance().

Here is the call graph for this function:

◆ ~VideoSender()

jami::video::VideoSender::~VideoSender ( )
inline

Definition at line 48 of file video_sender.h.

Member Function Documentation

◆ forceKeyFrame()

void jami::video::VideoSender::forceKeyFrame ( )

Definition at line 97 of file video_sender.cpp.

References JAMI_DBG.

◆ getLastSeqValue()

uint16_t jami::video::VideoSender::getLastSeqValue ( )

Definition at line 104 of file video_sender.cpp.

◆ setBitrate()

int jami::video::VideoSender::setBitrate ( uint64_t  br)

Definition at line 116 of file video_sender.cpp.

References jami::emitSignal().

Here is the call graph for this function:

◆ setChangeOrientationCallback()

void jami::video::VideoSender::setChangeOrientationCallback ( std::function< void(int)>  cb)

Definition at line 110 of file video_sender.cpp.

References jami::emitSignal().

Here is the call graph for this function:

◆ update()

void jami::video::VideoSender::update ( Observable< std::shared_ptr< MediaFrame > > *  obs,
const std::shared_ptr< MediaFrame > &  frame_p 
)
overridevirtual

Implements jami::Observer< std::shared_ptr< MediaFrame > >.

Definition at line 90 of file video_sender.cpp.

References jami::emitSignal().

Here is the call graph for this function:

The documentation for this class was generated from the following files: