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.
Tasks
-
url
property -
username
property -
password
property -
– initWithUrl:
-
– initWithUrl:username:password:
-
– init
Properties
password
Password for the ICE Server.
@property (nonatomic, copy, readonly) NSString *password
Discussion
Password for the ICE Server.
Declared In
WSCIceServer.h
Instance Methods
initWithUrl:
Returns an initialized WSCCall object URL.
- (instancetype)initWithUrl:(NSString *)url
Parameters
- url
ICE Server URL.
Discussion
Returns an initialized WSCCall object URL.
Declared In
WSCIceServer.h