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

#import <RTCIceServer.h>

Inheritance diagram for RTCIceServer:
NSObject NSObject

Instance Methods

(nonnull instancetype) - NS_UNAVAILABLE
 
(instancetype) - initWithURLStrings:
 
(instancetype) - initWithURLStrings:username:credential:
 
(instancetype) - initWithURLStrings:username:credential:tlsCertPolicy:
 
(nonnull instancetype) - NS_UNAVAILABLE
 
(instancetype) - initWithURLStrings:
 
(instancetype) - initWithURLStrings:username:credential:
 
(instancetype) - initWithURLStrings:username:credential:tlsCertPolicy:
 
(instancetype) - initWithNativeServer: [implementation]
 
(instancetype) - initWithNativeServer: [implementation]
 

Class Methods

(RTCIceServer *) + serverFromJSONDictionary:
 
(RTCIceServer *) + serverFromJSONDictionary:
 

Properties

NSArray< NSString * > * urlStrings
 
NSStringusername
 
NSStringcredential
 
RTCTlsCertPolicy tlsCertPolicy
 
webrtc::PeerConnectionInterface::IceServer nativeServer [implementation]
 

Method Documentation

◆ initWithNativeServer:() [1/2]

- (instancetype) initWithNativeServer: (webrtc::PeerConnectionInterface::IceServer nativeServer
implementation

Initialize an RTCIceServer from a native IceServer.

◆ initWithNativeServer:() [2/2]

- (instancetype) initWithNativeServer: (webrtc::PeerConnectionInterface::IceServer nativeServer
implementation

Initialize an RTCIceServer from a native IceServer.

◆ initWithURLStrings:() [1/2]

- (instancetype) initWithURLStrings: (NSArray<NSString *> *)  urlStrings

Convenience initializer for a server with no authentication (e.g. STUN).

◆ initWithURLStrings:() [2/2]

- (instancetype) initWithURLStrings: (NSArray< NSString * > *)  urlStrings

Convenience initializer for a server with no authentication (e.g. STUN).

◆ initWithURLStrings:username:credential:() [1/2]

- (instancetype) initWithURLStrings: (NSArray< NSString * > *)  urlStrings
username: (nullable NSString *)  username
credential: (nullable NSString *)  credential 

Initialize an RTCIceServer with its associated URLs, optional username, optional credential, and credentialType.

◆ initWithURLStrings:username:credential:() [2/2]

- (instancetype) initWithURLStrings: (NSArray< NSString * > *)  urlStrings
username: (nullable NSString *)  username
credential: (nullable NSString *)  credential 

Initialize an RTCIceServer with its associated URLs, optional username, optional credential, and credentialType.

◆ initWithURLStrings:username:credential:tlsCertPolicy:() [1/2]

- (instancetype) initWithURLStrings: (NSArray< NSString * > *)  urlStrings
username: (nullable NSString *)  username
credential: (nullable NSString *)  credential
tlsCertPolicy: (RTCTlsCertPolicy)  NS_DESIGNATED_INITIALIZER 

Initialize an RTCIceServer with its associated URLs, optional username, optional credential, and TLS cert policy.

◆ initWithURLStrings:username:credential:tlsCertPolicy:() [2/2]

- (instancetype) initWithURLStrings: (NSArray< NSString * > *)  urlStrings
username: (nullable NSString *)  username
credential: (nullable NSString *)  credential
tlsCertPolicy: (RTCTlsCertPolicy)  NS_DESIGNATED_INITIALIZER 

Initialize an RTCIceServer with its associated URLs, optional username, optional credential, and TLS cert policy.

◆ NS_UNAVAILABLE() [1/2]

- (nonnull instancetype) NS_UNAVAILABLE

◆ NS_UNAVAILABLE() [2/2]

- (nonnull instancetype) NS_UNAVAILABLE

◆ serverFromJSONDictionary:() [1/2]

+ (RTCIceServer *) serverFromJSONDictionary: (NSDictionary *)  dictionary

Provided by category RTCIceServer(JSON).

◆ serverFromJSONDictionary:() [2/2]

+ (RTCIceServer *) serverFromJSONDictionary: (NSDictionary *)  dictionary

Provided by category RTCIceServer(JSON).

Property Documentation

◆ credential

- (NSString *) credential
readnonatomicassign

Credential to use if this RTCIceServer object is a TURN server.

◆ nativeServer

- PeerConnectionInterface:
readnonatomicassignimplementation

IceServer struct representation of this RTCIceServer object's data. This is needed to pass to the underlying C++ APIs.

◆ tlsCertPolicy

- (RTCTlsCertPolicy) tlsCertPolicy
readnonatomicassign

TLS certificate policy to use if this RTCIceServer object is a TURN server.

◆ urlStrings

- (NSArray< NSString * > *) urlStrings
readnonatomicassign

URI(s) for this server represented as NSStrings.

◆ username

- (NSString *) username
readnonatomicassign

Username to use if this RTCIceServer object is a TURN server.


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