Skip to content

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

@zwonb

Description

@zwonb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions