RenderHeads / UnityPlugin-AVProVideo

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

AvProVideo v3, in android, 2 mp4s can't be played at the same time. #2026

Open HyundongHwang opened 6 days ago

HyundongHwang commented 6 days ago

Describe the issue Hello. In AvProVideo v3, in android, 2 mp4s can't be played at the same time. This issue doesn't occur on ios, macOS.

Your Setup

To Reproduce

  1. btnLoad
    • Load v0.mp4, v1.mp4 to 2 MediaPlayers _mp0, _mp1 at the same time.
  2. btnPlay01
    • Play _mp0, _mp1 at the same time.
  3. You can see that only _mp1 is played.
  4. After that, if you stop and do btnPlay01 again, you can see that only _mp0 is played.

ScreenShot

ScreenShot

Chris-RH commented 5 days ago

Hi,

Please don't post links to project files or apk here. Please can you remove the repo from your github. Can you instead send them to unitysupport@renderheads.com

HyundongHwang commented 5 days ago

@Chris-RH Yes, I did as you requested.

I deleted the public project and sent it to you as an attachment to the email. If you need help debugging, please let me know.

Chris-RH commented 5 days ago

Hi,

We've reproduced the bug and think that we know the cause.

Ste-RH commented 5 days ago

I believe this is an issue caused by the fix for issue #1967 in v3.0.9

We will have to revert that fix in order to address this one, then find another way to address that issue. It might actually be an issue with media3/ExoPlayer - I have opened an issue with them to question it

EDIT: You could test this theory in your use-case by grabbing the AVPro Video trial v3.0.8

HyundongHwang commented 5 days ago

Yes, that's right.

It works fine in v3.0.8.

video title

Ste-RH commented 5 days ago

This should be fixed in the next release.

1967 should also remain fixed (albeit with a different fix applied)