RenderHeads / UnityPlugin-AVProVideo

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

[Android] First Frame Ready invoked when closing the player #2065

Open bentalebahmed opened 2 weeks ago

bentalebahmed commented 2 weeks ago

Unity version

2021.3.18f1

Unity editor platform

Windows

AVPro Video edition

Core

AVPro Video version

Core Mobile Edition version 3.011

Device hardware

PICO 4 enterprise

Which Android OS version are you using?

10

Unity Graphics API

OpenGLES 3

Video API

media3/ExoPlayer

Texture format

Y Cb Cr 420_OES

Audio output

Unity

Any other Media Player component configuration required to reproduce the issue.

No response

Which output component(s) are you using?

Apply to Mesh

Any other component configuration required to reproduce the issue.

No response

The issue

When I start the player, I get the First Frame Ready event, but when I close the player, I also get the First Frame Ready event on my Unity VR app using Pico 4

Media information

No response

Logcat output

No response

Chris-RH commented 2 weeks ago

Can you provide a full, unfiltered logcat in txt format please, showing all the events.

bentalebahmed commented 2 weeks ago

Here is the logcat logcat.txt, I played a video in flat screen after that I did another as a 360 video. Notice after the Closing event, i get [MetaDataReady, Started, ResolutionChanged, FirstFrameReady, ResolutionChanged] events.

Chris-RH commented 2 weeks ago

Could you provide an unfiltered logcat please

Ste-RH commented 1 week ago

We have put a fix in for this. It will be available in the next release (v3.1.3).

bentalebahmed commented 1 week ago

Thank you

Ste-RH commented 1 week ago

Re-openeing - we will close when release is out and fix confirmed with yourself @bentalebahmed :)

Chris-RH commented 6 days ago

AVPro Video version 3.1.3 has been released. Please let us know if it has not fixed your issue.