RenderHeads / UnityPlugin-AVProVideo

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

[iOS] FinishedPlaying is not received when seek to end. #1082

Open dw8869 opened 2 years ago

dw8869 commented 2 years ago

FinishedPlaying is not received when seek to end.

Editor(Windows), android received event.

my code: mediaPlayer.Control.Seek(mediaPlayer.Info.GetDuration());

kahnivore commented 2 years ago

Are you not receiving the event on iOS or in the Windows editor?

kahnivore commented 2 years ago

Seeking shouldn't trigger the 'finished playing' event, because we don't count that as 'playing', i.e. this is by design. We'll need to look into why this doesn't match on all platforms and decide whether to add a flag for reaching the end via seeking.

dw8869 commented 2 years ago

@kahnivore Only iOS not received.