In order to connect the iOS version of 'SkyWay Multiparty' to the JavaScript version, set the locationHost and locationPath variables as follows in the iOS code.
Example:
- Web application URL: http://localhost:8080/examples/multiparty-sample.html
- locationHost : "localhost:8080"
- locationPath : "/examples/multiparty-sample.html"
MultiPartyOption* option = [[MultiPartyOption alloc] init];
[option setKey:@"SkyWay APIKEY"];
[option setDomain:@"localhost"];
[option setLocationHost:@"localhost:8080"];
[option setLocationPath:@"/examples/multiparty-sample.html"];
[option setDebug:MP_DEBUG_LEVEL_ALL_LOGS];
[option setRoom:_strRoomName];
Comments
0 comments
Article is closed for comments.