WSCIceServer Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | WSCIceServer.h |
Overview
WSCIceServer representation holding URL, username and password for an ICE server.
The allowed formats for the url string are:
“TYPE:203.0.113.2:3478” - Indicates a specific IP address and port for the server.
“TYPE:relay.example.net:3478” - Indicates a specific host and port for the server; the user agent
will look up the IP address in DNS.
“TYPE:example.net” - Indicates a specific domain for the server; the user agent will look up
the IP address and port in DNS.
The “TYPE” is one of:
- STUN - Indicates a STUN server
- STUNS - Indicates a STUN server that is to be contacted using a TLS session.
- TURN - Indicates a TURN server
- TURNS - Indicates a TURN server that is to be contacted using a TLS session.
url
URL of ICE Server. For example, “turn:10.111.12.13:3478”.
@property (nonatomic, copy, readonly) NSString *urlDiscussion
URL of ICE Server. For example, “turn:10.111.12.13:3478”.
Declared In
WSCIceServer.h
username
Username for the ICE Server.
@property (nonatomic, copy, readonly) NSString *usernameDiscussion
Username for the ICE Server.
Declared In
WSCIceServer.h
password
Password for the ICE Server.
@property (nonatomic, copy, readonly) NSString *passwordDiscussion
Password for the ICE Server.
Declared In
WSCIceServer.h
– initWithUrl:username:password:
- (instancetype)initWithUrl:(NSString *)url username:(NSString *)username password:(NSString *)passwordDeclared In
WSCIceServer.h