MediaOperationshandler wraps the IController instance and some associated properties for streaming.
More...
#include <MediaOperationshandler.h>
MediaOperationshandler wraps the IController instance and some associated properties for streaming.
Definition at line 12 of file MediaOperationshandler.h.
CppSamples::LiveStreaming::MediaOperationshandler::~MediaOperationshandler |
( |
| ) |
|
|
inline |
void CppSamples::LiveStreaming::MediaOperationshandler::DecreaseSpeed |
( |
| ) |
|
|
protected |
Decrease speed and play with new speed.
Definition at line 35 of file MediaOperationshandler.cpp.
42 cout <<
"Speed decreased to " <<
_speed;
44 cout <<
"\nFailed to decrease speed.";
bool CppSamples::LiveStreaming::MediaOperationshandler::DoOperation |
( |
char |
keyCode | ) |
|
Do media operation for given character.
- Parameters
-
keyCode | Character code represent a command. |
Definition at line 8 of file MediaOperationshandler.cpp.
void CppSamples::LiveStreaming::MediaOperationshandler::GoToLive |
( |
| ) |
const |
|
protected |
void CppSamples::LiveStreaming::MediaOperationshandler::IncreaseSpeed |
( |
| ) |
|
|
protected |
Increase speed and play with new speed.
Definition at line 54 of file MediaOperationshandler.cpp.
61 cout <<
"Speed increased to " <<
_speed;
63 cout <<
"\nFailed to increase speed.";
void CppSamples::LiveStreaming::MediaOperationshandler::PauseOrPlay |
( |
| ) |
|
|
protected |
Toggle between pause and play options.
Definition at line 68 of file MediaOperationshandler.cpp.
71 cout <<
"\n" <<
"Pausing the stream.\n";
77 cout <<
"\nResuming the stream.\n";
bool CppSamples::LiveStreaming::MediaOperationshandler::_isPlaying |
|
private |
float CppSamples::LiveStreaming::MediaOperationshandler::_speed |
|
private |
The documentation for this class was generated from the following files: