remote-browser icon indicating copy to clipboard operation
remote-browser copied to clipboard

In some situations, the `play` event will trigger before the video is ready, and you will see the error in your screenshot.

Open zvirot1 opened this issue 2 years ago • 2 comments

          In some situations, the `play` event will trigger before the video is ready, and you will see the error in your screenshot.

Besides, if you are using a reverse proxy to proxy the requests(e.g. Nginx), you will need a TURN server.

https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/play https://webrtc.org/getting-started/turn-server

Originally posted by @bepsvpt in https://github.com/bepsvpt-me/remote-browser/issues/5#issuecomment-1396758592

zvirot1 avatar Oct 17 '23 12:10 zvirot1

Hello @zvirot1,

Can you please give a detailed explanation of how to work with a remote browser together with a turn server in Google's cloud environment?

To find relevant tutorials, use the keyword "turn server" in your search. For a more specific search, such as for Ubuntu OS, input "ubuntu turn server".

Do we need to set up a turn server or can we use a free turn server?

You can utilize a free TURN server if available. If not, you'll have to set up your own TURN server.

I would appreciate it if you could insert dummy values ​​into the .env.example file

If your TURN server is operating with the IP address "0.0.0.0" and on port "19403", your environment variables would appear as follows:

TURN_SERVER=0.0.0.0:19403
TURN_KEY=your-turn-server-secret-key

bepsvpt avatar Oct 17 '23 13:10 bepsvpt

Hi thanks for the explanation, it really helped. But there are 2 more points with problems 1. When you type text in input fields on the screen sometimes you don't see the text (when I pressed control a) the text appears another place on the screen, I am attaching a screenshot. 2. On the phone the screen does not appear at all.

You can enter the address: http://34.76.67.47:3000 -the url points to gmail to see the problems

I would be happy if you could guide me on how to solve the problems Thanks Zvi login-google

zvirot1 avatar Oct 20 '23 10:10 zvirot1