How to sync voice with OnPhotonSerializeView data?

I'm recording and sending a user's mouth via OnPhotonSerializeView and sending audio via Photon Voice.
How can I sync the two up?
For the data, I could do something with PhotonNetwork.Time but how would I sync that with the audio? Does the audio have a timestamp=?

Comments

  • jelmer1
    jelmer1
    edited June 2019
    PS: the two are on separate photonViews. Would the audio and data sync magically by putting it all on the same photon view?

    To clarify the use case: it's a talking hologram
  • JohnTube
    JohnTube ✭✭✭✭✭
    edited June 2019
    Hi @jelmer1,

    Thank you for choosing Photon!

    What Photon Voice version are you using?

    What is required to sync the user's mouth?

    If you want to know if the player is speaking or not you could use PhotonVoiceView.IsSpeaking (Photon Voice 2) on the same player without the need for an extra PhotonView or extra sync. code.