That was done recently in https://github.com/arvidn/libtorrent/pull/4123, merged to master, but hasn't been released yet.
Per the master changelog, that should be soon, I guess... https://github.com/arvidn/libtorrent/blob/master/ChangeLog
It's built on top of WebRTC.
Webtorrent and regular torrents can exist of the same file, but crucially, at least some small percentage of the people in the network have to support both webtorrent and regular torrent to act as a kind of bridge between the two.
If this isn't the case, you might have a webtorrent user who has the file, and a regular torrent user who wants the file, but the two people can't connect to eachother because they're talking different protocols, so the file won't be delivered.
The actual .torrent file is the same for both, so it already has support there.
> Or in being to transparently talk to web clients from transmission
This. Currently if all peers who have the data of a torrent are webtorrent clients, then transmission won't be able to download that file.
Most importantly, the webtorrent ecosystem is still small, and browser-based webtorrent-only clients suffer because frequently they can't get the file data they need because all the other peers only talk the original-torrent protocol.
If it supported these as a transport mechanism, transmission would be able to communicate with torrent clients that run in the browser, making the potential number of peers much higher (both for swarms that are mostly in-browser, and for those that have a majority of traditional clients). It would be very useful for seeding peertube videos from transmission, for instance, which was the quoted use-case.
Let's say I have a movie I want to let other people stream with their browser. I am obligated to use some javascript horror webtorrent-compatible client. If I already have a seedbox running transmission I simply cannot use that for this purpose, which is a shame
In a general sense, any video content where the bitrate is lower than the typical users upload bitrate could work for a webtorrent only swarm of 'regular' users who aren't going to do anything special for network health.
Notable ones include Libtorrent[1], Peertube[2], and their own Webtorrent Desktop[3].
1. https://github.com/arvidn/libtorrent/issues/223
2. https://peertube-viewer.com/posts/2021-02-20-peertube-viewer...