Viscom Software VideoCap ActiveX Control

StartIPCamera Method

Description:   

Receiving the video stream From IP Camera.

Usage:   

VideoCap1.StartIPCamera strURL, strUserIP, strPassword

Return Value:

Return 1 - Successful.
Return -1 - Create graph builder Failure.
Return -2 - Create IPCam source filter Failure.
Return -3 - Invalid stream format.
Return -4 - Authentication failure, make sure user name and password correct.
Return -5 - General network error.
Return -6 - Capture Filename empty.
Return -7 - Video Compressor cannot use, please select another one.
Return -8 - The URL of IP cam is not correct.
Return -9 - You have not purchased H264 RTSP IP Camera Plugin, so cannot use rtsp URL.
 

Example:   

This Visual Basic example shows how to connect to IP Camera.

VideoCap1.CaptureMode = False
VideoCap1.StartIPCamera "http://146.176.65.10/axis-cgi/mjpg/video.cgi","", ""