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

#include <ortcfactoryinterface.h>

Inheritance diagram for webrtc::OrtcFactoryInterface:
webrtc::OrtcFactory webrtc::OrtcFactory

Public Member Functions

virtual ~OrtcFactoryInterface ()
 
virtual RTCErrorOr< std::unique_ptr< RtpTransportControllerInterface > > CreateRtpTransportController ()=0
 
virtual RTCErrorOr< std::unique_ptr< RtpTransportInterface > > CreateRtpTransport (const RtcpParameters &rtcp_parameters, PacketTransportInterface *rtp, PacketTransportInterface *rtcp, RtpTransportControllerInterface *transport_controller)=0
 
virtual RtpCapabilities GetRtpSenderCapabilities (cricket::MediaType kind) const =0
 
virtual RTCErrorOr< std::unique_ptr< OrtcRtpSenderInterface > > CreateRtpSender (rtc::scoped_refptr< MediaStreamTrackInterface > track, RtpTransportInterface *transport)=0
 
virtual RTCErrorOr< std::unique_ptr< OrtcRtpSenderInterface > > CreateRtpSender (cricket::MediaType kind, RtpTransportInterface *transport)=0
 
virtual RtpCapabilities GetRtpReceiverCapabilities (cricket::MediaType kind) const =0
 
virtual RTCErrorOr< std::unique_ptr< OrtcRtpReceiverInterface > > CreateRtpReceiver (cricket::MediaType kind, RtpTransportInterface *transport)=0
 
virtual RTCErrorOr< std::unique_ptr< UdpTransportInterface > > CreateUdpTransport (int family, uint16_t min_port, uint16_t max_port)=0
 
RTCErrorOr< std::unique_ptr< UdpTransportInterface > > CreateUdpTransport (int family)
 
virtual rtc::scoped_refptr< AudioSourceInterfaceCreateAudioSource (const cricket::AudioOptions &options)=0
 
rtc::scoped_refptr< AudioSourceInterfaceCreateAudioSource ()
 
virtual rtc::scoped_refptr< VideoTrackSourceInterfaceCreateVideoSource (std::unique_ptr< cricket::VideoCapturer > capturer, const MediaConstraintsInterface *constraints)=0
 
rtc::scoped_refptr< VideoTrackSourceInterfaceCreateVideoSource (std::unique_ptr< cricket::VideoCapturer > capturer)
 
virtual rtc::scoped_refptr< VideoTrackInterfaceCreateVideoTrack (const std::string &id, VideoTrackSourceInterface *source)=0
 
virtual rtc::scoped_refptr< AudioTrackInterfaceCreateAudioTrack (const std::string &id, AudioSourceInterface *source)=0
 
virtual ~OrtcFactoryInterface ()
 
virtual RTCErrorOr< std::unique_ptr< RtpTransportControllerInterface > > CreateRtpTransportController ()=0
 
virtual RTCErrorOr< std::unique_ptr< RtpTransportInterface > > CreateRtpTransport (const RtcpParameters &rtcp_parameters, PacketTransportInterface *rtp, PacketTransportInterface *rtcp, RtpTransportControllerInterface *transport_controller)=0
 
virtual RtpCapabilities GetRtpSenderCapabilities (cricket::MediaType kind) const =0
 
virtual RTCErrorOr< std::unique_ptr< OrtcRtpSenderInterface > > CreateRtpSender (rtc::scoped_refptr< MediaStreamTrackInterface > track, RtpTransportInterface *transport)=0
 
virtual RTCErrorOr< std::unique_ptr< OrtcRtpSenderInterface > > CreateRtpSender (cricket::MediaType kind, RtpTransportInterface *transport)=0
 
virtual RtpCapabilities GetRtpReceiverCapabilities (cricket::MediaType kind) const =0
 
virtual RTCErrorOr< std::unique_ptr< OrtcRtpReceiverInterface > > CreateRtpReceiver (cricket::MediaType kind, RtpTransportInterface *transport)=0
 
virtual RTCErrorOr< std::unique_ptr< UdpTransportInterface > > CreateUdpTransport (int family, uint16_t min_port, uint16_t max_port)=0
 
RTCErrorOr< std::unique_ptr< UdpTransportInterface > > CreateUdpTransport (int family)
 
virtual rtc::scoped_refptr< AudioSourceInterfaceCreateAudioSource (const cricket::AudioOptions &options)=0
 
rtc::scoped_refptr< AudioSourceInterfaceCreateAudioSource ()
 
virtual rtc::scoped_refptr< VideoTrackSourceInterfaceCreateVideoSource (std::unique_ptr< cricket::VideoCapturer > capturer, const MediaConstraintsInterface *constraints)=0
 
rtc::scoped_refptr< VideoTrackSourceInterfaceCreateVideoSource (std::unique_ptr< cricket::VideoCapturer > capturer)
 
virtual rtc::scoped_refptr< VideoTrackInterfaceCreateVideoTrack (const std::string &id, VideoTrackSourceInterface *source)=0
 
virtual rtc::scoped_refptr< AudioTrackInterfaceCreateAudioTrack (const std::string &id, AudioSourceInterface *source)=0
 

Static Public Member Functions

static RTCErrorOr< std::unique_ptr< OrtcFactoryInterface > > Create (rtc::Thread *network_thread, rtc::Thread *signaling_thread, rtc::NetworkManager *network_manager, rtc::PacketSocketFactory *socket_factory, AudioDeviceModule *adm)
 
static RTCErrorOr< std::unique_ptr< OrtcFactoryInterface > > Create ()
 
static RTCErrorOr< std::unique_ptr< OrtcFactoryInterface > > Create (rtc::Thread *network_thread, rtc::Thread *signaling_thread, rtc::NetworkManager *network_manager, rtc::PacketSocketFactory *socket_factory, AudioDeviceModule *adm)
 
static RTCErrorOr< std::unique_ptr< OrtcFactoryInterface > > Create ()
 

Constructor & Destructor Documentation

◆ ~OrtcFactoryInterface() [1/2]

virtual webrtc::OrtcFactoryInterface::~OrtcFactoryInterface ( )
inlinevirtual

◆ ~OrtcFactoryInterface() [2/2]

virtual webrtc::OrtcFactoryInterface::~OrtcFactoryInterface ( )
inlinevirtual

Member Function Documentation

◆ Create() [1/4]

RTCErrorOr< std::unique_ptr< OrtcFactoryInterface > > webrtc::OrtcFactoryInterface::Create ( rtc::Thread network_thread,
rtc::Thread signaling_thread,
rtc::NetworkManager network_manager,
rtc::PacketSocketFactory socket_factory,
AudioDeviceModule adm 
)
static

◆ Create() [2/4]

static RTCErrorOr<std::unique_ptr<OrtcFactoryInterface> > webrtc::OrtcFactoryInterface::Create ( rtc::Thread network_thread,
rtc::Thread signaling_thread,
rtc::NetworkManager network_manager,
rtc::PacketSocketFactory socket_factory,
AudioDeviceModule adm 
)
static

◆ Create() [3/4]

static RTCErrorOr<std::unique_ptr<OrtcFactoryInterface> > webrtc::OrtcFactoryInterface::Create ( )
inlinestatic

◆ Create() [4/4]

static RTCErrorOr<std::unique_ptr<OrtcFactoryInterface> > webrtc::OrtcFactoryInterface::Create ( )
inlinestatic

◆ CreateAudioSource() [1/4]

virtual rtc::scoped_refptr<AudioSourceInterface> webrtc::OrtcFactoryInterface::CreateAudioSource ( const cricket::AudioOptions options)
pure virtual

◆ CreateAudioSource() [2/4]

virtual rtc::scoped_refptr<AudioSourceInterface> webrtc::OrtcFactoryInterface::CreateAudioSource ( const cricket::AudioOptions options)
pure virtual

◆ CreateAudioSource() [3/4]

rtc::scoped_refptr<AudioSourceInterface> webrtc::OrtcFactoryInterface::CreateAudioSource ( )
inline

◆ CreateAudioSource() [4/4]

rtc::scoped_refptr<AudioSourceInterface> webrtc::OrtcFactoryInterface::CreateAudioSource ( )
inline

◆ CreateAudioTrack() [1/2]

virtual rtc::scoped_refptr<AudioTrackInterface> webrtc::OrtcFactoryInterface::CreateAudioTrack ( const std::string id,
AudioSourceInterface source 
)
pure virtual

◆ CreateAudioTrack() [2/2]

virtual rtc::scoped_refptr<AudioTrackInterface> webrtc::OrtcFactoryInterface::CreateAudioTrack ( const std::string id,
AudioSourceInterface source 
)
pure virtual

◆ CreateRtpReceiver() [1/2]

virtual RTCErrorOr<std::unique_ptr<OrtcRtpReceiverInterface> > webrtc::OrtcFactoryInterface::CreateRtpReceiver ( cricket::MediaType  kind,
RtpTransportInterface transport 
)
pure virtual

◆ CreateRtpReceiver() [2/2]

virtual RTCErrorOr<std::unique_ptr<OrtcRtpReceiverInterface> > webrtc::OrtcFactoryInterface::CreateRtpReceiver ( cricket::MediaType  kind,
RtpTransportInterface transport 
)
pure virtual

◆ CreateRtpSender() [1/4]

virtual RTCErrorOr<std::unique_ptr<OrtcRtpSenderInterface> > webrtc::OrtcFactoryInterface::CreateRtpSender ( rtc::scoped_refptr< MediaStreamTrackInterface track,
RtpTransportInterface transport 
)
pure virtual

◆ CreateRtpSender() [2/4]

virtual RTCErrorOr<std::unique_ptr<OrtcRtpSenderInterface> > webrtc::OrtcFactoryInterface::CreateRtpSender ( rtc::scoped_refptr< MediaStreamTrackInterface track,
RtpTransportInterface transport 
)
pure virtual

◆ CreateRtpSender() [3/4]

virtual RTCErrorOr<std::unique_ptr<OrtcRtpSenderInterface> > webrtc::OrtcFactoryInterface::CreateRtpSender ( cricket::MediaType  kind,
RtpTransportInterface transport 
)
pure virtual

◆ CreateRtpSender() [4/4]

virtual RTCErrorOr<std::unique_ptr<OrtcRtpSenderInterface> > webrtc::OrtcFactoryInterface::CreateRtpSender ( cricket::MediaType  kind,
RtpTransportInterface transport 
)
pure virtual

◆ CreateRtpTransport() [1/2]

virtual RTCErrorOr<std::unique_ptr<RtpTransportInterface> > webrtc::OrtcFactoryInterface::CreateRtpTransport ( const RtcpParameters rtcp_parameters,
PacketTransportInterface rtp,
PacketTransportInterface rtcp,
RtpTransportControllerInterface transport_controller 
)
pure virtual

◆ CreateRtpTransport() [2/2]

virtual RTCErrorOr<std::unique_ptr<RtpTransportInterface> > webrtc::OrtcFactoryInterface::CreateRtpTransport ( const RtcpParameters rtcp_parameters,
PacketTransportInterface rtp,
PacketTransportInterface rtcp,
RtpTransportControllerInterface transport_controller 
)
pure virtual

◆ CreateRtpTransportController() [1/2]

virtual RTCErrorOr<std::unique_ptr<RtpTransportControllerInterface> > webrtc::OrtcFactoryInterface::CreateRtpTransportController ( )
pure virtual

◆ CreateRtpTransportController() [2/2]

virtual RTCErrorOr<std::unique_ptr<RtpTransportControllerInterface> > webrtc::OrtcFactoryInterface::CreateRtpTransportController ( )
pure virtual

◆ CreateUdpTransport() [1/4]

virtual RTCErrorOr<std::unique_ptr<UdpTransportInterface> > webrtc::OrtcFactoryInterface::CreateUdpTransport ( int  family,
uint16_t  min_port,
uint16_t  max_port 
)
pure virtual

◆ CreateUdpTransport() [2/4]

virtual RTCErrorOr<std::unique_ptr<UdpTransportInterface> > webrtc::OrtcFactoryInterface::CreateUdpTransport ( int  family,
uint16_t  min_port,
uint16_t  max_port 
)
pure virtual

◆ CreateUdpTransport() [3/4]

RTCErrorOr<std::unique_ptr<UdpTransportInterface> > webrtc::OrtcFactoryInterface::CreateUdpTransport ( int  family)
inline

◆ CreateUdpTransport() [4/4]

RTCErrorOr<std::unique_ptr<UdpTransportInterface> > webrtc::OrtcFactoryInterface::CreateUdpTransport ( int  family)
inline

◆ CreateVideoSource() [1/4]

virtual rtc::scoped_refptr<VideoTrackSourceInterface> webrtc::OrtcFactoryInterface::CreateVideoSource ( std::unique_ptr< cricket::VideoCapturer capturer,
const MediaConstraintsInterface constraints 
)
pure virtual

◆ CreateVideoSource() [2/4]

virtual rtc::scoped_refptr<VideoTrackSourceInterface> webrtc::OrtcFactoryInterface::CreateVideoSource ( std::unique_ptr< cricket::VideoCapturer capturer,
const MediaConstraintsInterface constraints 
)
pure virtual

◆ CreateVideoSource() [3/4]

rtc::scoped_refptr<VideoTrackSourceInterface> webrtc::OrtcFactoryInterface::CreateVideoSource ( std::unique_ptr< cricket::VideoCapturer capturer)
inline

◆ CreateVideoSource() [4/4]

rtc::scoped_refptr<VideoTrackSourceInterface> webrtc::OrtcFactoryInterface::CreateVideoSource ( std::unique_ptr< cricket::VideoCapturer capturer)
inline

◆ CreateVideoTrack() [1/2]

virtual rtc::scoped_refptr<VideoTrackInterface> webrtc::OrtcFactoryInterface::CreateVideoTrack ( const std::string id,
VideoTrackSourceInterface source 
)
pure virtual

◆ CreateVideoTrack() [2/2]

virtual rtc::scoped_refptr<VideoTrackInterface> webrtc::OrtcFactoryInterface::CreateVideoTrack ( const std::string id,
VideoTrackSourceInterface source 
)
pure virtual

◆ GetRtpReceiverCapabilities() [1/2]

virtual RtpCapabilities webrtc::OrtcFactoryInterface::GetRtpReceiverCapabilities ( cricket::MediaType  kind) const
pure virtual

◆ GetRtpReceiverCapabilities() [2/2]

virtual RtpCapabilities webrtc::OrtcFactoryInterface::GetRtpReceiverCapabilities ( cricket::MediaType  kind) const
pure virtual

◆ GetRtpSenderCapabilities() [1/2]

virtual RtpCapabilities webrtc::OrtcFactoryInterface::GetRtpSenderCapabilities ( cricket::MediaType  kind) const
pure virtual

◆ GetRtpSenderCapabilities() [2/2]

virtual RtpCapabilities webrtc::OrtcFactoryInterface::GetRtpSenderCapabilities ( cricket::MediaType  kind) const
pure virtual

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