Skip to content

Peer-2-peer realtime content streaming #5638

Answered by egbertbouman
KOLANICH asked this question in Ideas
Discussion options

You must be logged in to vote

Since UDP makes no guarantees on delivery, you'll probably want some protocol on top of UDP. Many years ago, we used libswift for this. However, we removed it from Tribler because of maintenance issues. It did work pretty well from what I remember, although I wouldn't recommend trying to revive it.

Currently, if you use Tribler for video streaming it's using either TCP or uTP (the protocol BitTorrent uses for UDP transfer). Note that uTP uses LEDBAT for congestion control, meaning that it will yield to TCP traffic. So, if you want to use UDP for live streaming, you're probably better using something like WebRTC. There are Python libraries for this (e.g. see aiortc for a asyncio library).

I…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by synctext
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #5638 on October 15, 2020 11:57.