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

#include <audiotrack.h>

Inheritance diagram for webrtc::AudioTrack:
webrtc::MediaStreamTrack< AudioTrackInterface > webrtc::ObserverInterface webrtc::MediaStreamTrack< AudioTrackInterface > webrtc::ObserverInterface webrtc::Notifier< AudioTrackInterface > webrtc::Notifier< AudioTrackInterface > webrtc::Notifier< AudioTrackInterface > webrtc::Notifier< AudioTrackInterface > webrtc::AudioTrackInterface webrtc::AudioTrackInterface webrtc::AudioTrackInterface webrtc::AudioTrackInterface webrtc::AudioTrackInterface webrtc::AudioTrackInterface webrtc::AudioTrackInterface webrtc::AudioTrackInterface

Static Public Member Functions

static rtc::scoped_refptr< AudioTrackCreate (const std::string &id, const rtc::scoped_refptr< AudioSourceInterface > &source)
 
static rtc::scoped_refptr< AudioTrackCreate (const std::string &id, const rtc::scoped_refptr< AudioSourceInterface > &source)
 

Protected Member Functions

 AudioTrack (const std::string &label, const rtc::scoped_refptr< AudioSourceInterface > &source)
 
 ~AudioTrack () override
 
 AudioTrack (const std::string &label, const rtc::scoped_refptr< AudioSourceInterface > &source)
 
 ~AudioTrack () override
 
- Protected Member Functions inherited from webrtc::MediaStreamTrack< AudioTrackInterface >
 MediaStreamTrack (const std::string &id)
 
 MediaStreamTrack (const std::string &id)
 
bool set_state (MediaStreamTrackInterface::TrackState new_state)
 
bool set_state (MediaStreamTrackInterface::TrackState new_state)
 
- Protected Member Functions inherited from webrtc::AudioTrackInterface
virtual ~AudioTrackInterface ()
 
virtual ~AudioTrackInterface ()
 
- Protected Member Functions inherited from webrtc::MediaStreamTrackInterface
virtual ~MediaStreamTrackInterface ()
 
virtual ~MediaStreamTrackInterface ()
 
- Protected Member Functions inherited from rtc::RefCountInterface
virtual ~RefCountInterface ()
 
virtual ~RefCountInterface ()
 
- Protected Member Functions inherited from webrtc::ObserverInterface
virtual ~ObserverInterface ()
 
virtual ~ObserverInterface ()
 

Additional Inherited Members

- Public Types inherited from webrtc::MediaStreamTrack< AudioTrackInterface >
typedef AudioTrackInterface ::TrackState TypedTrackState
 
typedef AudioTrackInterface ::TrackState TypedTrackState
 
- Public Types inherited from webrtc::MediaStreamTrackInterface
enum  TrackState { kLive, kEnded, kLive, kEnded }
 
enum  TrackState { kLive, kEnded, kLive, kEnded }
 
- Public Member Functions inherited from webrtc::MediaStreamTrack< AudioTrackInterface >
std::string id () const override
 
std::string id () const override
 
MediaStreamTrackInterface::TrackState state () const override
 
MediaStreamTrackInterface::TrackState state () const override
 
bool enabled () const override
 
bool enabled () const override
 
bool set_enabled (bool enable) override
 
bool set_enabled (bool enable) override
 
- Public Member Functions inherited from webrtc::Notifier< AudioTrackInterface >
 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 webrtc::AudioTrackInterface
virtual bool GetSignalLevel (int *)
 
virtual rtc::scoped_refptr< AudioProcessorInterfaceGetAudioProcessor ()
 
virtual bool GetSignalLevel (int *)
 
virtual rtc::scoped_refptr< AudioProcessorInterfaceGetAudioProcessor ()
 
- 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 Attributes inherited from webrtc::MediaStreamTrackInterface
static const char kAudioKind [] = "audio"
 
static const char kVideoKind [] = "video"
 
- Protected Attributes inherited from webrtc::Notifier< AudioTrackInterface >
std::list< ObserverInterface *> observers_
 

Constructor & Destructor Documentation

◆ AudioTrack() [1/2]

AudioTrack::AudioTrack ( const std::string label,
const rtc::scoped_refptr< AudioSourceInterface > &  source 
)
protected

◆ ~AudioTrack() [1/2]

AudioTrack::~AudioTrack ( )
overrideprotected

◆ AudioTrack() [2/2]

webrtc::AudioTrack::AudioTrack ( const std::string label,
const rtc::scoped_refptr< AudioSourceInterface > &  source 
)
protected

◆ ~AudioTrack() [2/2]

webrtc::AudioTrack::~AudioTrack ( )
overrideprotected

Member Function Documentation

◆ Create() [1/2]

scoped_refptr< AudioTrack > AudioTrack::Create ( const std::string id,
const rtc::scoped_refptr< AudioSourceInterface > &  source 
)
static

◆ Create() [2/2]

static rtc::scoped_refptr<AudioTrack> webrtc::AudioTrack::Create ( const std::string id,
const rtc::scoped_refptr< AudioSourceInterface > &  source 
)
static

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