Ring Daemon 16.0.0
|
#include <media_player.h>
Public Member Functions | |
const std::string & | getId () const |
int64_t | getPlayerDuration () const |
int64_t | getPlayerPosition () const |
bool | isInputValid () |
bool | isPaused () const |
MediaPlayer (const std::string &resource) | |
void | muteAudio (bool mute) |
void | pause (bool pause) |
bool | seekToTime (int64_t time) |
void | setAutoRestart (bool state) |
~MediaPlayer () | |
Definition at line 27 of file media_player.h.
jami::MediaPlayer::MediaPlayer | ( | const std::string & | resource | ) |
Definition at line 28 of file media_player.cpp.
jami::MediaPlayer::~MediaPlayer | ( | ) |
Definition at line 53 of file media_player.cpp.
References jami::emitSignal(), jami::ThreadLoop::join(), and pause().
const std::string & jami::MediaPlayer::getId | ( | ) | const |
Definition at line 299 of file media_player.cpp.
int64_t jami::MediaPlayer::getPlayerDuration | ( | ) | const |
Definition at line 314 of file media_player.cpp.
int64_t jami::MediaPlayer::getPlayerPosition | ( | ) | const |
Definition at line 305 of file media_player.cpp.
References jami::emitSignal().
bool jami::MediaPlayer::isInputValid | ( | ) |
Definition at line 187 of file media_player.cpp.
bool jami::MediaPlayer::isPaused | ( | ) | const |
Definition at line 320 of file media_player.cpp.
Definition at line 193 of file media_player.cpp.
References jami::emitSignal().
Definition at line 201 of file media_player.cpp.
References jami::emitSignal(), and pause().
Referenced by pause(), and ~MediaPlayer().
Definition at line 226 of file media_player.cpp.
References jami::MediaDemuxer::Demuxing, and jami::emitSignal().
Definition at line 41 of file media_player.h.