Skip to content

Improve WebRTC handshake speed - low effort #119

@chmurson

Description

@chmurson

Context
Setting up a connection between two RTC connections can take sometime even one and a half minute.

To set up RTC connection between two peers we need a help from STUN and TURN servers. They contribute to creation of ICE candidates. Only after all are created the business logic sends offer/answer to the peer. Gathering all ICE candidates can take significant amount of time - 10-30s. This process happens on sides of both peers and it happens synchronously. Leader has to go for that process with every courtesy connection that it's about to set up.

What
This is low effort task.

Scope:

  • don't wait for all ICE candidates to be returned; wait for at least 1 local and 1 relay.
  • the solution may happen RTC connection to fail; but it should be low effort so worth to try

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions