Peer streams in openvidu-insecure-angular do not appear on Windows browsers

I am trying to get openvidu-insecure-angular working with two different clients and what happens is the peer video stream does not appear.

This is my setup:

  1. Docker on server, “docker run -p 4443:4443 --rm -e OPENVIDU_SECRET=MY_SECRET -e DOMAIN_OR_PUBLIC_IP=192.168.1.231 openvidu/openvidu-server-kms:2.15.0”

  2. ng on server, “ng serve --host=0.0.0.0 --ssl=true --sslCert=c:\projects\openvidu-tutorials\cert.pem --sslKey=c:\projects\openvidu-tutorials\key.pem”

When I run the example, I see the subscriber event occurring, see attached image, and the logs appear correct. It is just the remote streaming does not work. The local streaming does work.

Are these examples suppose to work with window clients?


Thanks,

Aaron

Sure, this local setup should work just fine in Windows. I see that ICE negotiation triggers “disconnected” event (the warning log of your console). How are you running container openvidu-server-kms? Are you using Docker for Windows?

I am using Docker Desktop Community Version 2.1.0.5. The docker engine is 19.03.5. My setup is three machines all on the same LAN. One is running the docker container with the command line above and the openvidu-insecure-angular server with the Windows modifications. The other two machines had a web browser tab to the angular app and another tab for the openvidu dashboard to make sure I do not have a cert issue.

I am running the container with this command in a powershell window:

docker run -p 4443:4443 --rm -e OPENVIDU_SECRET=MY_SECRET -e DOMAIN_OR_PUBLIC_IP=192.168.1.231 openvidu/openvidu-server-kms:2.15.0

What else could I look at as to why those disconnects are happening? Is there something I can set in the container when it is run?

Thanks,

Aaron

I discovered another post where the fellow is encountering the same issue, see Remote Particiapnt Video Not Showing.

I changed OPENVIDU_SERVER_URL to point to “https://demos.openvidu.io/” and the remote video appeared.

Can I just this openvidu server for my testing? I assume something is wrong with the local container running.

Thanks,

Aaron

OpenVidu development process is designed for local development. It is possible that if you use some versions of Docker in Windows, you can not use OpenVidu in the LAN.

You can use demos.openvidu.io server for quick testing, but it is not always available, so take care. I recommend you to deploy your own OpenVidu platform in a linux box.

Regards