Raise Event for Voice connection

Using Raise event option for object instantiation it does not connect voice

Please Clarify how to connect voice chat using raise event option.

Thanks in Advance.

Comments

  • JohnTubeJohnTube mod
    edited July 2019
    Hi @SaravanaPerumal,

    What do you mean?

    You can use Photon Voice 2 without PUN as explained here. It does not require object instantiation nor RaiseEvent. Of course, you are free to use RaiseEvent for advanced features combined with Photon Voice.
    There are two demo scenes for this in the package.
    Take a look at DemoVoiceUI.
  • Hi @JohnTube

    Because I am using Oculus Avatar system, So i Instantiate Avatar using Raise event options

    I added the Component PhotonVoiceView.cs to Local avatar and Remote Avatar, but its while Instantiate It does not connect Voice. please Clarify this.

    Thanks in Advance.
  • JohnTubeJohnTube mod
    edited July 2019
    Hi @SaravanaPerumal,

    So you are using "Manual Instantiation"?

    Are you using PUN's PhotonView? PhotonVoiceView requires it.
    If not, please use VoiceConnection, Recorder and Speaker components only as explained here.
    Or use PhotonVoiceNetwork, Recorder and Speaker components and change PhotonVoiceNetwork.SpeakerFactory to a custom one.

    The idea is to be able to link a local Speaker with a remote Recorder.
    With PhotonVoiceView we use PhotonView's ViewId to bind those.
    You can use a custom binding based on Recorder.UserObject or something else.
  • I am currently using manual instantiation method with photonVoiceView and now it perfectly connect voice chat but Avatar lip sync is not working.

    Can update regularly Avatar vice amplitude value from Local player audio source?

    Thanks in Advance.
Sign In or Register to comment.