Ionic call video screen is not loading properly

I have downloaded the Openvidu ionic call project from the site, and when I tested everything works fine both in bowser and android device. But for the same project I have added few screens like login, and list of session available. When the user clicks on the session I am taking him to video room page but the video is not displayed. After refreshing the browser then video is displayed. I am not able to rectify where I am going wrong.

First of all I am not ionic developer but as I knew in angular call project
I think you missed room configure preset before entering room.

Check your code at this point.
Thanks

Hi Vipin, thanks for the reply. I am new to angular and ionic, I have fallowed their demo code. Below is the code to navigate.

join(): void {
if (this.mySessionId) {
this.mySessionId = this.mySessionId.replace(/ +(?= )/g, β€˜β€™);
if (this.mySessionId !== β€˜β€™ && this.mySessionId !== ’ β€˜) {
console.log(this.mySessionId === ’ β€˜);
this.router.navigate([’/’ + this.mySessionId]);
}
}
}

I can’t know which is the problem without error logs.

I only can tell you that there is a bug with ionic in openvidu-browser 2.15.0 and it is fixed in 2.15.0-alpha2 version.

Errors logs can help.

Regards

I am not getting any error.

Have you tested openvidu-browser 2.15.0-alpha2 version to see if issue is still there?

No, I think mistake was on my side. Later I downloaded new project from the site and integrated my code, now everything works fine.

1 Like

Nice @Naveen . Atlast your problem solved