Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: manually specify ice candidates #500

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Aboot-face
Copy link

Problem

Current project is using a containerized environment, but specifying network=host is not always possible for some organizations.

Fix

I have enabled manually specifying ice candidates which allows for the use of a loadbalancer service or similar to get around the problem with container NAT networks.
ice_candidates is an optional parameter in the config.json file specified by:

if len(Storage.ServerICECandidates()) > 0 {
    options.ICECandidates = Storage.ServerICECandidates()
}

This is passed to vdk NewMuxer as it directly supports specifying ice candidates.

…AT networks like conatiners without --network host or network=host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant