Giter Club home page Giter Club logo

Comments (5)

pq53ui avatar pq53ui commented on May 28, 2024 1

Disabling that chrome flag helped. I am able to see the stream and reconnect to it while the capture loop is going too!

Thank you!
I am mostly working in headless mode, so pipeline full doesn't worry me too much right now. But it's good to know how to make it disappear.

And again, thanks for quick response.

from jetson-inference.

dusty-nv avatar dusty-nv commented on May 28, 2024

Hi @pq53ui, are you able to view WebRTC stream with video-viewer / video-viewer.py first?

It looks like the mDNS hostname resolution is working for you, but have you also tried setting chrome://flags/#enable-webrtc-hide-local-ips-with-mdns in your browser?

from jetson-inference.

pq53ui avatar pq53ui commented on May 28, 2024

Thanks for the quick response.

I ran the video-viewer.py
Same issue, I get the same gray screen as in the screenshot.
I have tried enabling the chrome flag as well, no difference.

I am getting the same output as I have posted above

Maybe a few additional outputs

[webrtc] resolved 5ff934f4-6ebf-4a7c-984c-b4a83b1134df.local for 192.168.1.5 in incoming ICE message
[webrtc] candidate:2191427754 1 udp 2113937151 192.168.1.5 57232 typ host generation 0 ufrag l8h+ network-cost 999
[webrtc] websocket /output -- recieved message from 192.168.1.5 (peer_id=0) (236 bytes)
[webrtc] received ICE message on /output from 192.168.1.5 (peer_id=0) with mline index 0; candidate: 
candidate:2128326268 1 udp 2113939711 9aed251a-ffef-4d2c-a1bd-845889b8c5e0.local 54438 typ host generation 0 ufrag l8h+ network-cost 999
[gstreamer] gstEncoder -- pipeline full, skipping frame 25 (640x360, 345600 bytes)
video-viewer:  captured 25 frames (640 x 360)

I assume this is due to not running it in --headless. If I run it in --headless, I don't get the pipeline full warnings.

I have also seen

[network] getHostByName() trying to resolve host '9aed251a-ffef-4d2c-a1bd-845889b8c5e0.local' (retry 1 of 10)

this line a few times before. Trying to understand if that plays any role as well.

Its bugging me that it sometimes works under certain (unknown) conditions. But in most cases I can't get it to work.

from jetson-inference.

dusty-nv avatar dusty-nv commented on May 28, 2024

I have also seen

[network] getHostByName() trying to resolve host '9aed251a-ffef-4d2c-a1bd-845889b8c5e0.local' (retry 1 of 10)

this line a few times before. Trying to understand if that plays any role as well.

Ok yea, that is the mDNS thing - if you disable that chrome flag and restart the browser, you shouldn't get that anymore

[gstreamer] gstEncoder -- pipeline full, skipping frame 25 (640x360, 345600 bytes)

Try commenting out this if block of code, and recompiling/reinstalling:

https://github.com/dusty-nv/jetson-utils/blob/5a5bb422eada7fdbd7d0f53806cf8e0889f2352f/codec/gstEncoder.cpp#L515

Sorry that WebRTC can be finicky sometimes with the connection/negotiation, and the gstreamer plugins for it aren't super robust

from jetson-inference.

dgdgksj avatar dgdgksj commented on May 28, 2024

I have also seen

[network] getHostByName() trying to resolve host '9aed251a-ffef-4d2c-a1bd-845889b8c5e0.local' (retry 1 of 10)

this line a few times before. Trying to understand if that plays any role as well.

Ok yea, that is the mDNS thing - if you disable that chrome flag and restart the browser, you shouldn't get that anymore

[gstreamer] gstEncoder -- pipeline full, skipping frame 25 (640x360, 345600 bytes)

Try commenting out this if block of code, and recompiling/reinstalling:

https://github.com/dusty-nv/jetson-utils/blob/5a5bb422eada7fdbd7d0f53806cf8e0889f2352f/codec/gstEncoder.cpp#L515

Sorry that WebRTC can be finicky sometimes with the connection/negotiation, and the gstreamer plugins for it aren't super robust

Thanks @dusty-nv Just by disabling the "Anonymize local IPs exposed by WebRTC" option in chrome://flags/, I got it resolved.

from jetson-inference.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.