Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upHow do i know if a torrent is uploaded via WebRTC supported client #1654
Comments
This comment has been minimized.
This comment has been minimized.
Not exactly. A person that uses webtorrent-desktop can download a "regular" torrent and add own websocket trackers to make the torrent discoverable by webtorrent in the browser.
You don't know exactly what's inside the torrent by just looking in the magnet link if the magnet link has I would say that guessing based on just magnet link is a bad idea. cuz you can never really know if it was created by a WebRTC client |
This comment has been minimized.
This comment has been minimized.
|
Only way to know is to download the metadata (fileList) and check wether or not the extension is supported
|
This comment has been minimized.
This comment has been minimized.
|
Also WebTorrent in the browser only supports streaming mp4 fragments. if you need a wider range of supported container have a look at |
This comment has been minimized.
This comment has been minimized.
|
Hi @msqaddura To add onto @jimmywarting's answer, if the torrent does have a Alternatively you can perform a shotgun approach and query the main As there's adequate information here and this is more of a question, I'm going to close this issue but please feel to continue the conversation in here if you need any more help or guidance. Kind regards |
This comment has been minimized.
This comment has been minimized.
|
Thank you all guys <3 I will take it from here |
My apologies but i have been trying to find an answer, and thought maybe i can best get it here so this is rather a question than an issuee.
I understand that for a torrent to work in the browser with webtorrent it needs to be uploaded by a client that supports WebRTC (vuze, webtorrent-desktop.....and this list go on).
My question is, can I know if the torrent supports WebRTC? or maybe the client that uploaded it? I dont want to play guessing game on wether the video will play in browser or not. is that possible by magnet link, file url, or any other means?
Thank you in advance