2023-11-01, 03:38 PM
This is what transcoding is for. The client will tell the server that the media is incompatible and request a transcode/remux. No need for you to figure this out ahead of time. Unless your setup is incapable of transcoding and/or you need/want to avoid transcoding for other reasons.