[iOS] VideoView can't display video
geektop opened this issue · comments
@geektop I'm experiencing this same issue on iOS. It plays the sound but no video plays. The logs are filled with:
[h264 @ 0x7f8931536800] get_buffer() failed
[h264 @ 0x7f8931536800] thread_get_buffer() failed
[h264 @ 0x7f8931536800] decode_slice_header error
[h264 @ 0x7f8931536800] no frame!
I see that you closed this Issue. How did you fix it to get video to play on iOS?
@drowe5 @rretamal I have the same issue on iOS, in my case even the sound is not played and I don't see the video. Looking at the output, I can see the same logs like the ones that @drowe5 reported.
I've tested the project on two different iOS devices, one running iOS 14 and the other latest iOS 17 and there's the same problem on both.
I released a PR for the fix. The problem is that the control didn't have sufficient size to render the player so I set the width for the control along with height and the problem was resolved.