Hi I want to be able to track the duration of time the remote stream has been playing for…
Now I understand when a track is added we can set up a timer on the event ‘track’ handler, however this is not the same time as audio from the remote stream is being played, this is solely the time at which the remote track has been added to the peer connection.
When the RTCAudioSource associated with the track has a payload sent to it via onData, this is when the remote stream begins to play on the client side. I want to be able to track this duration…
Unfortunately I can’t use expo-av, as the URL associated with the remoteMediaStream is not compatible with Expo-AV.