UnityRenderStreaming
UnityRenderStreaming copied to clipboard
[REQUEST] Testing WebRTC workflow streaming latency
How could I test all workflow latency in Unity Render streaming template?
I want to test like these B streaming video to C
- B encode streaming cost time
- B streaming video to C cost time
- C decode streaming cost time
Thanks for any help!
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
memo: URS-389
Related issue. https://github.com/Unity-Technologies/com.unity.webrtc/issues/578