API documentation  2.0rc1
Public Member Functions | List of all members
client::MediaSource Class Reference

#include <clientlib.h>

Inherits client::EventTarget.

Public Member Functions

SourceBufferListget_activeSourceBuffers ()
 
double get_duration ()
 
void set_duration (double)
 
Stringget_readyState ()
 
SourceBufferListget_sourceBuffers ()
 
SourceBufferaddSourceBuffer (const String &type)
 
void endOfStream ()
 
void endOfStream (double error)
 
void removeSourceBuffer (SourceBuffer *sourceBuffer)
 
MediaSourceget_prototype ()
 
void set_prototype (MediaSource *)
 
 MediaSource ()
 
- Public Member Functions inherited from client::EventTarget
void addEventListener (const String &type, EventListener *listener)
 
void addEventListener (const String &type, EventListener *listener, bool options)
 
void addEventListener (const String &type, EventListener *listener, AddEventListenerOptions *options)
 
void addEventListener (const String &type, EventListenerObject *listener)
 
void addEventListener (const String &type, EventListenerObject *listener, AddEventListenerOptions *options)
 
bool dispatchEvent (Event *evt)
 
void removeEventListener (const String &type)
 
void removeEventListener (const String &type, EventListener *listener)
 
void removeEventListener (const String &type, EventListener *listener, EventListenerOptions *options)
 
void removeEventListener (const String &type, EventListener *listener, bool options)
 
void removeEventListener (const String &type, EventListenerObject *listener)
 
void removeEventListener (const String &type, EventListenerObject *listener, bool options)
 
EventTargetget_prototype ()
 
void set_prototype (EventTarget *)
 
 EventTarget ()
 
- Public Member Functions inherited from client::Object
 Object ()
 
template<typename T >
valueOf ()
 
 operator double () const
 
Objectoperator[] (const client::String &name) const
 
void set_ (const client::String &name, Object *v)
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
void set_ (const client::String &name, T v)
 
bool hasOwnProperty (const client::String &name)
 

Constructor & Destructor Documentation

◆ MediaSource()

client::MediaSource::MediaSource ( )

Member Function Documentation

◆ addSourceBuffer()

SourceBuffer* client::MediaSource::addSourceBuffer ( const String type)

◆ endOfStream() [1/2]

void client::MediaSource::endOfStream ( )

◆ endOfStream() [2/2]

void client::MediaSource::endOfStream ( double  error)

◆ get_activeSourceBuffers()

SourceBufferList* client::MediaSource::get_activeSourceBuffers ( )

◆ get_duration()

double client::MediaSource::get_duration ( )

◆ get_prototype()

MediaSource* client::MediaSource::get_prototype ( )

◆ get_readyState()

String* client::MediaSource::get_readyState ( )

◆ get_sourceBuffers()

SourceBufferList* client::MediaSource::get_sourceBuffers ( )

◆ removeSourceBuffer()

void client::MediaSource::removeSourceBuffer ( SourceBuffer sourceBuffer)

◆ set_duration()

void client::MediaSource::set_duration ( double  )

◆ set_prototype()

void client::MediaSource::set_prototype ( MediaSource )