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

Changing volume does not affect sound on Android platform #1930

Open Quovadistom opened 4 days ago

Quovadistom commented 4 days ago

Describe the issue When trying to change the volume of videos with sound on an Android device, the actual volume does not change. I've added logs all the way to the implementations of BaseMediaPlayer and it seems that the actual value is passed on correctly. However, nothing is happening in any of the implementations of BaseMediaPlayer (NullMediaPlayer, WebGLMediaPlayer, WindowsMediaPlayer, WindowsRtMediaPlayer). I've also tested with an adapted version of the mediaplayer/ui from an AVPro demo scene (Demo_MediaPlayer), which shows the same issue. No errors. Windows and iOS work as expected.

Your Setup (please complete the following information):

To Reproduce Android phone:

  1. Build and run Demo_MediaPlayer scene
  2. Try changing volume -> no audio change

Quest 2

  1. Grab the MediaPlayer & MediaPlayerUI from the Demo_MediaPlayer scene
  2. Create a Quest-ready scene
  3. Paste the copied items in this scene
  4. Make sure UI is interactable (and world space)
  5. Build to Quest 2
  6. Open the application in Quest 2
  7. Move volume slider -> no audio change
Ste-RH commented 4 days ago

Thanks for reporting this. We have identified the issue and there will be a fix in for it in the next release (v3.0.6).

Chris-RH commented 6 hours ago

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