RenderHeads / UnityPlugin-AVProVideo

AVPro Video is a multi-platform Unity plugin for advanced video playback
https://www.renderheads.com/products/avpro-video/
226 stars 28 forks source link

IsPlaying changes to False once buffering is complete on ios 14 #506

Closed scottshidlovsky closed 3 years ago

scottshidlovsky commented 3 years ago

Describe the bug On iOS version 14.x when control IsBuffering changes from true to false, the state changes to IsPaused but the current time ms continues to increase. This does not occur on IOS version 13.x. On version 13.x the video stays in a isbuffering state for the length of the video. Another observation, pausing the video does not work on first try. Pausing the video for the second time, resets the state to be correct, until the buffering is set to false again.

Your Setup (please complete the following information):

To Reproduce

  1. Start playing video
  2. Wait until buffering is complete
  3. Pause the video, see it does not work on first try and state is incorrect
  4. Pause the video a second time, the video correctly pauses and is in the correct state
  5. Play the video
  6. Wait until buffering is complete
  7. See the state be set incorrect again as seen in step 2

Logs

AVPro:: mediaPlayer.Control.IsPlaying() = True 10:57:02 AM
AVPro:: mediaPlayer.Control.IsBuffering() = True 10:57:02 AM
AVPro:: mediaPlayer.Control.IsPaused() = False 10:57:02 AM
AVPro:: mediaPlayer.Control.IsLooping() = False 10:57:02 AM
AVPro:: mediaPlayer.Control.GetCurrentTimeMs() = 933.7468 10:57:02 AM

AVPro:: mediaPlayer.Control.IsPlaying() = True 10:57:02 AM
AVPro:: mediaPlayer.Control.IsBuffering() = True 10:57:02 AM
AVPro:: mediaPlayer.Control.IsPaused() = False 10:57:02 AM
AVPro:: mediaPlayer.Control.IsLooping() = False 10:57:02 AM
AVPro:: mediaPlayer.Control.GetCurrentTimeMs() = 980.2606 10:57:02 AM

AVPro:: mediaPlayer.Control.IsPlaying() = False 10:57:02 AM
AVPro:: mediaPlayer.Control.IsBuffering() = False 10:57:02 AM
AVPro:: mediaPlayer.Control.IsPaused() = True 10:57:02 AM
AVPro:: mediaPlayer.Control.IsLooping() = False 10:57:02 AM
AVPro:: mediaPlayer.Control.GetCurrentTimeMs() = 1047.826 10:57:02 AM

AVPro:: mediaPlayer.Control.IsPlaying() = False 10:57:02 AM
AVPro:: mediaPlayer.Control.IsBuffering() = False 10:57:02 AM
AVPro:: mediaPlayer.Control.IsPaused() = True 10:57:02 AM
AVPro:: mediaPlayer.Control.IsPaused() = True 10:57:02 AM
AVPro:: mediaPlayer.Control.IsLooping() = False 10:57:02 AM
AVPro:: mediaPlayer.Control.GetCurrentTimeMs() = 1074.413 10:57:02 AM

Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE

Instead email the link to us unitysupport@renderheads.com

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 3 years ago

This issue has been automatically closed because it has not had recent activity. If you wish to continue this issue, then please create a new issue as we do not monitor closed issues.