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

[REQUEST]: Implemention of RtcDataChannel bufferedAmountLowThreshold and bufferedamountlow

Open
#994 1 comment 0 reactions 1 assignee View on GitHub

@karasusan is already working on this.

Since Oct 13, 2023.

enhancement issued
Dominant language
Assembly
Stars
852
Forks
238
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem?

We need to support large file transfers via data channel. I implemented a chunk algorithm to transfer small packets (32 kB) but when sending to many packets, they got lost. We could make a workaround by observing the BufferedAmount property and delaying further transfers.

Describe the solution you'd like

Support of bufferedAmountLowThreshold property and the corresponding bufferedamountlow event.

See https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/bufferedAmountLowThreshold

Describe alternatives you've considered

No response

Additional context

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.