Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zvirot1 opened this issue Oct 17, 2023 · 2 comments

Comments

@zvirot1
Copy link

zvirot1 commented Oct 17, 2023

          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 #5 (comment)

@bepsvpt
Copy link
Contributor

bepsvpt commented Oct 17, 2023

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

@zvirot1
Copy link
Author

zvirot1 commented Oct 20, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants