Hello,
I have a video stream being sent by a Nvidia Jetson Nano. This stream is encoded in H264 and the profile-level-id is 42e01f.
On the client side, on localhost, Chrome and FireFox work perfectly. In the same LAN, only FireFox shows the video stream.
In the admin API, the session that is attached to the stream in localhost Chrome, has data on the out_stats as following:
https://pastebin.com/H9ar88Xz
In firefox localhost:
However, in the admin API when a client in the same LAN connects in Google Chrome, the out_stats is as follows:
This is the output in Janus when connected in LAN:
[WARN] [6870914578873958] Couldn't resolve mDNS address (9fe409d1-c530-49ca-9c84-ce178576e9cf.local), dropping candidate
[ERR] [ice.c:janus_ice_trickle_parse:764] [6870914578873958] Failed to parse candidate... (8)
[WARN] [6870914578873958] ICE failed for component 1 in stream 1, but let's give it some time... (trickle received, answer received, alert not set)
[ERR] [ice.c:janus_ice_check_failed:1691] [6870914578873958] ICE failed for component 1 in stream 1...
[janus.plugin.streaming-0x7f2348003400] No WebRTC media anymore [6870914578873958] WebRTC resources freed; 0x7f2348006810 0x7f23480035b0
After this messages, the admin API shows as follows:
On the other hand in Firefox, it works as expected:
To launch the stream, this is the code used:
gst-launch-1.0 -e nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1' ! nvv4l2h264enc profile=0 bitrate=8000000 insert-sps-pps=true ! rtph264pay mtu=1400 ! multiudpsink clients=
127.0.0.1:5000,
192.168.1.77:" + str(msg) + " sync=false async=false
What we've tried so far:
- Swapping between omx and v4l2 with no success.
- Trying different profile levels with no success.
- Using sdp_ip with public address (to avoid mDNS Warning)
There are some issues that make me quite confused regarding the compatibilities with the browsers:
On android, we can watch the video stream in Chrome but NOT on FireFox in LAN, but we can't on Linux. Windows, for some reason don't work on either. Neither does MacOS.
Mobile firefox has this output on Janus:
[ERR] [sdp.c:janus_sdp_process:351] [5312699124448869] SDP missing mandatory information
[ERR] [sdp.c:janus_sdp_process:352] [5312699124448869] (nil), (nil), 0x7f3940001ab0, 0x7f3940001ce0
[ERR] [janus.c:janus_process_incoming_request:1321] Error processing SDP
I don't understand why would chrome work on localhost and not on other devices in Linux.
The libnice version is 0.1.15
The janus-gateway version is from 13 January 2020 and it's this commit 1e6ac78842ba76613ea0991dda7b1e28078507be.
Thanks in advance,
Guilherme Rolo