TVideoGrabber IP camera with authentication embedded in HTML page
TVideoGrabber simple demo
Sub StartPreview VideoGrabber.VideoSource = 4 ' vs_IPCamera = 4, you can find the values of the constants in the VideoGrabber.SetAuthentication 1, document.all("edtUserName").Value, document.all("edtPassword").Value VideoGrabber.IPCameraUrl = document.all("edtIPCameraUrl").Value VideoGrabber.StartPreview End Sub
Sub StopPreview VideoGrabber.StopPreview End Sub
Sub VideoGrabber_OnPreviewStarted MsgBox "Preview started!" end sub
Sub VideoGrabber_OnResize VideoGrabber.Width = VideoGrabber.VideoWidth VideoGrabber.Height = VideoGrabber.VideoHeight end sub
TVideoGrabber ActiveX component
This is a simple demo of TVideoGrabber previewing an IP camera with username/password authentication