1

I have set up a live streaming site which uses HLS for live streams. I was hoping that by using webview android users would also be able to see the streams on the website but I didn't get success. Is there a setting or library that can be added to webview to enable HLS streams?

My webview code is:

    webview =(WebView)findViewById(R.id.webView);

    webview.setWebViewClient(new WebViewClient());
    webview.getSettings().setJavaScriptEnabled(true);
    webview.getSettings().setDomStorageEnabled(true);
    webview.setOverScrollMode(WebView.OVER_SCROLL_NEVER);
    webview.setWebChromeClient(new WebChromeClient());
    webview.loadUrl("http://192.168.43.140/TestSite/index.php");
Firdous nath
  • 1,487
  • 1
  • 14
  • 38
user5898266
  • 355
  • 2
  • 6
  • 20

0 Answers0