Ring Daemon 16.0.0
|
Used to parse confOrder objects. More...
#include <conference_protocol.h>
Public Member Functions | |
ConfProtocolParser () | |
void | initData (Json::Value &&d, std::string_view peerId) |
Inject in the parser the data to parse. | |
void | onCheckAuthorization (std::function< bool(std::string_view)> &&cb) |
Ask the caller to check if a peer is authorized (moderator of the conference) | |
void | onHangupParticipant (std::function< void(const std::string &, const std::string &)> &&cb) |
void | onKickParticipant (std::function< void(const std::string &)> &&cb) |
void | onMuteParticipant (std::function< void(const std::string &, bool)> &&cb) |
void | onMuteStreamAudio (std::function< void(const std::string &, const std::string &, const std::string &, bool)> &&cb) |
void | onMuteStreamVideo (std::function< void(const std::string &, const std::string &, const std::string &, bool)> &&cb) |
void | onRaiseHand (std::function< void(const std::string &, bool)> &&cb) |
void | onRaiseHandUri (std::function< void(const std::string &, bool)> &&cb) |
void | onSetActiveParticipant (std::function< void(const std::string &)> &&cb) |
void | onSetActiveStream (std::function< void(const std::string &, bool)> &&cb) |
void | onSetLayout (std::function< void(int)> &&cb) |
void | onVersion (std::function< void(uint32_t)> &&cb) |
void | onVoiceActivity (std::function< void(const std::string &, bool)> &&cb) |
void | parse () |
Parse the datas, this will call the methods injected if necessary. | |
Used to parse confOrder objects.
Definition at line 35 of file conference_protocol.h.
|
inline |
Definition at line 38 of file conference_protocol.h.
|
inline |
Inject in the parser the data to parse.
Definition at line 98 of file conference_protocol.h.
References jami::emitSignal().
Referenced by jami::Conference::onConfOrder().
|
inline |
Ask the caller to check if a peer is authorized (moderator of the conference)
Definition at line 44 of file conference_protocol.h.
References jami::emitSignal().
Referenced by jami::Conference::Conference().
|
inline |
Definition at line 49 of file conference_protocol.h.
References jami::emitSignal().
Referenced by jami::Conference::Conference().
|
inline |
Definition at line 74 of file conference_protocol.h.
References jami::emitSignal().
Referenced by jami::Conference::Conference().
|
inline |
Definition at line 82 of file conference_protocol.h.
References jami::emitSignal().
Referenced by jami::Conference::Conference().
|
inline |
Definition at line 61 of file conference_protocol.h.
References jami::emitSignal().
Referenced by jami::Conference::Conference().
|
inline |
Definition at line 66 of file conference_protocol.h.
References jami::emitSignal().
|
inline |
Definition at line 53 of file conference_protocol.h.
References jami::emitSignal().
Referenced by jami::Conference::Conference().
|
inline |
Definition at line 86 of file conference_protocol.h.
References jami::emitSignal().
Referenced by jami::Conference::Conference().
|
inline |
Definition at line 78 of file conference_protocol.h.
References jami::emitSignal().
Referenced by jami::Conference::Conference().
|
inline |
Definition at line 57 of file conference_protocol.h.
References jami::emitSignal().
Referenced by jami::Conference::Conference().
Definition at line 71 of file conference_protocol.h.
References jami::emitSignal().
Referenced by jami::Conference::Conference().
Definition at line 40 of file conference_protocol.h.
References jami::emitSignal().
Referenced by jami::Conference::Conference().
|
inline |
Definition at line 90 of file conference_protocol.h.
References jami::emitSignal().
Referenced by jami::Conference::Conference().
void jami::ConfProtocolParser::parse | ( | ) |
Parse the datas, this will call the methods injected if necessary.
Definition at line 49 of file conference_protocol.cpp.
References jami::emitSignal(), JAMI_WARN, jami::ProtocolKeys::PROTOVERSION, and jami::swarm_protocol::version.
Referenced by jami::Conference::onConfOrder().