简体   繁体   中英

I cannot play Ant Media Server recorded mp4 file in iOS. How to fix?

I am using Ant Media Server as a WebRTC media server. I publish my webcam with WebRTC from browser. I have also enabled mp4 recording. I can play recorded files on Linux and Windows. But I can't play some of them on iOS. How can I solve this?

This can be fixed by encoding file. But learning why it happens is better. Since Ant Media Server records WebRTC streams, WebRTC changes internal resolution dynamically which means mp4 files resolution is also changed on-the-fly. This is handled well in other platforms but not on the IOS yet. So, encoding the file again would likely fix it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM