Skip to content

Resolving stun servers on main thread creates ANR from Android 11 and above.  #191

@asimhayat65

Description

@asimhayat65

Firstly i am resolving this stun server "stun2.l.google.com:19302" which has high priority.

StringVector servers = new StringVector();
if (stunservers == null || stunservers.size() < 1) {
servers.add("stun2.l.google.com:19302");
} else {
for (String s : stunservers) {
servers.add(s);
}
}

    mEndpoint.natUpdateStunServers(servers, true);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions