![]() |
Media Controller
A GStreamer implementation using the VideoXpert SDK
|
Defines the controller interface. More...
#include <IController.h>
Public Member Functions | |
| virtual | ~IController () |
| Virtual destructor. More... | |
| virtual void | SetWindow (void *handle)=0 |
| Set the display window using the given window handle. More... | |
| virtual void | AddObserver (TimestampEventCallback observer)=0 |
| Add a new subscriber to timestamp events. More... | |
| virtual void | AddEventData (void *customData)=0 |
| Add event data to be send back during timestamp events. More... | |
| virtual void | RemoveObserver (TimestampEventCallback observer)=0 |
| Remove an existing timestamp event subscriber. More... | |
| virtual void | ClearObservers ()=0 |
| Remove all existing timestamp event subscribers. More... | |
| virtual bool | IsPipelineActive ()=0 |
| Get the status of the pipeline. More... | |
Public Member Functions inherited from MediaController::IStream | |
| virtual | ~IStream () |
| Virtual destructor. More... | |
| virtual bool | Play (float speed=0, unsigned int unixTime=0)=0 |
| Call Play on the stream. More... | |
| virtual void | PlayStream (float speed, unsigned int unixTime)=0 |
| virtual void | Pause ()=0 |
| Call Pause on the stream. More... | |
| virtual void | Stop ()=0 |
| Call TearDown on the stream. More... | |
| virtual bool | GoToLive ()=0 |
| Set the stream to Live and call Play. More... | |
| virtual void | NewRequest (MediaRequest &request)=0 |
| Set the stream to a new source. More... | |
| virtual Mode | GetMode ()=0 |
| Get the current playback mode. More... | |
Additional Inherited Members | |
Public Types inherited from MediaController::IStream | |
| enum | Mode { kStopped, kLive, kPlayback } |
| Values that represent the different playback modes. More... | |
Defines the controller interface.
Definition at line 18 of file IController.h.
Inherits MediaController::IStream.
Inherited by MediaController::Controller.
|
inlinevirtual |
|
pure virtual |
Add event data to be send back during timestamp events.
| customData | Custom data pointer. |
Implemented in MediaController::Controller.
|
pure virtual |
Add a new subscriber to timestamp events.
| observer | The TimestampEventCallback event handler. |
Implemented in MediaController::Controller.
|
pure virtual |
Remove all existing timestamp event subscribers.
Implemented in MediaController::Controller.
|
pure virtual |
Get the status of the pipeline.
Implemented in MediaController::Controller.
|
pure virtual |
Remove an existing timestamp event subscriber.
| observer | The TimestampEventCallback event handler. |
Implemented in MediaController::Controller.
|
pure virtual |
Set the display window using the given window handle.
| handle | The window handle of the display. |
Implemented in MediaController::Controller.