UnityRenderStreaming icon indicating copy to clipboard operation
UnityRenderStreaming copied to clipboard

[REQUEST] Testing WebRTC workflow streaming latency

Open qpaozixu opened this issue 4 years ago • 3 comments

How could I test all workflow latency in Unity Render streaming template?

I want to test like these B streaming video to C

  1. B encode streaming cost time
  2. B streaming video to C cost time
  3. C decode streaming cost time

Thanks for any help!

qpaozixu avatar Dec 15 '20 12:12 qpaozixu

I am sorry but I am not sure how to get the data that you want from the WebRTC API. I guess you need to use the GetStats API. https://docs.unity3d.com/Packages/[email protected]/manual/statistics.html

This discussion might be related to your wants. https://github.com/w3c/webrtc-stats/issues/537

karasusan avatar Dec 16 '20 01:12 karasusan

memo: URS-389

karasusan avatar Jan 25 '22 03:01 karasusan

Related issue. https://github.com/Unity-Technologies/com.unity.webrtc/issues/578

karasusan avatar Feb 08 '22 02:02 karasusan