webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
PeerConnectionFactoryForTest Class Reference
Inheritance diagram for PeerConnectionFactoryForTest:
webrtc::PeerConnectionFactory webrtc::PeerConnectionFactoryInterface webrtc::PeerConnectionFactoryInterface rtc::RefCountInterface rtc::RefCountInterface rtc::RefCountInterface rtc::RefCountInterface

Public Member Functions

 PeerConnectionFactoryForTest ()
 
webrtc::MediaControllerInterfaceCreateMediaController (const cricket::MediaConfig &config, webrtc::RtcEventLog *event_log) const override
 
cricket::TransportControllerCreateTransportController (cricket::PortAllocator *port_allocator, bool redetermine_role_on_ice_restart) override
 
- Public Member Functions inherited from webrtc::PeerConnectionFactory
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 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 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
 

Public Attributes

cricket::TransportControllertransport_controller
 
bool create_media_controller_called_ = false
 
cricket::MediaConfig create_media_controller_config_
 

Additional Inherited Members

- Protected Member Functions inherited from webrtc::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 ()
 
 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

◆ PeerConnectionFactoryForTest()

PeerConnectionFactoryForTest::PeerConnectionFactoryForTest ( )
inline

Member Function Documentation

◆ CreateMediaController()

webrtc::MediaControllerInterface* PeerConnectionFactoryForTest::CreateMediaController ( const cricket::MediaConfig config,
webrtc::RtcEventLog event_log 
) const
inlineoverridevirtual

Reimplemented from webrtc::PeerConnectionFactory.

◆ CreateTransportController()

cricket::TransportController* PeerConnectionFactoryForTest::CreateTransportController ( cricket::PortAllocator port_allocator,
bool  redetermine_role_on_ice_restart 
)
inlineoverridevirtual

Reimplemented from webrtc::PeerConnectionFactory.

Member Data Documentation

◆ create_media_controller_called_

bool PeerConnectionFactoryForTest::create_media_controller_called_ = false
mutable

◆ create_media_controller_config_

cricket::MediaConfig PeerConnectionFactoryForTest::create_media_controller_config_
mutable

◆ transport_controller

cricket::TransportController* PeerConnectionFactoryForTest::transport_controller

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