I had a similar problem with ffmpeg, as documented in this thread:
I fixed it on the ffmpeg side by just ignoring any packet with a length of 0. I’m using the C interface to ffmpeg, I’m not sure if that’s possible with the command line.
This only started becoming a problem with recent version of libwebrtc (around M89 I think)