I’m seeking for help for a specific problem. I’m having a MediaSoup client running on a Raspberry PI using skymaze/pymediasoup and GStreamer.
The PI acts as a
producer, sending H.264 video to the Mediasoup server. From there a web client
consumes the video.
The producer stats on the MediaSoup server confirm the proper reception of H.264 video from all sources mentioned below.
I’m feeding H.264 NAL units directly into the aiortc code used by pymediasoup, thus being able to utilize cameras which are providing H.264 directly. The video is provided by various different pipelines.
This works perfectly for H.264 USB cams. It does not work with the PI CSI cam. It also works with the output of the
x264enc software encoder but again not with the output of the
v4l2h264enc hardware encoder and also not with
Recordings of all H.264 feeds locally on the PI can be perfectly played back using ffplay.
I have added consumer stats on the server. In all cases there are upcounting stats for
inbound-rtp, so the SFU works. But just in the case of the working USB cam I’m having upcounting stats on the
outbound-rtp. How to say? Is the browser not fed or didn’t it start fetching? I don’t know.
Could anybody help me to narrow down this issue?
PS all feeds are working perfectly with the browser using aiortc and P2P webrtc.
Thanks in advance.