How to sync voice with OnPhotonSerializeView data?
Options
jelmer1
✭
in Photon Voice
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=?
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=?
0
Comments
-
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 hologram0 -
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 usePhotonVoiceView.IsSpeaking
(Photon Voice 2) on the same player without the need for an extra PhotonView or extra sync. code.0