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

Clean up RTCPeerConnection creation #93

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

third774
Copy link
Collaborator

Now that we don't need the empty track anymore this can be made a little easier by directly instantiating the RTCPeerConnection

Now that we don't need the empty track anymore this can be made a little
easier by directly instantiating the RTCPeerConnection
function createPeerConnection(
configuration: RTCConfiguration = {
iceServers: [{ urls: 'stun:stun.cloudflare.com:3478' }],
bundlePolicy: 'max-bundle',
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this wasn't being applied previously 🤦🏻‍♂️

@third774 third774 merged commit 4af2783 into main Aug 21, 2024
2 checks passed
@third774 third774 deleted the clean-up-peer-connection-creation branch August 21, 2024 18:23
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.

2 participants