Open TangmereCottage opened 1 day ago
Ok, so according to https://patchwork.libcamera.org/patch/14939/ (from 2021) "gstreamer: Avoid call to deprecated gst_element_get_request_pad()". gst_element_get_request_pad()
is the one that is failing. The current version of gst replaces gst_element_get_request_pad()
with gst_element_request_pad_simple()
. Will dig a bit more... Would be good to have the WebRTC be solid.
Please see upstream PR. https://github.com/dusty-nv/jetson-utils/pull/219/files When recompiling utils on CUDA=12.6 and the above change, everything seems to work
Update - changing to gst_element_request_pad_simple
is not the fix.
1/ When I run video-viewer /dev/video webrtc://@:8554/output
on the Orin, not in a docker, then everything works and I can see the video feed with Chromium at https://192.168.X.X:8554
2/ When I runvideo-viewer /dev/video webrtc://@:8554/output
inside a Jetson docker, and then try to access the video data from the host, then I get the same coredump as before.
Per @Fibo27, WebRTC used to work as of 6.0 and no longer works w/ the change to 6.1: https://github.com/dusty-nv/jetson-containers/issues/688#issuecomment-2418128928
Hi level summary:
jetson-utils
on an Orin with CUDA=12.6 and running video-viewer /dev/video webrtc://@:8554/output
=> Everything worksjetson-utils
INSIDE a new 6.1/12.6 docker image (e.g. the new Nano_LLM container) running video-viewer /dev/video webrtc://@:8554/output
=> coredump when accessing :8554
with a browser. So there is something about (1) docker containers in general, and/or (2) the new 12.6 docker containers, that do not play well with WebRTC as implemented in jetson-utils
.
@dusty-nv thanks for NanoLLM for CUDA=12.6 - works well!!
However, when I invoke it with:
and then go to
https://192.168.X.X:8554
to view the output,nano_llm
core dumps due to'sinkpad' should not be nullptr
. I'm invoking this from the Orin - the same thing happens forhttps://127.0.0.1:8554
etc.This is a known issue (see related discussion in
jetson-inference
https://github.com/dusty-nv/jetson-inference/issues/1619) and so I've disabled#enable-webrtc-hide-local-ips-with-mdns
inchrome://flags
, which did not help. The other suggestion has to do with the STUN server, but enabling/disabling that did not help.Anyone out there - any success with WebRTC from
jetson-containers
orjetson-utils
orjetson-inference
? If so, how did you get it to work?