openvidu-ionic: iOS openvidu-server comment
This commit is contained in:
parent
4c18692c40
commit
43a7cf993c
@ -265,6 +265,7 @@ export class AppComponent implements OnDestroy {
|
||||
|
||||
getToken(): Promise<string> {
|
||||
if (this.platform.is('ios') && this.platform.is('cordova') && this.OPENVIDU_SERVER_URL === 'https://localhost:4443') {
|
||||
// To make easier first steps with iOS apps, use demos OpenVidu Sever if no custom valid server is configured
|
||||
this.OPENVIDU_SERVER_URL = 'https://demos.openvidu.io:4443';
|
||||
}
|
||||
return this.createSession(this.mySessionId).then((sessionId) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user