Improve Video Playback
Currently video plays via WebTorrent only which is slow. There are also some player issues (rotating device) but those are player related.
From what I understand if we were to use WebRTC video could start playing right away.
I could use some help with this as I am not very familiar with WebRTC especially on Android.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
I don't think you could use WebRTC in the application, but it's weird the video playing is slow. Does your torrent library supports WebSeed? If an Android application only uses TCP/UDP and WebSeed, I think it should be fine (even if it does not support WebRTC peers).
I am not sure if the library supports WebSeed. I am currently using https://github.com/TorrentStream/TorrentStream-Android but I will look into it or maybe switch to another library. Thanks
Also bear in mind that if there are no peers on the video and the main instance doesn't have a lot of upload bandwidth at the moment then it can be slow to get playback going without buffering, which I also misinterpreted as being due to the webtorrent delivery.
Doesn't the app need to use WebRTC to interact with WebTorrent peers? If it doesn't support WebTorrent peers doesn't that only leave the server's webseed, and at that point it would not be much better than direct delivery from the server?