|
iOS SDK API Reference
|
SKWPeer initialize option class. More...
#import <SKWPeerOption.h>
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) | |
| BOOL | tryReconnectMedia |
| Set the value to YES to try to reconnect automatically when the SKWMediaConnection with the other side is lost. More... | |
| BOOL | tryReconnectData |
| Set the value to YES to try to reconnect automatically when the data connection is lost. More... | |
| SKWPeerCredential *__nullable | credential |
SKWPeer initialize option class.
|
readwritenonatomicassign |
Prints log messages depending on the debug level passed in.
Defaults to PEER_DEBUG_LEVEL_NO_LOGS.
|
readwritenonatomicassign |
PeerServer host.
Defaults to 0.peerjs.com. Also accepts '/' to signify relative hostname
|
readwritenonatomicassign |
The path where your self-hosted PeerServer is running.
Defaults to '/'.
|
readwritenonatomicassign |
Set the value to YES to try to reconnect automatically when the data connection is lost.
The default value is NO.
|
readwritenonatomicassign |
Set the value to YES to try to reconnect automatically when the SKWMediaConnection with the other side is lost.
The default value is NO..
|
readwritenonatomicassign |
Using SkyWay TURN server.
(Need to request for a TURN server use to SkyWay)
|
readwritenonatomicassign |
Type of the PeerServer.
Defaults to PEER_TYPE_SKYWAY.
1.8.17