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

#include <peerconnectionfactory.h>

Inheritance diagram for webrtc::PeerConnectionFactory:
webrtc::PeerConnectionFactoryInterface webrtc::PeerConnectionFactoryInterface rtc::RefCountInterface rtc::RefCountInterface rtc::RefCountInterface rtc::RefCountInterface PeerConnectionFactoryForTest rtc::RefCountedObject< webrtc::PeerConnectionFactory > rtc::RefCountedObject< webrtc::PeerConnectionFactory > webrtc::FakePeerConnectionFactory webrtc::FakePeerConnectionFactory webrtc::FakePeerConnectionFactory webrtc::FakePeerConnectionFactory

Public Member Functions

void SetOptions (const Options &options) override
 
rtc::scoped_refptr< PeerConnectionInterfaceCreatePeerConnection (const PeerConnectionInterface::RTCConfiguration &configuration, const MediaConstraintsInterface *constraints, std::unique_ptr< cricket::PortAllocator > allocator, std::unique_ptr< rtc::RTCCertificateGeneratorInterface > cert_generator, PeerConnectionObserver *observer) override
 
virtual rtc::scoped_refptr< PeerConnectionInterfaceCreatePeerConnection (const PeerConnectionInterface::RTCConfiguration &configuration, std::unique_ptr< cricket::PortAllocator > allocator, std::unique_ptr< rtc::RTCCertificateGeneratorInterface > cert_generator, PeerConnectionObserver *observer) override
 
bool Initialize ()
 
rtc::scoped_refptr< MediaStreamInterfaceCreateLocalMediaStream (const std::string &label) override
 
virtual rtc::scoped_refptr< AudioSourceInterfaceCreateAudioSource (const cricket::AudioOptions &options) override
 
rtc::scoped_refptr< AudioSourceInterfaceCreateAudioSource (const MediaConstraintsInterface *constraints) override
 
virtual rtc::scoped_refptr< VideoTrackSourceInterfaceCreateVideoSource (std::unique_ptr< cricket::VideoCapturer > capturer) override
 
rtc::scoped_refptr< VideoTrackSourceInterfaceCreateVideoSource (std::unique_ptr< cricket::VideoCapturer > capturer, const MediaConstraintsInterface *constraints) override
 
rtc::scoped_refptr< VideoTrackInterfaceCreateVideoTrack (const std::string &id, VideoTrackSourceInterface *video_source) override
 
rtc::scoped_refptr< AudioTrackInterfaceCreateAudioTrack (const std::string &id, AudioSourceInterface *audio_source) override
 
bool StartAecDump (rtc::PlatformFile file, int64_t max_size_bytes) override
 
void StopAecDump () override
 
bool StartRtcEventLog (rtc::PlatformFile) override
 
bool StartRtcEventLog (rtc::PlatformFile, int64_t) override
 
void StopRtcEventLog () override
 
virtual webrtc::MediaControllerInterfaceCreateMediaController (const cricket::MediaConfig &config, RtcEventLog *event_log) const
 
virtual cricket::TransportControllerCreateTransportController (cricket::PortAllocator *port_allocator, bool redetermine_role_on_ice_restart)
 
virtual rtc::Threadsignaling_thread ()
 
virtual rtc::Threadworker_thread ()
 
virtual rtc::Threadnetwork_thread ()
 
const Optionsoptions () const
 
void SetOptions (const Options &options) override
 
rtc::scoped_refptr< PeerConnectionInterfaceCreatePeerConnection (const PeerConnectionInterface::RTCConfiguration &configuration, const MediaConstraintsInterface *constraints, std::unique_ptr< cricket::PortAllocator > allocator, std::unique_ptr< rtc::RTCCertificateGeneratorInterface > cert_generator, PeerConnectionObserver *observer) override
 
virtual rtc::scoped_refptr< PeerConnectionInterfaceCreatePeerConnection (const PeerConnectionInterface::RTCConfiguration &configuration, std::unique_ptr< cricket::PortAllocator > allocator, std::unique_ptr< rtc::RTCCertificateGeneratorInterface > cert_generator, PeerConnectionObserver *observer) override
 
bool Initialize ()
 
rtc::scoped_refptr< MediaStreamInterfaceCreateLocalMediaStream (const std::string &label) override
 
virtual rtc::scoped_refptr< AudioSourceInterfaceCreateAudioSource (const cricket::AudioOptions &options) override
 
rtc::scoped_refptr< AudioSourceInterfaceCreateAudioSource (const MediaConstraintsInterface *constraints) override
 
virtual rtc::scoped_refptr< VideoTrackSourceInterfaceCreateVideoSource (std::unique_ptr< cricket::VideoCapturer > capturer) override
 
rtc::scoped_refptr< VideoTrackSourceInterfaceCreateVideoSource (std::unique_ptr< cricket::VideoCapturer > capturer, const MediaConstraintsInterface *constraints) override
 
rtc::scoped_refptr< VideoTrackInterfaceCreateVideoTrack (const std::string &id, VideoTrackSourceInterface *video_source) override
 
rtc::scoped_refptr< AudioTrackInterfaceCreateAudioTrack (const std::string &id, AudioSourceInterface *audio_source) override
 
bool StartAecDump (rtc::PlatformFile file, int64_t max_size_bytes) override
 
void StopAecDump () override
 
bool StartRtcEventLog (rtc::PlatformFile) override
 
bool StartRtcEventLog (rtc::PlatformFile, int64_t) override
 
void StopRtcEventLog () override
 
virtual webrtc::MediaControllerInterfaceCreateMediaController (const cricket::MediaConfig &config, RtcEventLog *event_log) const
 
virtual cricket::TransportControllerCreateTransportController (cricket::PortAllocator *port_allocator, bool redetermine_role_on_ice_restart)
 
virtual rtc::Threadsignaling_thread ()
 
virtual rtc::Threadworker_thread ()
 
virtual rtc::Threadnetwork_thread ()
 
const Optionsoptions () const
 
- Public Member Functions inherited from webrtc::PeerConnectionFactoryInterface
virtual rtc::scoped_refptr< VideoTrackSourceInterfaceCreateVideoSource (cricket::VideoCapturer *capturer)
 
virtual rtc::scoped_refptr< VideoTrackSourceInterfaceCreateVideoSource (cricket::VideoCapturer *capturer, const MediaConstraintsInterface *constraints)
 
virtual rtc::scoped_refptr< VideoTrackSourceInterfaceCreateVideoSource (cricket::VideoCapturer *capturer)
 
virtual rtc::scoped_refptr< VideoTrackSourceInterfaceCreateVideoSource (cricket::VideoCapturer *capturer, const MediaConstraintsInterface *constraints)
 
- 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
 

Protected Member Functions

 PeerConnectionFactory (rtc::scoped_refptr< webrtc::AudioEncoderFactory > audio_encoder_factory, rtc::scoped_refptr< webrtc::AudioDecoderFactory > audio_decoder_factory)
 
 PeerConnectionFactory (rtc::Thread *network_thread, rtc::Thread *worker_thread, rtc::Thread *signaling_thread, AudioDeviceModule *default_adm, rtc::scoped_refptr< webrtc::AudioEncoderFactory > audio_encoder_factory, rtc::scoped_refptr< webrtc::AudioDecoderFactory > audio_decoder_factory, cricket::WebRtcVideoEncoderFactory *video_encoder_factory, cricket::WebRtcVideoDecoderFactory *video_decoder_factory, rtc::scoped_refptr< AudioMixer > audio_mixer)
 
virtual ~PeerConnectionFactory ()
 
 PeerConnectionFactory (rtc::scoped_refptr< webrtc::AudioEncoderFactory > audio_encoder_factory, rtc::scoped_refptr< webrtc::AudioDecoderFactory > audio_decoder_factory)
 
 PeerConnectionFactory (rtc::Thread *network_thread, rtc::Thread *worker_thread, rtc::Thread *signaling_thread, AudioDeviceModule *default_adm, rtc::scoped_refptr< webrtc::AudioEncoderFactory > audio_encoder_factory, rtc::scoped_refptr< webrtc::AudioDecoderFactory > audio_decoder_factory, cricket::WebRtcVideoEncoderFactory *video_encoder_factory, cricket::WebRtcVideoDecoderFactory *video_decoder_factory, rtc::scoped_refptr< AudioMixer > audio_mixer)
 
virtual ~PeerConnectionFactory ()
 
- Protected Member Functions inherited from webrtc::PeerConnectionFactoryInterface
 PeerConnectionFactoryInterface ()
 
 ~PeerConnectionFactoryInterface ()
 
 PeerConnectionFactoryInterface ()
 
 ~PeerConnectionFactoryInterface ()
 
- Protected Member Functions inherited from rtc::RefCountInterface
virtual ~RefCountInterface ()
 
virtual ~RefCountInterface ()
 

Constructor & Destructor Documentation

◆ PeerConnectionFactory() [1/4]

webrtc::PeerConnectionFactory::PeerConnectionFactory ( rtc::scoped_refptr< webrtc::AudioEncoderFactory audio_encoder_factory,
rtc::scoped_refptr< webrtc::AudioDecoderFactory audio_decoder_factory 
)
protected

◆ PeerConnectionFactory() [2/4]

webrtc::PeerConnectionFactory::PeerConnectionFactory ( rtc::Thread network_thread,
rtc::Thread worker_thread,
rtc::Thread signaling_thread,
AudioDeviceModule default_adm,
rtc::scoped_refptr< webrtc::AudioEncoderFactory audio_encoder_factory,
rtc::scoped_refptr< webrtc::AudioDecoderFactory audio_decoder_factory,
cricket::WebRtcVideoEncoderFactory video_encoder_factory,
cricket::WebRtcVideoDecoderFactory video_decoder_factory,
rtc::scoped_refptr< AudioMixer audio_mixer 
)
protected

◆ ~PeerConnectionFactory() [1/2]

webrtc::PeerConnectionFactory::~PeerConnectionFactory ( )
protectedvirtual

◆ PeerConnectionFactory() [3/4]

webrtc::PeerConnectionFactory::PeerConnectionFactory ( rtc::scoped_refptr< webrtc::AudioEncoderFactory audio_encoder_factory,
rtc::scoped_refptr< webrtc::AudioDecoderFactory audio_decoder_factory 
)
protected

◆ PeerConnectionFactory() [4/4]

webrtc::PeerConnectionFactory::PeerConnectionFactory ( rtc::Thread network_thread,
rtc::Thread worker_thread,
rtc::Thread signaling_thread,
AudioDeviceModule default_adm,
rtc::scoped_refptr< webrtc::AudioEncoderFactory audio_encoder_factory,
rtc::scoped_refptr< webrtc::AudioDecoderFactory audio_decoder_factory,
cricket::WebRtcVideoEncoderFactory video_encoder_factory,
cricket::WebRtcVideoDecoderFactory video_decoder_factory,
rtc::scoped_refptr< AudioMixer audio_mixer 
)
protected

◆ ~PeerConnectionFactory() [2/2]

virtual webrtc::PeerConnectionFactory::~PeerConnectionFactory ( )
protectedvirtual

Member Function Documentation

◆ CreateAudioSource() [1/4]

rtc::scoped_refptr< AudioSourceInterface > webrtc::PeerConnectionFactory::CreateAudioSource ( const cricket::AudioOptions options)
overridevirtual

◆ CreateAudioSource() [2/4]

virtual rtc::scoped_refptr<AudioSourceInterface> webrtc::PeerConnectionFactory::CreateAudioSource ( const cricket::AudioOptions options)
overridevirtual

◆ CreateAudioSource() [3/4]

rtc::scoped_refptr< AudioSourceInterface > webrtc::PeerConnectionFactory::CreateAudioSource ( const MediaConstraintsInterface constraints)
overridevirtual

◆ CreateAudioSource() [4/4]

rtc::scoped_refptr<AudioSourceInterface> webrtc::PeerConnectionFactory::CreateAudioSource ( const MediaConstraintsInterface constraints)
overridevirtual

◆ CreateAudioTrack() [1/2]

rtc::scoped_refptr< AudioTrackInterface > webrtc::PeerConnectionFactory::CreateAudioTrack ( const std::string id,
AudioSourceInterface audio_source 
)
overridevirtual

◆ CreateAudioTrack() [2/2]

rtc::scoped_refptr<AudioTrackInterface> webrtc::PeerConnectionFactory::CreateAudioTrack ( const std::string id,
AudioSourceInterface audio_source 
)
overridevirtual

◆ CreateLocalMediaStream() [1/2]

rtc::scoped_refptr<MediaStreamInterface> webrtc::PeerConnectionFactory::CreateLocalMediaStream ( const std::string label)
overridevirtual

◆ CreateLocalMediaStream() [2/2]

rtc::scoped_refptr< MediaStreamInterface > webrtc::PeerConnectionFactory::CreateLocalMediaStream ( const std::string label)
overridevirtual

◆ CreateMediaController() [1/2]

webrtc::MediaControllerInterface * webrtc::PeerConnectionFactory::CreateMediaController ( const cricket::MediaConfig config,
webrtc::RtcEventLog event_log 
) const
virtual

Reimplemented in PeerConnectionFactoryForTest.

◆ CreateMediaController() [2/2]

virtual webrtc::MediaControllerInterface* webrtc::PeerConnectionFactory::CreateMediaController ( const cricket::MediaConfig config,
RtcEventLog event_log 
) const
virtual

Reimplemented in PeerConnectionFactoryForTest.

◆ CreatePeerConnection() [1/4]

rtc::scoped_refptr< PeerConnectionInterface > webrtc::PeerConnectionFactory::CreatePeerConnection ( const PeerConnectionInterface::RTCConfiguration configuration,
const MediaConstraintsInterface constraints,
std::unique_ptr< cricket::PortAllocator allocator,
std::unique_ptr< rtc::RTCCertificateGeneratorInterface cert_generator,
PeerConnectionObserver observer 
)
overridevirtual

◆ CreatePeerConnection() [2/4]

rtc::scoped_refptr<PeerConnectionInterface> webrtc::PeerConnectionFactory::CreatePeerConnection ( const PeerConnectionInterface::RTCConfiguration configuration,
const MediaConstraintsInterface constraints,
std::unique_ptr< cricket::PortAllocator allocator,
std::unique_ptr< rtc::RTCCertificateGeneratorInterface cert_generator,
PeerConnectionObserver observer 
)
overridevirtual

◆ CreatePeerConnection() [3/4]

rtc::scoped_refptr< PeerConnectionInterface > webrtc::PeerConnectionFactory::CreatePeerConnection ( const PeerConnectionInterface::RTCConfiguration configuration,
std::unique_ptr< cricket::PortAllocator allocator,
std::unique_ptr< rtc::RTCCertificateGeneratorInterface cert_generator,
PeerConnectionObserver observer 
)
overridevirtual

◆ CreatePeerConnection() [4/4]

virtual rtc::scoped_refptr<PeerConnectionInterface> webrtc::PeerConnectionFactory::CreatePeerConnection ( const PeerConnectionInterface::RTCConfiguration configuration,
std::unique_ptr< cricket::PortAllocator allocator,
std::unique_ptr< rtc::RTCCertificateGeneratorInterface cert_generator,
PeerConnectionObserver observer 
)
overridevirtual

◆ CreateTransportController() [1/2]

cricket::TransportController * webrtc::PeerConnectionFactory::CreateTransportController ( cricket::PortAllocator port_allocator,
bool  redetermine_role_on_ice_restart 
)
virtual

Reimplemented in PeerConnectionFactoryForTest.

◆ CreateTransportController() [2/2]

virtual cricket::TransportController* webrtc::PeerConnectionFactory::CreateTransportController ( cricket::PortAllocator port_allocator,
bool  redetermine_role_on_ice_restart 
)
virtual

Reimplemented in PeerConnectionFactoryForTest.

◆ CreateVideoSource() [1/4]

rtc::scoped_refptr< VideoTrackSourceInterface > webrtc::PeerConnectionFactory::CreateVideoSource ( std::unique_ptr< cricket::VideoCapturer capturer)
overridevirtual

◆ CreateVideoSource() [2/4]

virtual rtc::scoped_refptr<VideoTrackSourceInterface> webrtc::PeerConnectionFactory::CreateVideoSource ( std::unique_ptr< cricket::VideoCapturer capturer)
overridevirtual

◆ CreateVideoSource() [3/4]

rtc::scoped_refptr< VideoTrackSourceInterface > webrtc::PeerConnectionFactory::CreateVideoSource ( std::unique_ptr< cricket::VideoCapturer capturer,
const MediaConstraintsInterface constraints 
)
overridevirtual

◆ CreateVideoSource() [4/4]

rtc::scoped_refptr<VideoTrackSourceInterface> webrtc::PeerConnectionFactory::CreateVideoSource ( std::unique_ptr< cricket::VideoCapturer capturer,
const MediaConstraintsInterface constraints 
)
overridevirtual

◆ CreateVideoTrack() [1/2]

rtc::scoped_refptr<VideoTrackInterface> webrtc::PeerConnectionFactory::CreateVideoTrack ( const std::string id,
VideoTrackSourceInterface video_source 
)
overridevirtual

◆ CreateVideoTrack() [2/2]

rtc::scoped_refptr< VideoTrackInterface > webrtc::PeerConnectionFactory::CreateVideoTrack ( const std::string id,
VideoTrackSourceInterface video_source 
)
overridevirtual

◆ Initialize() [1/2]

bool webrtc::PeerConnectionFactory::Initialize ( )

◆ Initialize() [2/2]

bool webrtc::PeerConnectionFactory::Initialize ( )

◆ network_thread() [1/2]

rtc::Thread * webrtc::PeerConnectionFactory::network_thread ( )
virtual

◆ network_thread() [2/2]

virtual rtc::Thread* webrtc::PeerConnectionFactory::network_thread ( )
virtual

◆ options() [1/2]

const Options& webrtc::PeerConnectionFactory::options ( ) const
inline

◆ options() [2/2]

const Options& webrtc::PeerConnectionFactory::options ( ) const
inline

◆ SetOptions() [1/2]

void webrtc::PeerConnectionFactory::SetOptions ( const Options options)
overridevirtual

◆ SetOptions() [2/2]

void webrtc::PeerConnectionFactory::SetOptions ( const Options options)
overridevirtual

◆ signaling_thread() [1/2]

virtual rtc::Thread* webrtc::PeerConnectionFactory::signaling_thread ( )
virtual

◆ signaling_thread() [2/2]

rtc::Thread * webrtc::PeerConnectionFactory::signaling_thread ( )
virtual

◆ StartAecDump() [1/2]

bool webrtc::PeerConnectionFactory::StartAecDump ( rtc::PlatformFile  file,
int64_t  max_size_bytes 
)
overridevirtual

◆ StartAecDump() [2/2]

bool webrtc::PeerConnectionFactory::StartAecDump ( rtc::PlatformFile  file,
int64_t  max_size_bytes 
)
overridevirtual

◆ StartRtcEventLog() [1/4]

bool webrtc::PeerConnectionFactory::StartRtcEventLog ( rtc::PlatformFile  )
inlineoverridevirtual

◆ StartRtcEventLog() [2/4]

bool webrtc::PeerConnectionFactory::StartRtcEventLog ( rtc::PlatformFile  )
inlineoverridevirtual

◆ StartRtcEventLog() [3/4]

bool webrtc::PeerConnectionFactory::StartRtcEventLog ( rtc::PlatformFile  ,
int64_t   
)
inlineoverridevirtual

◆ StartRtcEventLog() [4/4]

bool webrtc::PeerConnectionFactory::StartRtcEventLog ( rtc::PlatformFile  ,
int64_t   
)
inlineoverridevirtual

◆ StopAecDump() [1/2]

void webrtc::PeerConnectionFactory::StopAecDump ( )
overridevirtual

◆ StopAecDump() [2/2]

void webrtc::PeerConnectionFactory::StopAecDump ( )
overridevirtual

◆ StopRtcEventLog() [1/2]

void webrtc::PeerConnectionFactory::StopRtcEventLog ( )
inlineoverridevirtual

◆ StopRtcEventLog() [2/2]

void webrtc::PeerConnectionFactory::StopRtcEventLog ( )
inlineoverridevirtual

◆ worker_thread() [1/2]

virtual rtc::Thread* webrtc::PeerConnectionFactory::worker_thread ( )
virtual

◆ worker_thread() [2/2]

rtc::Thread * webrtc::PeerConnectionFactory::worker_thread ( )
virtual

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