huawei harmony os 4.2.0,android.net.ConnectivityManager$TooManyRequestsException

Open
#300 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, kotlin

Research direction

Reproduce the failure on a Huawei device running HarmonyOS 4.2 while monitoring the network-change path shown in the issue. Start with the peerConnection disposal and recreation sequence and investigate the reported android.net.ConnectivityManager$TooManyRequestsException. Done requires a verified handling or reproduction result that preserves the persistent peer connection requirement.

Written by the indexing model from the issue text.

Description

The error occurs on Huawei phones. Every time a network change happens, I dispose of the previous peer and recreate a new one to reconnect.We have a requirement to maintain a persistent peer connection, similar to a push-to-talk (PTT) intercom system.

`
try {
peerConnection?.dispose()
} finally {
peerConnection = null
}

peerConnection = peerConnectionFactory.createPeerConnection()

`

Image

Dominant language
Kotlin
Stars
890
Forks
109
Avg merge
11m
Merged PRs (30d)
2

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No 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.

More from GetStream/webrtc-android

All issues in GetStream/webrtc-android

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.