Android WebCam streaming in WebView -
i need display video stream (pointing webcam) url: videostream.cgi?user=user&pwd=pw thought enough load url in webview:
webview = (webview)findviewbyid(r.id.webview); string url="http://192.168.1.3/videostream.cgi?user=user&pwd=pw"; webview.getsettings().setjavascriptenabled(true); webview.getsettings().setloadwithoverviewmode(true); webview.getsettings().setusewideviewport(true); webview.getsettings().setpluginstate(websettings.pluginstate.on); webview.loadurl(url); the address post right. in fact, if insert example firefox address, transmitted video stream of webcam. firebug see there "src". have permissions of internet in manifest fact appear sites.
but realized not working. can not finding solution .. still fail see web cam. can give me tip? doing wrong or alternatives can use?
thanks
Comments
Post a Comment