Go to the documentation of this file.
5 #import <Foundation/Foundation.h>
14 #ifndef DOXYGEN_SKIP_THIS
18 typedef NS_ENUM(NSUInteger, SKWPeerTypeEnum)
21 SKW_PEER_TYPE_SKYWAY = 0,
23 SKW_PEER_TYPE_PEERJS = 1,
24 } SKYWAY_API_DEPRECATED;
25 #endif // !DOXYGEN_SKIP_THIS
58 @property (nonatomic) SKWPeerTypeEnum
type SKYWAY_API_DEPRECATED;
63 @property (nonatomic) NSString* __nullable
key;
68 @property (nonatomic) NSString* __nullable
host;
73 @property (nonatomic) NSInteger
port;
78 @property (nonatomic) NSString* __nullable
path SKYWAY_API_DEPRECATED;
88 @property (nonatomic) NSArray* __nullable
config;
98 @property (nonatomic) NSString* __nullable
domain;
103 @property (nonatomic) BOOL
turn;
111 @property (nonatomic) BOOL
useH264 SKYWAY_API_DEPRECATED;
NSString *__nullable path
The path where your self-hosted PeerServer is running.
Definition: SKWPeerOption.h:78
BOOL secure
Set to true if you're using SSL.
Definition: SKWPeerOption.h:83
@ SKW_DEBUG_LEVEL_ONLY_ERROR
Prints only errors.
Definition: SKWPeerOption.h:39
BOOL tryReconnectData
Set the value to YES to try to reconnect automatically when the data connection is lost.
Definition: SKWPeerOption.h:125
SKWDebugLevelEnum
Debug output level.
Definition: SKWPeerOption.h:30
NSString *__nullable key
API key for the cloud PeerServer.
Definition: SKWPeerOption.h:63
BOOL useH264
Using Hardware codec H.264 (iOS 8.0 later)
Definition: SKWPeerOption.h:111
The credential used to authenticate peer.
Definition: SKWPeerCredential.h:14
NSString *__nullable domain
Domain related to the SkyWay API Key.
Definition: SKWPeerOption.h:98
NSInteger port
PeerServer port.
Definition: SKWPeerOption.h:73
SKWPeerTypeEnum type
Type of the PeerServer.
Definition: SKWPeerOption.h:58
@ SKW_DEBUG_LEVEL_NO_LOGS
Prints no logs.
Definition: SKWPeerOption.h:35
SKWDebugLevelEnum debug
Prints log messages depending on the debug level passed in.
Definition: SKWPeerOption.h:93
BOOL tryReconnectMedia
Set the value to YES to try to reconnect automatically when the SKWMediaConnection with the other sid...
Definition: SKWPeerOption.h:120
BOOL turn
Using SkyWay TURN server.
Definition: SKWPeerOption.h:103
@ SKW_DEBUG_LEVEL_ERROR_AND_WARNING
errors and warnings.
Definition: SKWPeerOption.h:43
SKWPeer initialize option class.
Definition: SKWPeerOption.h:53
@ SKW_DEBUG_LEVEL_ALL_LOGS
Prints all logs.
Definition: SKWPeerOption.h:47
NSArray *__nullable config
This contains any custom ICE/TURN server configuration.
Definition: SKWPeerOption.h:88
NSString *__nullable host
PeerServer host.
Definition: SKWPeerOption.h:68