B4A Library IPCamView

This is a wrap for this Github-Project.

An extended ImageView that can stream MJPEG videos.

WhatsApp Image 2019-01-06 at 15.48.59.jpeg


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
    9 KB · Views: 599
  • IPCamViewV1.0.zip
    7.5 KB · Views: 559

ciprian

Active Member
Licensed User
Longtime User
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?
 

ciprian

Active Member
Licensed User
Longtime User
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
think we are limited by the java code, i took a look on github project
B4X:
ipCamView.setInterval(1000); // In milliseconds, default 1000
 

Almora

Well-Known Member
Licensed User
Longtime User
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:
Top