Media Controller
A GStreamer implementation using the VideoXpert SDK
MediaController Namespace Reference

Contains classes used to create and manage media streams. More...

Namespaces

 Constants
 
 MjpegPull
 Contains classes that manage MJPEG pull streams.
 
 Rtsp
 Contains classes that manage RTSP streams.
 
 Utilities
 Provides commonly used methods.
 

Classes

class  Controller
 Implements the IController interface methods. More...
 
struct  GstVars
 Variables required for GStreamer. More...
 
class  GstWrapper
 Manages the GStreamer instance. More...
 
class  IController
 Defines the controller interface. More...
 
class  IStream
 Defines the stream interface. More...
 
struct  MediaRequest
 Contains the information needed to start a new media stream. More...
 
class  PausedState
 Represents a stream that is currently in the paused state. More...
 
class  PlayingState
 Represents a stream that is currently in the playing state. More...
 
class  StoppedState
 Represents a stream that is currently in the stopped state. More...
 
class  StreamBase
 The base class for the different stream types. More...
 
class  StreamFactory
 Handles the creation of new stream objects. More...
 
class  StreamState
 Provides an interface for managing calls to the stream based on its current state. More...
 
struct  TimestampEvent
 Represents an event that has been sent from a stream. More...
 

Typedefs

typedef void(* TimestampEventCallback) (TimestampEvent *)
 The timestamp event callback function pointer. More...
 

Functions

void GetController (MediaRequest *request, IController **control)
 Create a new media controller object. More...
 

Detailed Description

Contains classes used to create and manage media streams.

Typedef Documentation

typedef void(* MediaController::TimestampEventCallback) (TimestampEvent *)

The timestamp event callback function pointer.

A TimestampEvent.

Definition at line 13 of file IController.h.

Function Documentation

EXTERN_C RTSPAPI void MediaController::GetController ( MediaRequest request,
IController **  control 
)

Create a new media controller object.

Parameters
requestThe requested media to initialize.
controlThe new media controller object.

Definition at line 19 of file Controller.cpp.

19  {
20  *control = nullptr;
21  if (!request) return;
22  *control = new Controller(*request);
23  }
Implements the IController interface methods.
Definition: Controller.h:14