Skip to content

WebRTC cannot establish P2P connection in a network intense environment #1

@phoenix850508

Description

@phoenix850508

I've tested using WebRTC Stream Manager in several occasions of web streaming demo, however, I failed to demo video stream via webRTC seemingly due to P2P connection cannot find the right IP.

While using less stable network (mobile hotspot in a crowded area) to connect with NX server, the webRTC websocket's SDP shows two types of ICE candidates:

  1. type srflx
  2. typ relay

From my understanding, these SDP messages means the webRTC manager uses either STUN or TURN server to help with the P2P connection. However, it still failed to make connection to show video streams.

Is there any way I could fix this problem? A lot of time I'll be in the situation where less stable network connection is expected, and I want to be able to use webRTC to demo video stream because of the low latency advantage.

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