webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Instance Methods | Properties | List of all members
RTCPeerConnectionFactory Class Reference

#import <RTCPeerConnectionFactory.h>

Inheritance diagram for RTCPeerConnectionFactory:
NSObject NSObject

Instance Methods

(instancetype) - NS_DESIGNATED_INITIALIZER
 
(RTCAudioSource *) - audioSourceWithConstraints:
 
(RTCAudioTrack *) - audioTrackWithTrackId:
 
(RTCAudioTrack *) - audioTrackWithSource:trackId:
 
(RTCAVFoundationVideoSource *) - avFoundationVideoSourceWithConstraints:
 
(RTCVideoTrack *) - videoTrackWithSource:trackId:
 
(RTCMediaStream *) - mediaStreamWithStreamId:
 
(RTCPeerConnection *) - peerConnectionWithConfiguration:constraints:delegate:
 
(BOOL- startAecDumpWithFilePath:maxSizeInBytes:
 
(void- stopAecDump
 
(instancetype) - NS_DESIGNATED_INITIALIZER
 
(RTCAudioSource *) - audioSourceWithConstraints:
 
(RTCAudioTrack *) - audioTrackWithTrackId:
 
(RTCAudioTrack *) - audioTrackWithSource:trackId:
 
(RTCAVFoundationVideoSource *) - avFoundationVideoSourceWithConstraints:
 
(RTCVideoTrack *) - videoTrackWithSource:trackId:
 
(RTCMediaStream *) - mediaStreamWithStreamId:
 
(RTCPeerConnection *) - peerConnectionWithConfiguration:constraints:delegate:
 
(BOOL- startAecDumpWithFilePath:maxSizeInBytes:
 
(void- stopAecDump
 

Properties

rtc::scoped_refptr< webrtc::PeerConnectionFactoryInterfacenativeFactory [implementation]
 

Method Documentation

◆ audioSourceWithConstraints:() [1/2]

- (RTCAudioSource *) audioSourceWithConstraints: (nullable RTCMediaConstraints *)  constraints

Initialize an RTCAudioSource with constraints.

◆ audioSourceWithConstraints:() [2/2]

- (RTCAudioSource *) audioSourceWithConstraints: (nullable RTCMediaConstraints *)  constraints

Initialize an RTCAudioSource with constraints.

◆ audioTrackWithSource:trackId:() [1/2]

- (RTCAudioTrack *) audioTrackWithSource: (RTCAudioSource *)  source
trackId: (NSString *)  trackId 

Initialize an RTCAudioTrack with a source and an id.

◆ audioTrackWithSource:trackId:() [2/2]

- (RTCAudioTrack *) audioTrackWithSource: (RTCAudioSource *)  source
trackId: (NSString *)  trackId 

Initialize an RTCAudioTrack with a source and an id.

◆ audioTrackWithTrackId:() [1/2]

- (RTCAudioTrack *) audioTrackWithTrackId: (NSString *)  trackId

Initialize an RTCAudioTrack with an id. Convenience ctor to use an audio source with no constraints.

◆ audioTrackWithTrackId:() [2/2]

- (RTCAudioTrack *) audioTrackWithTrackId: (NSString *)  trackId

Initialize an RTCAudioTrack with an id. Convenience ctor to use an audio source with no constraints.

◆ avFoundationVideoSourceWithConstraints:() [1/2]

- (RTCAVFoundationVideoSource *) avFoundationVideoSourceWithConstraints: (nullable RTCMediaConstraints *)  constraints

Initialize an RTCAVFoundationVideoSource with constraints.

◆ avFoundationVideoSourceWithConstraints:() [2/2]

- (RTCAVFoundationVideoSource *) avFoundationVideoSourceWithConstraints: (nullable RTCMediaConstraints *)  constraints

Initialize an RTCAVFoundationVideoSource with constraints.

◆ mediaStreamWithStreamId:() [1/2]

- (RTCMediaStream *) mediaStreamWithStreamId: (NSString *)  streamId

Initialize an RTCMediaStream with an id.

◆ mediaStreamWithStreamId:() [2/2]

- (RTCMediaStream *) mediaStreamWithStreamId: (NSString *)  streamId

Initialize an RTCMediaStream with an id.

◆ NS_DESIGNATED_INITIALIZER() [1/2]

- (instancetype) NS_DESIGNATED_INITIALIZER

◆ NS_DESIGNATED_INITIALIZER() [2/2]

- (instancetype) NS_DESIGNATED_INITIALIZER

◆ peerConnectionWithConfiguration:constraints:delegate:() [1/2]

- (RTCPeerConnection *) peerConnectionWithConfiguration: (RTCConfiguration *)  configuration
constraints: (RTCMediaConstraints *)  constraints
delegate: (nullable id< RTCPeerConnectionDelegate >)  delegate 

Initialize an RTCPeerConnection with a configuration, constraints, and delegate.

◆ peerConnectionWithConfiguration:constraints:delegate:() [2/2]

- (RTCPeerConnection *) peerConnectionWithConfiguration: (RTCConfiguration *)  configuration
constraints: (RTCMediaConstraints *)  constraints
delegate: (nullable id<RTCPeerConnectionDelegate>)  delegate 

Initialize an RTCPeerConnection with a configuration, constraints, and delegate.

◆ startAecDumpWithFilePath:maxSizeInBytes:() [1/2]

- (BOOL) startAecDumpWithFilePath: (NSString *)  filePath
maxSizeInBytes: (int64_t maxSizeInBytes 

Start an AecDump recording. This API call will likely change in the future.

◆ startAecDumpWithFilePath:maxSizeInBytes:() [2/2]

- (BOOL) startAecDumpWithFilePath: (NSString *)  filePath
maxSizeInBytes: (int64_t maxSizeInBytes 

Start an AecDump recording. This API call will likely change in the future.

◆ stopAecDump() [1/2]

- (void) stopAecDump

◆ stopAecDump() [2/2]

- (void) stopAecDump

◆ videoTrackWithSource:trackId:() [1/2]

- (RTCVideoTrack *) videoTrackWithSource: (RTCVideoSource *)  source
trackId: (NSString *)  trackId 

Initialize an RTCVideoTrack with a source and an id.

◆ videoTrackWithSource:trackId:() [2/2]

- (RTCVideoTrack *) videoTrackWithSource: (RTCVideoSource *)  source
trackId: (NSString *)  trackId 

Initialize an RTCVideoTrack with a source and an id.

Property Documentation

◆ nativeFactory

- (scoped_refptr<)webrtc:
readnonatomicassignimplementation

PeerConnectionFactoryInterface created and held by this RTCPeerConnectionFactory object. This is needed to pass to the underlying C++ APIs.


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