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

Problem with testing video viewer function #1825

Open
EmilienRNN opened this issue Apr 11, 2024 · 7 comments
Open

Problem with testing video viewer function #1825

EmilienRNN opened this issue Apr 11, 2024 · 7 comments

Comments

@EmilienRNN
Copy link

EmilienRNN commented Apr 11, 2024

Hello,

I have just discovered this repository and I wanted to try WebRTC for watching my V4L2 camera on browser. I have tried this function :
video-viewer /dev/video0 webrtc://@:8554/output function. This is creating a new window on my Jetson with the camera no problem. But, when I want to watch it through the web browser, there is the template like in the example but i don't see any video getting displayed.
I have also tried the other functions/applications for testing webrtc (flask, html, server) but it resulted in the same problem.
I am using e-con camera STURDeCAM31_CUOAGX.
Thanks for your help.

@dusty-nv
Copy link
Owner

Hi @EmilienRNN, can you try chrome or chromium browser, and disable chrome://flags#enable-webrtc-hide-local-ips-with-mdns ?

@EmilienRNN
Copy link
Author

Thanks for your quick answer ! I might be dumb but how should I process to do that ?

@dusty-nv
Copy link
Owner

@EmilienRNN that is on whatever client device you are running the browser on (could be a jetson). Just navigate to chrome://flags , then search enable-webrtc-hide-local-ips-with-mdns, disable it, and restart the browser. Then navigate to your jetson's port 8554

@EmilienRNN
Copy link
Author

EmilienRNN commented Apr 11, 2024

Okay I have tried on my personal computer over Wifi with my jetson and it worked on chrome. Is it normal that it is not working with Firefox directly on the jetson ? And can it work also on an android mobile with chrome or firefox installed ?

@dusty-nv
Copy link
Owner

With firefox there is a webrtc codec issue I've been unable to figure out, and honestly webrtc be super complicated with all the client support, so for now I recommend just using chrome. I have tested it on android with chrome and an iPad with Safari

@EmilienRNN
Copy link
Author

Thanks a lot about your help ! Is there a special android version in order to have the compatible chrome application ?

@dusty-nv
Copy link
Owner

@EmilienRNN I had tried it previously from Android phone using stock Chrome browser, and it worked. Also worked on iPad with Safari the last I tried it.

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