reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
kurento::MediaElement Class Reference

#include <Object.hxx>

Inheritance diagram for kurento::MediaElement:
[legend]

Public Member Functions

virtual void create (ContinuationVoid c) override
 
void connect (ContinuationVoid c, MediaElement &element)
 
void disconnect (ContinuationVoid c, MediaElement &element)
 
void addErrorListener (std::shared_ptr< EventListener > l, ContinuationVoid c)
 
void addConnectionStateChangedListener (std::shared_ptr< EventListener > l, ContinuationVoid c)
 
void addMediaStateChangedListener (std::shared_ptr< EventListener > l, ContinuationVoid c)
 
void addMediaTranscodingStateChangeListener (std::shared_ptr< EventListener > l, ContinuationVoid c)
 
void addMediaFlowInStateChangeListener (std::shared_ptr< EventListener > l, ContinuationVoid c)
 
void addMediaFlowOutStateChangeListener (std::shared_ptr< EventListener > l, ContinuationVoid c)
 
- Public Member Functions inherited from kurento::Object
bool valid ()
 
const std::string & getName () const
 
const std::string & getId () const
 
std::shared_ptr< KurentoConnection > getConnection ()
 
void processResponse (const std::string &id, std::shared_ptr< KurentoResponseHandler > krh, const json::Object &message) override
 
virtual void release (ContinuationVoid c)
 
virtual void onEvent (const std::string &eventType, const json::Object &message)
 
void sendNotifications (const std::string &eventType, const json::Object &message)
 
- Public Member Functions inherited from kurento::KurentoResponseHandler
virtual ~KurentoResponseHandler ()
 

Protected Member Functions

 MediaElement (const std::string &name, std::shared_ptr< MediaPipeline > mediaPipeline)
 
virtual ~MediaElement ()
 
virtual void create (ContinuationVoid c, const json::Object &extraPparams)
 
- Protected Member Functions inherited from kurento::Object
 Object (const std::string &name, std::shared_ptr< KurentoConnection > connection)
 
virtual ~Object ()
 
void createObject (ContinuationVoid c, const json::Object &constructorParams=json::Object())
 
void invokeVoidMethod (const std::string &methodName, ContinuationVoid c, const json::Object &methodParams=json::Object())
 
void invokeStringMethod (const std::string &methodName, ContinuationString c, const json::Object &methodParams=json::Object())
 
void addListener (const std::string &eventName, std::shared_ptr< EventListener > l, ContinuationVoid c)
 

Additional Inherited Members

- Protected Types inherited from kurento::Object
typedef std::function< void(const json::Object &message) > ContinuationInternal
 

Detailed Description

Definition at line 88 of file Object.hxx.

Constructor & Destructor Documentation

◆ MediaElement()

MediaElement::MediaElement ( const std::string &  name,
std::shared_ptr< MediaPipeline >  mediaPipeline 
)
protected

Definition at line 224 of file Object.cxx.

◆ ~MediaElement()

MediaElement::~MediaElement ( )
protectedvirtual

Definition at line 230 of file Object.cxx.

Member Function Documentation

◆ addConnectionStateChangedListener()

void MediaElement::addConnectionStateChangedListener ( std::shared_ptr< EventListener >  l,
ContinuationVoid  c 
)

Definition at line 275 of file Object.cxx.

◆ addErrorListener()

void MediaElement::addErrorListener ( std::shared_ptr< EventListener >  l,
ContinuationVoid  c 
)

Definition at line 269 of file Object.cxx.

◆ addMediaFlowInStateChangeListener()

void MediaElement::addMediaFlowInStateChangeListener ( std::shared_ptr< EventListener >  l,
ContinuationVoid  c 
)

Definition at line 293 of file Object.cxx.

◆ addMediaFlowOutStateChangeListener()

void MediaElement::addMediaFlowOutStateChangeListener ( std::shared_ptr< EventListener >  l,
ContinuationVoid  c 
)

Definition at line 299 of file Object.cxx.

◆ addMediaStateChangedListener()

void MediaElement::addMediaStateChangedListener ( std::shared_ptr< EventListener >  l,
ContinuationVoid  c 
)

Definition at line 281 of file Object.cxx.

◆ addMediaTranscodingStateChangeListener()

void MediaElement::addMediaTranscodingStateChangeListener ( std::shared_ptr< EventListener >  l,
ContinuationVoid  c 
)

Definition at line 287 of file Object.cxx.

◆ connect()

void MediaElement::connect ( ContinuationVoid  c,
MediaElement &  element 
)

Definition at line 251 of file Object.cxx.

◆ create() [1/2]

void MediaElement::create ( ContinuationVoid  c)
overridevirtual

Reimplemented from kurento::Object.

Reimplemented in kurento::GStreamerFilter, kurento::UriEndpoint, kurento::RecorderEndpoint, and kurento::SipRtpEndpoint.

Definition at line 235 of file Object.cxx.

◆ create() [2/2]

void MediaElement::create ( ContinuationVoid  c,
const json::Object &  extraPparams 
)
protectedvirtual

Reimplemented in kurento::UriEndpoint.

Definition at line 243 of file Object.cxx.

◆ disconnect()

void MediaElement::disconnect ( ContinuationVoid  c,
MediaElement &  element 
)

Definition at line 261 of file Object.cxx.


The documentation for this class was generated from the following files: