Log in or register to post comments

Videoplayback Unity Sample 2.0.7, Android, SetVolume Bug

April 13, 2013 - 2:42am #1

Vuforia SDK Version: 2.0.31 -

Description with steps to reproduce:

Calling SetVolume on the videohelper object on Android does not change the volume, because the wrapper around the Java-call in VideoPlayerHelper.cs is wrong.

    private bool videoPlayerSetVolume(float value)
    {
        return GetJavaObject().Call<bool>("setVolume");
    }

The parameter value must be passed to get call. This updated line of code makes it work:

 

    private bool videoPlayerSetVolume(float value)
    {
        return GetJavaObject().Call<bool>("setVolume", value);
    }
 

-

Development OS (Mac OS X, Windows, Linux): windows -

Mobile OS and Version: Android -

Mobile Device Manufacturer and Model name: Galaxy S2 -

Do the Vuforia Sample Applications show the same behavior?: It happens in a Sample Application ...

Videoplayback Unity Sample 2.0.7, Android, SetVolume Bug

April 15, 2013 - 3:49am #2

Hi ,

thanks for reporting this issue (and for sharing the fix as well)

I have forwarded it to the Vuforia team.

 

Log in or register to post comments