webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
webrtc::MediaStream Class Reference

#include <mediastream.h>

Inheritance diagram for webrtc::MediaStream:
webrtc::Notifier< MediaStreamInterface > webrtc::Notifier< MediaStreamInterface > webrtc::MediaStreamInterface webrtc::MediaStreamInterface webrtc::MediaStreamInterface webrtc::MediaStreamInterface webrtc::NotifierInterface rtc::RefCountInterface webrtc::NotifierInterface rtc::RefCountInterface webrtc::NotifierInterface rtc::RefCountInterface webrtc::NotifierInterface rtc::RefCountInterface webrtc::NotifierInterface rtc::RefCountInterface webrtc::NotifierInterface rtc::RefCountInterface webrtc::NotifierInterface rtc::RefCountInterface webrtc::NotifierInterface rtc::RefCountInterface

Public Member Functions

std::string label () const override
 
bool AddTrack (AudioTrackInterface *track) override
 
bool AddTrack (VideoTrackInterface *track) override
 
bool RemoveTrack (AudioTrackInterface *track) override
 
bool RemoveTrack (VideoTrackInterface *track) override
 
rtc::scoped_refptr< AudioTrackInterfaceFindAudioTrack (const std::string &track_id) override
 
rtc::scoped_refptr< VideoTrackInterfaceFindVideoTrack (const std::string &track_id) override
 
AudioTrackVector GetAudioTracks () override
 
VideoTrackVector GetVideoTracks () override
 
std::string label () const override
 
bool AddTrack (AudioTrackInterface *track) override
 
bool AddTrack (VideoTrackInterface *track) override
 
bool RemoveTrack (AudioTrackInterface *track) override
 
bool RemoveTrack (VideoTrackInterface *track) override
 
rtc::scoped_refptr< AudioTrackInterfaceFindAudioTrack (const std::string &track_id) override
 
rtc::scoped_refptr< VideoTrackInterfaceFindVideoTrack (const std::string &track_id) override
 
AudioTrackVector GetAudioTracks () override
 
VideoTrackVector GetVideoTracks () override
 
- Public Member Functions inherited from webrtc::Notifier< MediaStreamInterface >
 Notifier ()
 
 Notifier ()
 
virtual void RegisterObserver (ObserverInterface *observer)
 
virtual void RegisterObserver (ObserverInterface *observer)
 
virtual void UnregisterObserver (ObserverInterface *observer)
 
virtual void UnregisterObserver (ObserverInterface *observer)
 
void FireOnChanged ()
 
void FireOnChanged ()
 
- Public Member Functions inherited from rtc::RefCountInterface
virtual int AddRef () const =0
 
virtual int Release () const =0
 
virtual int AddRef () const =0
 
virtual int Release () const =0
 
- Public Member Functions inherited from webrtc::NotifierInterface
virtual ~NotifierInterface ()
 
virtual ~NotifierInterface ()
 

Static Public Member Functions

static rtc::scoped_refptr< MediaStreamCreate (const std::string &label)
 
static rtc::scoped_refptr< MediaStreamCreate (const std::string &label)
 

Protected Member Functions

 MediaStream (const std::string &label)
 
 MediaStream (const std::string &label)
 
- Protected Member Functions inherited from webrtc::MediaStreamInterface
virtual ~MediaStreamInterface ()
 
virtual ~MediaStreamInterface ()
 
- Protected Member Functions inherited from rtc::RefCountInterface
virtual ~RefCountInterface ()
 
virtual ~RefCountInterface ()
 

Additional Inherited Members

- Protected Attributes inherited from webrtc::Notifier< MediaStreamInterface >
std::list< ObserverInterface *> observers_
 

Constructor & Destructor Documentation

◆ MediaStream() [1/2]

MediaStream::MediaStream ( const std::string label)
explicitprotected

◆ MediaStream() [2/2]

webrtc::MediaStream::MediaStream ( const std::string label)
explicitprotected

Member Function Documentation

◆ AddTrack() [1/4]

bool MediaStream::AddTrack ( AudioTrackInterface track)
overridevirtual

◆ AddTrack() [2/4]

bool webrtc::MediaStream::AddTrack ( AudioTrackInterface track)
overridevirtual

◆ AddTrack() [3/4]

bool MediaStream::AddTrack ( VideoTrackInterface track)
overridevirtual

◆ AddTrack() [4/4]

bool webrtc::MediaStream::AddTrack ( VideoTrackInterface track)
overridevirtual

◆ Create() [1/2]

static rtc::scoped_refptr<MediaStream> webrtc::MediaStream::Create ( const std::string label)
static

◆ Create() [2/2]

rtc::scoped_refptr< MediaStream > MediaStream::Create ( const std::string label)
static

◆ FindAudioTrack() [1/2]

rtc::scoped_refptr<AudioTrackInterface> webrtc::MediaStream::FindAudioTrack ( const std::string track_id)
overridevirtual

◆ FindAudioTrack() [2/2]

rtc::scoped_refptr< AudioTrackInterface > MediaStream::FindAudioTrack ( const std::string track_id)
overridevirtual

◆ FindVideoTrack() [1/2]

rtc::scoped_refptr< VideoTrackInterface > MediaStream::FindVideoTrack ( const std::string track_id)
overridevirtual

◆ FindVideoTrack() [2/2]

rtc::scoped_refptr<VideoTrackInterface> webrtc::MediaStream::FindVideoTrack ( const std::string track_id)
overridevirtual

◆ GetAudioTracks() [1/2]

AudioTrackVector webrtc::MediaStream::GetAudioTracks ( )
inlineoverridevirtual

◆ GetAudioTracks() [2/2]

AudioTrackVector webrtc::MediaStream::GetAudioTracks ( )
inlineoverridevirtual

◆ GetVideoTracks() [1/2]

VideoTrackVector webrtc::MediaStream::GetVideoTracks ( )
inlineoverridevirtual

◆ GetVideoTracks() [2/2]

VideoTrackVector webrtc::MediaStream::GetVideoTracks ( )
inlineoverridevirtual

◆ label() [1/2]

std::string webrtc::MediaStream::label ( ) const
inlineoverridevirtual

◆ label() [2/2]

std::string webrtc::MediaStream::label ( ) const
inlineoverridevirtual

◆ RemoveTrack() [1/4]

bool webrtc::MediaStream::RemoveTrack ( AudioTrackInterface track)
overridevirtual

◆ RemoveTrack() [2/4]

bool MediaStream::RemoveTrack ( AudioTrackInterface track)
overridevirtual

◆ RemoveTrack() [3/4]

bool MediaStream::RemoveTrack ( VideoTrackInterface track)
overridevirtual

◆ RemoveTrack() [4/4]

bool webrtc::MediaStream::RemoveTrack ( VideoTrackInterface track)
overridevirtual

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