iOS SDK API Reference

Properties | List of all members
SKWPeerOption Class Reference

SKWPeer initialize option class. More...

#import <SKWPeerOption.h>

Inheritance diagram for SKWPeerOption:

Properties

SKWPeerTypeEnum type
 Type of the PeerServer. More...
 
NSString *__nullable key
 API key for the cloud PeerServer.
 
NSString *__nullable host
 PeerServer host. More...
 
NSInteger port
 PeerServer port.
 
NSString *__nullable path
 The path where your self-hosted PeerServer is running. More...
 
BOOL secure
 Set to true if you're using SSL.
 
NSArray *__nullable config
 This contains any custom ICE/TURN server configuration.
 
SKWDebugLevelEnum debug
 Prints log messages depending on the debug level passed in. More...
 
NSString *__nullable domain
 Domain related to the SkyWay API Key.
 
BOOL turn
 Using SkyWay TURN server. More...
 
BOOL useH264
 Using Hardware codec H.264 (iOS 8.0 later)
 
SKWPeerCredential *__nullable credential
 

Detailed Description

SKWPeer initialize option class.

Property Documentation

◆ debug

- (SKWDebugLevelEnum) debug
readwritenonatomicassign

Prints log messages depending on the debug level passed in.

Defaults to PEER_DEBUG_LEVEL_NO_LOGS.

◆ host

- (NSString* __nullable) host
readwritenonatomicassign

PeerServer host.

Defaults to 0.peerjs.com. Also accepts '/' to signify relative hostname

◆ path

- (NSString* __nullable) path
readwritenonatomicassign

The path where your self-hosted PeerServer is running.

Defaults to '/'.

◆ turn

- (BOOL) turn
readwritenonatomicassign

Using SkyWay TURN server.

(Need to request for a TURN server use to SkyWay)

◆ type

- (SKWPeerTypeEnum) type
readwritenonatomicassign

Type of the PeerServer.

Defaults to PEER_TYPE_SKYWAY.