Closed cedricve closed 1 year ago
Hi @cedricve,
This is because your are capturing JPEG, the payload type 26. Your device should be able to capture H264 frame, then you will get an H264 stream with SPS & PPS.
Best Regards, Michel.
Oh my god that explains it :) It’s indeed a USB camera, I was assuming to have your library doing internal encoding. My bad looks like it requires a passthrough with FFMPEG.
Hi,
The approach is lightweight, just capture frames from v4l2 interface and publish through RTSP, encoding can be done between the real device and a v4l2loopback one.
Best Regards, Michel.
Hey @mpromonet amazing work here!
I'm using the joy4 library and noticed that the Describe method using your RTSP server is missing codec information (which is unexpected and is deviating from the RFC). Is there any particular reason for this?
https://github.com/kerberos-io/joy4/blob/master/format/rtsp/client.go#L664
We receive something like this:
But would expect to have an a=rtmap record for the codec like this.