PV not working on Magic leap through Unity

I'm trying to get PV to work on magic leap. With out any of the opus_egpy or libopus_egpy files enabled for the lumin platform I can hear the other person (not using a magic leap headest), I have tried enabling all the different android and ARM versions of those. some of them allow me to still hear the other person others do not, but none of them allow for the other person to hear me. I have done a mic check on the magic leap and we are 100% positive that we are getting mic input. I am running Lumin SDK 0.16.0 with Unity 2018.1.9f1-MLTP8.1

my problem sounds very similar to this post http://forum.photonengine.com/discussion/9569/photon-voice-not-working-on-android-daydream but I have already made sure that we are correctly setting the microphone permissions and it does ask for permission before it will enable the microphone.

Comments

  • I am willing to try out a beta version if you have one for magic leap
  • Cal we get some input from the Photon Voice team on this? We are encountering the same issue. Please advise, thanks.
  • vadimvadim ✭✭✭
    Currently we do not provide support for Magic Leap. Depending on underlying platform, Magic Leap may work with one of existing Photon native libraries. Please set PUN logging to Informational in PUN settings, run application and share full app log from both clients.
  • charliecharlie
    edited November 9
    Are there any updates on this issue? I've tried building a handful of ways, and I am able to hear other players on the ML1, but I can't hear the ML1 elsewhere. I've enabled all the relevant permissions/build settings to enable voice access. Depending on the settings, I have gotten the following two errors from the ML1 logs (sorry for the formatting, not sure how to keep these from wrapping):

    11-08 11:51:16.068 3208 1 W Unity : [PV] MicWrapper does not support suggested frequency 24000 (min: 16000, max: 16000). Setting to 16000
    11-08 11:51:16.068 3208 1 W Unity : Stacktrace is not supported on this platform.
    11-08 11:51:16.068 3208 1 W Unity : (Filename: C:/buildslave/unity/build\Runtime/Export/Debug.bindings.h Line: 43)
    11-08 11:51:16.068 3208 1 W Unity :
    11-08 11:51:16.686 3208 1 E Unity : EntryPointNotFoundException: Unable to find an entry point named 'opus_encoder_ctl_set' in 'opus_egpv'.
    11-08 11:51:16.686 3208 1 E Unity : at UnityEngine.JsonUtility.FromJson (System.String json, System.Type type) [0x00000] in :0
    11-08 11:51:16.686 3208 1 E Unity : at UnityEngine.JsonUtility.FromJson (System.String json, System.Type type) [0x00000] in :0
    11-08 11:51:16.686 3208 1 E Unity : at POpusCodec.Wrapper.opus_encoder_ctl_set (IntPtr st, OpusCtlSetRequest request, Int32 value) [0x00000] in :0
    11-08 11:51:16.686 3208 1 E Unity : at POpusCodec.Wrapper.set_opus_encoder_ctl (IntPtr st, OpusCtlSetRequest request, Int32 value) [0x00000] in :0
    11-08 11:51:16.686 3208 1 E Unity : at POpusCodec.OpusEncoder.set_Bitrate (Int32 value) [0x00000] in :0
    11-08 11:51:16.686 3208 1 E Unity : at POpusCodec.OpusEncoder..ctor (SamplingRate inputSamplingRateHz, Channels numChannels, Int32 bitrate, OpusApplicationType applicationType, Delay encoderDelay) [0x00000] in :0

    11-08 11:29:28.455 2720 1 W Unity : Plugins: Couldn't open /package/bin/libopus_egpv.so, error: dlopen failed: "/package/bin/libopus_egpv.so" is 32-bit instead of 64-bit
    11-08 11:29:28.455 2720 1 W Unity : Stacktrace is not supported on this platform.
    11-08 11:29:28.455 2720 1 W Unity : (Filename: Line: 246)
    11-08 11:29:28.455 2720 1 W Unity :
    11-08 11:29:28.465 2720 1 E Unity : DllNotFoundException: Unable to load DLL 'opus_egpv': The specified module could not be found.
    Thanks a lot, any ideas you had about fixes or what it might take to get it supported on the ML1 would be appreciated.
  • Here's the error I get from the ML1, depending on the build settings:
    11-08 11:51:16.067  3208     1 E Unity   : EntryPointNotFoundException: Unable to find an entry point named 'opus_encoder_ctl_set' in 'opus_egpv'.
    11-08 11:51:16.067 3208 1 E Unity : at UnityEngine.JsonUtility.FromJson (System.String json, System.Type type) [0x00000] in :0
    11-08 11:51:16.067 3208 1 E Unity : at UnityEngine.JsonUtility.FromJson (System.String json, System.Type type) [0x00000] in :0
    11-08 11:51:16.067 3208 1 E Unity : at POpusCodec.Wrapper.opus_encoder_ctl_set (IntPtr st, OpusCtlSetRequest request, Int32 value) [0x00000] in :0
    11-08 11:51:16.067 3208 1 E Unity : at POpusCodec.Wrapper.set_opus_encoder_ctl (IntPtr st, OpusCtlSetRequest request, Int32 value) [0x00000] in :0
    11-08 11:51:16.067 3208 1 E Unity : at POpusCodec.OpusEncoder.set_Bitrate (Int32 value) [0x00000] in :0
    I am able to hear other players but not speak to them no matter which mic settings I choose. Any updates or ideas?
  • vadimvadim ✭✭✭
    edited November 14
    Hi,

    Can you provide full logs with settings as described in my previous post from both clients for the case when other players are audible?
Sign In or Register to comment.