video track is sideways in Firefox

I have a video call app using mediasoup-client v3.6.45. When I join with Chrome, the consumed video stream is oriented correctly. When I join a call with Firefox, the consumed video stream is rotated sideways.

I’ve tried looking at track.getSettings().aspectRatio on the return value of transport.consume. In Chrome, it’s a number. In Firefox, it’s undefined. Could this be related?

Any suggestions what I can debug to learn more? I found the mediasoup-client handler receive methods but nothing stood out.

Did you try this: mediasoup :: Tricks?

1 Like

I went to sleep last night realizing that I’d also noticed the problem in FFmpeg. This documentation looks spot on, thanks for drawing it to my attention.