video-dev / hls.js

HLS.js is a JavaScript library that plays HLS in browsers with support for MSE.
https://hlsjs.video-dev.org/demo
Other
14.94k stars 2.59k forks source link

How to use in Android Native App ? #5581

Open patelakshay13890 opened 1 year ago

patelakshay13890 commented 1 year ago

What do you want to do with Hls.js?

How to use this lib in Android Native App to play HLS URL ? I'm new to this so please help me out

What have you tried so far?

No response

robwalch commented 1 year ago

If you want a native HLS player for Android, there is ExoPlayer.

HLS.js is a JavaScript Web based HLS player. A ChromeView or WebView could be used to embed a page with HLS.js in an Android app.

patelakshay13890 commented 1 year ago

So how can I use the same js in WebView Android? Please provide sample or links for the same

On Wed, 21 Jun 2023 at 00:24, Rob Walch @.***> wrote:

If you want a native HLS player for Android, there is ExoPlayer https://exoplayer.dev/.

HLS.js is a JavaScript Web based HLS player. A ChromeView or WebView could be used to embed a page with HLS.js in an Android app.

— Reply to this email directly, view it on GitHub https://github.com/video-dev/hls.js/issues/5581#issuecomment-1599342919, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOPMIZFSDAHJFKFSUF4463XMHWW5ANCNFSM6AAAAAAZNI6R2E . You are receiving this because you authored the thread.Message ID: @.***>