TWCIceServer Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | TWCIceOptions.h |
url
The URL for the ICE server.
@property (nonnull, nonatomic, readonly, copy) NSString *urlDiscussion
The URL for the ICE server.
Your server URL must begin with either the stun: or turn: scheme. For example, a STUN server could be defined as <stun:stun.company.com:port>.
Declared In
TWCIceOptions.h
– initWithURL:
Creates a TWCIceServer.
- (_Null_unspecified instancetype)initWithURL:(nonnull NSString *)serverUrlParameters
serverUrl |
The URL for your STUN or TURN server. |
|---|
Return Value
A TWCIceServer object.
Discussion
Creates a TWCIceServer.
Declared In
TWCIceOptions.h
– initWithURL:username:password:
Creates a TWCIceServer.
- (_Null_unspecified instancetype)initWithURL:(nonnull NSString *)serverUrl username:(nullable NSString *)username password:(nullable NSString *)passwordParameters
serverUrl |
The URL for your STUN or TURN server. |
|---|---|
username |
The username credential for your server. |
password |
The password credential for your server. |
Return Value
A TWCIceServer object.
Discussion
Creates a TWCIceServer.
Declared In
TWCIceOptions.h