Hi please help me, I’m using the flask example of jetson-inference/python/www/flask work well when jetson and pc are connected with a Router, but when I tried it in an industrial environment where there is no router, only a switch layer 2,the website does open but the video doesn’t load.
@jrvargasf there seem to be challenges using WebRTC without internet because of the TURN negotiation, perhaps you could run a local STUN server? Or use RTP/RTSP for video streaming with another client.
Hi dusty_nv, thanks for your reply, I don’t know too much about STUN servers, but in the industrial enviroment we have only PLC, Jetson and PC for HMI connected by layer 2 switch , I don’t know if it’s possible to run local STUN server on Jetson or PC. My app use camera for cut steel beams in industrial enviroment, I use controls like the sliders in the example flask for calibrate the process of where send the bit for cut. That’s why I don’t know if change for RTP/RTSP for video streaming it’s better, easier and fast develop. I review And I try to initialize the app with python3 app.py --input=va1.avi --stun-server=disabled --ssl-key=/home/nova/jetson-inference/data/key.pem -ssl-cert=/home/nova/jetson-inference/data/cert.pem and appear in gtsEncoder video option: --stunServer disabled and in glDisplay video options: --stunServer disabled, I don’t know if I disable correct the stunServer but still not working the streaming keeps charging but never show the video (on jetson video works well and I use a video: va1.avi only to calibrate in industry I use the camera). Please help me with some solution.
@jrvargasf I identify with your issue and unfortunately am not a WebRTC expert myself, in fact that stack is quite complicated and the implementation in GStreamer has some quirks but is the most openly-available/portable one. From that GitHub thread, it would seem that even when STUN server is disabled in both the Jetson pipeline and webpage javascript, the browser still searches for internet connection. I had seen this project spins up a local STUN/TURN server but was not able to dig into it:
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.