Unity-Technologies / Unity-Technologies/com.unity.webrtc
[BUG]: E2ELantency calculation
Open
@karasusan is already working on this.
Since Mar 25, 2024.
bug
- Dominant language
- Assembly
- Stars
- 852
- Forks
- 238
- PR merge metrics
- No merged PRs in 30d
Description
Package version
3.0.0-pre.7
Environment
* OS:Windows11
* Unity version: 22.3LTS
Steps To Reproduce
- run E2ELatency
- see the latency value
- look into the code
Expected Behavior
Hello, I am a bit confusing about the calculation of latency.
When we look into the code, the update method should be called frequently as defined by targetFrameRate
I timestamped this method and it shows as I expected.
Then as the figure below, the current latency calculation should be similar to the 1000/fps.
however, the produced value is not as ecpected.
So nor of them run as I expected. I am not sure how the latency should behave.
Thanks for any information and help!
Anything else?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.