microbox Active Member Licensed User Longtime User Oct 6, 2019 #1 Hi..I got the cctv (https://www.b4x.com/android/forum/threads/mjpeg-cctv-server.73792/) example program running on another phone. It works great when using google chrome from a pc. But when trying to use webview on another program with b4a I can not make it work. I'm using this code.. Code: Copy WebView1.LoadUrl("http://192.168.1.4:51042") Log("done...") What am I doing wrong here...any help is appreciated. regards, microbox
Hi..I got the cctv (https://www.b4x.com/android/forum/threads/mjpeg-cctv-server.73792/) example program running on another phone. It works great when using google chrome from a pc. But when trying to use webview on another program with b4a I can not make it work. I'm using this code.. Code: Copy WebView1.LoadUrl("http://192.168.1.4:51042") Log("done...") What am I doing wrong here...any help is appreciated. regards, microbox
Erel B4X founder Staff member Licensed User Longtime User Oct 6, 2019 #2 Try it with: https://www.b4x.com/android/forum/threads/73702/#content If it works then the device WebView doesn't support MJPEG streams. Upvote 0
Try it with: https://www.b4x.com/android/forum/threads/73702/#content If it works then the device WebView doesn't support MJPEG streams.
microbox Active Member Licensed User Longtime User Oct 6, 2019 #3 Erel said: Try it with: https://www.b4x.com/android/forum/threads/73702/#content If it works then the device WebView doesn't support MJPEG streams. Click to expand... Hi Erel, I getting "Terminated" in the log. I'm using this Code: Copy mj1.Initialize(Me, "mj1") mj1.Connect("192.168.1.4/axis-cgi/mjpg/video.cgi?resolution=640x480", 51042) Upvote 0
Erel said: Try it with: https://www.b4x.com/android/forum/threads/73702/#content If it works then the device WebView doesn't support MJPEG streams. Click to expand... Hi Erel, I getting "Terminated" in the log. I'm using this Code: Copy mj1.Initialize(Me, "mj1") mj1.Connect("192.168.1.4/axis-cgi/mjpg/video.cgi?resolution=640x480", 51042)
Erel B4X founder Staff member Licensed User Longtime User Oct 6, 2019 #4 Are you connecting to a B4A CCTV server? Upvote 0
microbox Active Member Licensed User Longtime User Oct 6, 2019 #5 Erel said: Are you connecting to a B4A CCTV server? Click to expand... Yes Erel....the same ip address works on a google chrome browser. But I want to use b4a to view. Last edited: Oct 6, 2019 Upvote 0
Erel said: Are you connecting to a B4A CCTV server? Click to expand... Yes Erel....the same ip address works on a google chrome browser. But I want to use b4a to view.
microbox Active Member Licensed User Longtime User Oct 7, 2019 #6 Sorry but now its working fine.. Thanks for the help. Upvote 0