Issue with ffmpeg and mediasoup

I have a strange scenario I’d like to discuss. I’m a newbie with Mediasoup and FFmpeg.

Here’s the functionality I’m trying to implement:

I’m using ZoneMinder, which can stream video.

I take the video and tile it (combine multiple streams into one) using FFmpeg.

Then I stream this combined video using Mediasoup.

I’ve written server-side code in Node.js that spawns an FFmpeg process and sends its output to Mediasoup. On the client side, I use Angular with the Mediasoup client library to consume the stream.

Here’s the strange part:

This setup works perfectly on Windows.

But when I switch to Linux, it doesn’t work — even though:

The codecs are the same.

The SSRCs and parameters are identical.

However, I noticed on the browser side that packets are being received, but nothing is displayed in the video element.

So I’m wondering:

Are these packets even valid?

What could be going wrong?