![]() |
Media Controller
A GStreamer implementation using the VideoXpert SDK
|
Provides an interface for managing calls to the stream based on its current state. More...
#include <StreamState.h>
Public Member Functions | |
virtual | ~StreamState () |
Virtual destructor. More... | |
virtual bool | Play (StreamBase &stream, float speed, unsigned int unixTime) |
Perform the Play action based on the stream state. More... | |
virtual void | Pause (StreamBase &stream) |
Perform the Pause action based on the stream state. More... | |
virtual void | Stop (StreamBase &stream) |
Perform the Stop action based on the stream state. More... | |
virtual bool | GoToLive (StreamBase &stream) |
Perform the GoToLive action based on the stream state. More... | |
Protected Member Functions | |
StreamState () | |
Constructor. More... | |
Provides an interface for managing calls to the stream based on its current state.
Definition at line 11 of file StreamState.h.
Inherited by MediaController::PausedState, MediaController::PlayingState, and MediaController::StoppedState.
|
inlinevirtual |
|
inlineprotected |
|
inlinevirtual |
Perform the GoToLive action based on the stream state.
stream | The stream instance. |
Reimplemented in MediaController::StoppedState, MediaController::PausedState, and MediaController::PlayingState.
Definition at line 43 of file StreamState.h.
|
inlinevirtual |
Perform the Pause action based on the stream state.
stream | The stream instance. |
Reimplemented in MediaController::PlayingState.
Definition at line 31 of file StreamState.h.
|
inlinevirtual |
Perform the Play action based on the stream state.
stream | The stream instance. |
speed | The playback speed. |
unixTime | The start time for playback. |
Reimplemented in MediaController::StoppedState, MediaController::PausedState, and MediaController::PlayingState.
Definition at line 25 of file StreamState.h.
|
inlinevirtual |
Perform the Stop action based on the stream state.
stream | The stream instance. |
Reimplemented in MediaController::PausedState, and MediaController::PlayingState.
Definition at line 37 of file StreamState.h.