Closed ghost closed 2 years ago
Just to confirm, you're getting the error on all three devices, but the video is only failing to play on one of the devices?
Could you share your stream with us? You can send to unitysupport@renderheads.com with "#1034" in the subject line if you can't share it publicly.
Can you reproduce this issue in our Demo_MediaPlayer scene?
The error occurs on all 3 devices. When it happens the video does not play. On the iPhone 11 and 8 a rebuild gets rid of the error (though can come back in another build), on iPhone XR it won't go away.
Using the demo scene, in a very quick test - from two test builds, the first build everything was ok. Going back into Unity, changing nothing just building, the video did not work and the same error was observered.
Email sent.
2021-12-01 17:29:48.187224+0000 Vodiac[99739:16539666] [Player] asset duration is 115.05 seconds
2021-12-01 17:29:48.187252+0000 Vodiac[99739:16539666] [Player] creating 3 player items
2021-12-01 17:29:48.188154+0000 Vodiac[99739:16539666] [Player] asset is compatible with AirPlay
2021-12-01 17:29:48.188235+0000 Vodiac[99739:16539666] [Player] asset has 1 audio tracks
2021-12-01 17:29:48.191433+0000 Vodiac[99739:16539666] Unbalanced calls to begin/end appearance transitions for <UnityViewControllerStoryboard: 0x1027229e0>.
2021-12-01 17:29:48.191734+0000 Vodiac[99739:16539666] Unbalanced calls to begin/end appearance transitions for <UnityPortraitOnlyViewController: 0x102721f50>.
2021-12-01 17:29:48.197682+0000 Vodiac[99739:16539666] [Player] player status is ready to play
2021-12-01 17:29:48.241253+0000 Vodiac[99739:16539666] [Player] failed to load resource, provide a decryption key or a key server url and/or a key server auth token
[AVProVideo] Error: Loading failed. File not found, codec not supported, video resolution too high or insufficient system resources.
RenderHeads.Media.AVProVideo.MediaPlayer:UpdateErrors()
RenderHeads.Media.AVProVideo.MediaPlayer:Update()
[AVProVideo] Error: Loading failed. File not found, codec not supported, video resolution too high or insufficient system resources.
RenderHeads.Media.AVProVideo.MediaPlayer:UpdateErrors()
RenderHeads.Media.AVProVideo.MediaPlayer:Update()
[AVProVideo] Error: Loading failed. File not found, codec not supported, video resolution too high or insufficient system resources.
RenderHeads.Media.AVProVideo.MediaPlayer:UpdateErrors()
RenderHeads.Media.AVProVideo.MediaPlayer:Update()
[AVProVideo] Error: Loading failed. File not found, codec not supported, video resolution too high or insufficient system resources.
RenderHeads.Media.AVProVideo.MediaPlayer:UpdateErrors()
RenderHeads.Media.AVProVideo.MediaPlayer:Update()
Your manifest has an error in it, the second entry starts hhttps://
, this is leading to the error.
The message about encryption is slightly misleading so we've improved on that.
Sorry, I don't know which manifest you mean or where to find it.
The m3u8 file linked from the URL you sent.
Describe the issue I'm inconsistently getting the error "Loading failed. File not found, codec not supported, video resolution too high or insufficient system resources" on some iOS devices.
The error is constantly spammed, even after mediaPlayer.Control.CloseMedia(); is called.
I can do a build for iPhone 11, get the error, go back to Unity and rebuild without changing anything, and the error will go away. However, this past week I'm constantly getting the error on iPhone XR and cannot get rid of it. The video that is not working on iPhone XR works without problem on iPhone 8 and 11, from the same builds.
The videos are streamed, I send a request to the server for a URL to the video, it returns it and I give that to the AVPro media play to open. It's an m3u8 file.
Looking through the logs for this post, I found the following error
2021-12-01 10:14:36.242780+0000 Vodiac[98998:16411053] [Player] failed to load resource, provide a decryption key or a key server url and/or a key server auth token
There is no encryption. I am unable to find anything else about this error Googling it - I assume it's from AVPro?Your Setup (please complete the following information):
Unity version: 2020.3.20
AVPro Video version (number and edition (trial/core/ultra/enterprise)): 2.2.4 Ultra
Operating system version: iOS 15
Device model: iPhone XR (also observed on iPhone 11, but less often)
Video specs (resolution, frame-rate, codec, file size): Resolution: 2880x1440 Frame-rate: 30 Codec: h264 File size: various
XCode version: 13.1
Logs