Bump libtorrent to 2.1 and add WebTorrent sample (groundwork for #18) - #21
Merged
Conversation
Switch libs/libtorrent from RC_2_0 (2.0.13) to RC_2_1 (v2.1.0 + 122 bugfix commits). Groundwork for WebTorrent support (#18): 2.1 ships the WebRTC/WebSocket-tracker code, kept disabled for now (webtorrent=OFF) until the libdatachannel + TLS toolchain work lands. No JNI changes needed; RC_2_1 adds deps/libdatachannel and deps/asio-gnutls submodules (only built when webtorrent=ON).
New Sample Torrents row pointing at the same Sintel torrent through the modern WebTorrent trackers (tracker.webtorrent.dev, openwebtorrent.com, btorrent.xyz) plus the webtorrent.io web seed. Groundwork for #18: once the engine is built with webtorrent=ON this row demonstrates sharing with browser peers; until then it still downloads via DHT.
Browser-peer sharing isn't live until the engine builds with webtorrent=ON; don't claim it in the UI yet.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stage 1 of WebTorrent support (#18).
Changes
87264011d= v2.1.0 + 122 upstream fixes, from the jpcottin/libtorrent fork, synced with upstream). 2.1 ships the WebRTC/WebSocket-tracker code needed for WebTorrent.webtorrent=OFFin app CMake for now — enabling it needs libdatachannel sub-submodules + a TLS stack forwss://trackers on Android (stage 2, separate PR).wss://trackers (tracker.webtorrent.dev, openwebtorrent.com, btorrent.xyz) + webtorrent.io web seed. Inert trackers until stage 2; still downloads via DHT today.deps/libdatachannelanddeps/asio-gnutlssubmodules (only built whenwebtorrent=ON; CI's recursive checkout handles them).Verification