Closed phanijsp closed 3 years ago
I'm not sure what you question is. A seekbar? This is not a video player library.
My bad. I've got it working. Thanks for the the library
My bad. I've got it working. Thanks for the the library Hey @phanijsp Can you please share the code?
@maxakash I have used exoplayer video library for that. I have used this demo for starters https://github.com/google/ExoPlayer/blob/release-v2/demos/main/src/main/java/com/google/android/exoplayer2/demo/PlayerActivity.java
You can get the file uri from Torrent and pass it on to video payer.
I can play the video once the file is downloaded. I was asking whether you were able to play the video file while it was downloading?
@maxakash Yes you can. In onStreamReady you'll get the torrent. From that torrent you can get the video file and feed it to the player. You can refer to the below sample. https://github.com/TorrentStream/TorrentStream-Android/blob/develop/sample/src/main/java/com/github/se_bastiaan/torrentstreamer/sample/MainActivity.kt
Hi, Can you please provide a sample with working seekbar