Unity-Technologies / Unity-Technologies/com.unity.webrtc

[BUG]: E2ELantency calculation

Open
#1,025 0 comments 0 reactions 1 assignee View on GitHub

@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
  1. run E2ELatency
  2. see the latency value
  3. 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!

image

Anything else?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.