Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ice connecting through corporate proxy #284

@assadobaid

Description

@assadobaid

Summary

Pion ICE cannot create a connection to turn server if peers are behind a Corporate Proxy.

Motivation

When user configure a turn server in ICEServer configuration using transport tcp, e.g. turn:<my-server>:3478?transport=tcp. The ICE is not able to resolve the TCP address or Dial the turn server if the peers are behind a corporate proxy.
The ICE package uses net.DialTCP which is not aware of the proxy settings hence the dial and connection fails.

Describe alternatives you've considered

User should be able to tell/configure the ICE package that he/she is behind a proxy.
The Ice package implements a Dial method, preferly using "golang.org/x/net/proxy" to dial the turn server via the proxy.

Additional context

We can help implement this if you see above proposal as an acceptable solution.

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