![]() |
Media Controller
A GStreamer implementation using the VideoXpert SDK
|
Represents a stream that is currently in the playing state. More...
#include <StreamState.h>
Public Member Functions | |
| virtual | ~PlayingState () |
| Virtual destructor. More... | |
| bool | Play (StreamBase &stream, float speed, unsigned int unixTime) override |
| Perform the Play action based on the stream state. More... | |
| void | Pause (StreamBase &stream) override |
| Perform the Pause action based on the stream state. More... | |
| void | Stop (StreamBase &stream) override |
| Perform the Stop action based on the stream state. More... | |
| bool | GoToLive (StreamBase &stream) override |
| Perform the GoToLive action based on the stream state. More... | |
Public Member Functions inherited from MediaController::StreamState | |
| virtual | ~StreamState () |
| Virtual destructor. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from MediaController::StreamState | |
| StreamState () | |
| Constructor. More... | |
Represents a stream that is currently in the playing state.
Definition at line 55 of file StreamState.h.
Inherits MediaController::StreamState.
|
inlinevirtual |
|
overridevirtual |
Perform the GoToLive action based on the stream state.
| stream | The stream instance. |
Reimplemented from MediaController::StreamState.
Definition at line 38 of file StreamState.cpp.
|
overridevirtual |
Perform the Pause action based on the stream state.
| stream | The stream instance. |
Reimplemented from MediaController::StreamState.
Definition at line 30 of file StreamState.cpp.
|
overridevirtual |
Perform the Play action based on the stream state.
| stream | The stream instance. |
| speed | The playback speed. |
| unixTime | The start time for playback. |
Reimplemented from MediaController::StreamState.
Definition at line 14 of file StreamState.cpp.
|
overridevirtual |
Perform the Stop action based on the stream state.
| stream | The stream instance. |
Reimplemented from MediaController::StreamState.
Definition at line 34 of file StreamState.cpp.