Hello Janus Community,
I hope this message finds you well. I’m currently facing some challenges with my setup involving a UVC device, UV4L, WebRTC, and Janus videoroom. I would greatly appreciate any insights or advice from the community to help troubleshoot and resolve these issues.
Setup Overview
I’m using a UVC device to capture an HDMI video stream. The UV4L framework is employed to send this stream to WebRTC, and from there, it’s routed to Janus videoroom for further processing.
On webrtc the video takes time to start up (5s to 30s) for high resolution (>SD), there is no video breakup observed.
Issues Encountered:
When I force the hardware encoder in the WebRTC HTTP call and set the videoroom plugin configuration file to use the H.264 codec, I’m experiencing some video breakup when I access my stream app via Google Chrome. Interestingly, this issue doesn’t manifest has bad or often when I use Microsoft Edge.
Moreover, I’ve noticed that the stream takes a considerable amount of time to start when I’m streaming at higher resolutions. In addition to this, more video breakup occurs, where I hear the audio first, but the video takes anywhere from 30 seconds to 5 minutes to begin displaying.
Attempted Solutions
I’ve attempted to mitigate these issues by reducing the resolution and frame rate of the stream. Unfortunately, this approach hasn’t yielded the desired results.
Community Help Request
I am aware of another encoder like vp8 which works perfectly, however, I want to use the hardware acceleration on my raspberry pi, and use the h264 encoder.
I’m reaching out to the Janus community in the hope of finding solutions or insights that might shed light on the root causes of these problems. If anyone has encountered similar issues or has expertise in dealing with WebRTC, UV4L, and Janus, your guidance would be immensely valuable.
Specifically, I would appreciate advice on the following:
- Possible reasons for the video breakup on Chrome but not on Edge.
- Strategies to address the delay in video start-up when streaming at higher resolutions.
- Suggestions to further optimize the configuration to ensure smooth video streaming.
Any input, recommendations, or experiences you can share would be incredibly helpful in troubleshooting and resolving these challenges. Thank you in advance for your time and assistance.
Best regards,
Joshua kalima