so iv been doing a massive amount of digging through photon voice's code for the last couple days and i'm trying to find the latency between the audio being sent from player 2, and arriving at player 1 (not when it plays).
i'm thinking something with using server time and calculating the difference between it being sent, and arriving, i think ill put the calculation for when it has arrived on the photon speaker component under "OnAudioFrame" but where do i put the the piece of code that takes the timestamp from when the audio frame was sent?
i hope that's clear enough, anyone have any idea?
Thanks!
i'm thinking something with using server time and calculating the difference between it being sent, and arriving, i think ill put the calculation for when it has arrived on the photon speaker component under "OnAudioFrame" but where do i put the the piece of code that takes the timestamp from when the audio frame was sent?
i hope that's clear enough, anyone have any idea?
Thanks!