Skip to content

Unity IOS FPS drop in m3u8 video

Summary

We're encountering an issue with the video player. When attempting to play a video using the m3u8 format, we are now seeing frame drops on the device, while playback with an mp4 URL works fine. We are testing this using the example scene of the VLC player with our CloudFront URL.

CloudFront URL of m3u8 video: https://d1wfmi80ljcet8.cloudfront.net/Darwin_Newts_EP015_HD1080_25fps_H264/Darwin_Newts_EP015_HD1080_25fps_H264/Darwin_Newts_EP015_HD1080_25fps_H264_1080.m3u8

I'm also sharing screen recording video URLs of the video with m3u8 and mp4 formats so you can see what we're seeing. VLC with m3u8: https://drive.google.com/file/d/1BoXmXxZsDCjKGHTcYa3xCsSZWgs9SMGv/view?usp=share_link VLC with mp4: https://drive.google.com/file/d/1Bnzxb2EgJ5gZmaXRjVBVuIz-Sgwb3MN7/view?usp=share_link

Minimal project and steps to reproduce

  • OS: IOS

  • Version all versions

  • Device: iphone and ipad

  • VLC Unity plugin version vlc-unity-ios-0.2.2.unitypackage, Paid version

  • Scripting backend used Il2cpp