Jan 6, 2019 Replies: 11 This is a wrap for this Github-Project. An extended ImageView that can stream MJPEG videos. IPCamView Author: DonManfred Version: 1.0 IPCamView Functions: BringToFront DesignerCreateView (base As Panel, lw As Label, props As Map) Initialize (EventName As String) Invalidate Invalidate2 (arg0 As android.graphics.Rect) Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int) IsInitialized As Boolean RemoveView RequestFocus As Boolean SendToBack SetBackgroundImage (arg0 As android.graphics.Bitmap) As BitmapDrawable SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int) SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int) SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int) SetVisibleAnimated (arg0 As Int, arg1 As Boolean) start start2 (url As String) stop Properties: Background As android.graphics.drawable.Drawable Color As Int [write only] Enabled As Boolean Height As Int Interval As Int [write only] Left As Int Padding As Int() Parent As Object [read only] Tag As Object Top As Int Url As String [write only] Visible As Boolean Width As Int Attachments IPCamViewEx.zip IPCamViewEx.zip 9 KB · Views: 904 IPCamViewV1.0.zip IPCamViewV1.0.zip 7.5 KB · Views: 867 Click to expand...
This is a wrap for this Github-Project. An extended ImageView that can stream MJPEG videos. IPCamView Author: DonManfred Version: 1.0 IPCamView Functions: BringToFront DesignerCreateView (base As Panel, lw As Label, props As Map) Initialize (EventName As String) Invalidate Invalidate2 (arg0 As android.graphics.Rect) Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int) IsInitialized As Boolean RemoveView RequestFocus As Boolean SendToBack SetBackgroundImage (arg0 As android.graphics.Bitmap) As BitmapDrawable SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int) SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int) SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int) SetVisibleAnimated (arg0 As Int, arg1 As Boolean) start start2 (url As String) stop Properties: Background As android.graphics.drawable.Drawable Color As Int [write only] Enabled As Boolean Height As Int Interval As Int [write only] Left As Int Padding As Int() Parent As Object [read only] Tag As Object Top As Int Url As String [write only] Visible As Boolean Width As Int
Erel B4X founder Staff member Licensed User Longtime User Jan 6, 2019 #2 Note that there is a B4X implementation of MJPEG decoder: https://www.b4x.com/android/forum/threads/b4x-class-mjpeg-decoder.73702/#content
Note that there is a B4X implementation of MJPEG decoder: https://www.b4x.com/android/forum/threads/b4x-class-mjpeg-decoder.73702/#content
ciprian Active Member Licensed User Longtime User Jan 6, 2019 #3 Thank you for this library, i was waiting it for a long time. It works well, but can we have more than one image / second?
Thank you for this library, i was waiting it for a long time. It works well, but can we have more than one image / second?
DonManfred Expert Licensed User Longtime User Jan 6, 2019 #4 ciprian said: but can we have more than one image / second? Click to expand... Change the Interval from 1000 to 500. Note that you need a stable internetconnection
ciprian said: but can we have more than one image / second? Click to expand... Change the Interval from 1000 to 500. Note that you need a stable internetconnection
ciprian Active Member Licensed User Longtime User Jan 6, 2019 #5 Juste tried with 500, 200 and 50 interval. I think we can say it's in miliseconds... but no great result. Triyng on my galaxy s8 connected 4G and wireless...
Juste tried with 500, 200 and 50 interval. I think we can say it's in miliseconds... but no great result. Triyng on my galaxy s8 connected 4G and wireless...
ciprian Active Member Licensed User Longtime User Jan 6, 2019 #6 think we are limited by the java code, i took a look on github project Code: ipCamView.setInterval(1000); // In milliseconds, default 1000
think we are limited by the java code, i took a look on github project Code: ipCamView.setInterval(1000); // In milliseconds, default 1000
Almora Well-Known Member Licensed User Longtime User Jan 6, 2019 #7 hi.. Thank you for this library.. Do you have a warning message when you do not have video broadcast? I tested it but it didn't work. In the example I copied url instead. http://85.31.165.140/mjpg/video.mjpg Last edited: Jan 7, 2019
hi.. Thank you for this library.. Do you have a warning message when you do not have video broadcast? I tested it but it didn't work. In the example I copied url instead. http://85.31.165.140/mjpg/video.mjpg
ciprian Active Member Licensed User Longtime User Jan 7, 2019 #9 Almora said: hi.. Thank you for this library.. Do you have a warning message when you do not have video broadcast? I tested it but it didn't work. In the example I copied url instead. http://85.31.165.140/mjpg/video.mjpg Click to expand... Replace your link with: Code: http://85.31.165.140/jpg/image.jpg? This will work.
Almora said: hi.. Thank you for this library.. Do you have a warning message when you do not have video broadcast? I tested it but it didn't work. In the example I copied url instead. http://85.31.165.140/mjpg/video.mjpg Click to expand... Replace your link with: Code: http://85.31.165.140/jpg/image.jpg? This will work.
MarcoRome Expert Licensed User Longtime User Jan 26, 2019 #10 ciprian said: Replace your link with: Code: http://85.31.165.140/jpg/image.jpg? This will work. Click to expand... This print only image static.
ciprian said: Replace your link with: Code: http://85.31.165.140/jpg/image.jpg? This will work. Click to expand... This print only image static.
A alexhi Member Licensed User Longtime User Aug 24, 2019 #11 Hello everyone. How can I get an event when a picture arrives?
DonManfred Expert Licensed User Longtime User Aug 25, 2019 #12 There are no events. The library shows a stream. Not single pictures.