-
Notifications
You must be signed in to change notification settings - Fork 86
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
Unable to access live camera stream using Public IP #812
Comments
Sorry. What IP address did you expose? You should not expose the elastic IP. |
We tried what was mentioned for external-ip on kubernetes but now even UI is not loading for our AWS instance by using elastic or private ip. When using the application using docker-swarm over an aws instance with Private Ip as 1.1.1.1(suppose) and elastic ip as 2.2.2.2(suppose)
Accessing UI at 1.1.1.1
When accessing UI using 2.2.2.2(elastic ip)
The ideal flow of the code should be that it should first call the api/search to get all the sensor details then the seson id is being passed to api/sensor to get stream and room id and these data are being passed to api/token which sends the token which is being passed to the OWT's join method to socket.io calls but when running on elastic IP for socket.io calls we are not able to get the remotestream so there is no mediastream to be published to the src object of the video, basically the wss call is not getting any message to show live stream. |
Have you opened UDP ports 10000-10010? For each office instance, there are 10 UDP ports allocated for webrtc streaming. So if you run 2 offices, the UDP port range is 10000-10020. |
Also, please make sure the |
Hi, We have made the suggested changes as follows
We have opened all the ports for UDP transmission also. |
What's the symptom of not loading? Try curl -vvv https://xxxx and what's the output? |
Hi, Output is as follows
Also firewall ports are enabled
We have also enabled all ports for tcp and udp on aws console security rules. |
Are you behind a firewall? If so, have you enabled proxy settings so that curl can go through the proxy? |
Hi, 443 port is not occupied on kubernetes master node. Currently we are assigning external ip to our cloud-web service. Also firewall is enabled on the system and i have enable ports on it as given in output above. Please correct me if i am missing something. |
Strange that you see no binding of port 443. But anyway, you have access to the UI right? In the app, there are two places that are really critical to make the UI and WebRTC work: The WebRTC IP address is responsible for the live camera streaming. This IP address should be your elastic IP. |
Hi ,
We tried running the application in AWS environment and we have enabled all the ports in security rules.
We are able to ping our elastic ip from inside the vm also.
But when we try to start live streaming from our personal laptop using this elastic ip, it does not work.
When we try running the same using private ip of vm or localhost from browser of AWS VM , it works fine.
Regards,
The text was updated successfully, but these errors were encountered: