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

Initialize WRTC #937

Merged
merged 1 commit into from Oct 4, 2016
Merged

Initialize WRTC #937

merged 1 commit into from Oct 4, 2016

Conversation

@DiegoRBaquero
Copy link
Member

DiegoRBaquero commented Oct 3, 2016

If the global WRTC variable is a function then call it to initialize it.

Related:

@feross
feross approved these changes Oct 4, 2016
@@ -101,9 +101,10 @@ function WebTorrent (opts) {
if (opts.wrtc) {
// TODO: remove in v1
console.warn('WebTorrent: opts.wrtc is deprecated. Use opts.tracker.wrtc instead')
self.tracker.wrtc = opts.wrtc // to support `webtorrent-hybrid` package
self.tracker.wrtc = opts.wrtc

This comment has been minimized.

Copy link
@feross

feross Oct 4, 2016

Member

Good call removing this comment -- this option can be used by any package, not just webtorrent-hybrid :)

@feross feross merged commit 1ebdd5c into master Oct 4, 2016
5 checks passed
5 checks passed
Node Security No known vulnerabilities found
Details
continuous-integration/appveyor/branch AppVeyor build succeeded
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@feross feross deleted the init-wrtc branch Oct 4, 2016
@feross

This comment has been minimized.

Copy link
Member

feross commented Oct 4, 2016

Actually, I think this belongs in bittorrent-tracker instead, since that's where the wrtc option gets used. Let's just support it there.

@feross

This comment has been minimized.

Copy link
Member

feross commented Oct 4, 2016

@lock

This comment has been minimized.

Copy link

lock bot commented May 4, 2018

This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue.

@lock lock bot locked as resolved and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.