Viscom Software VideoCap ActiveX Control

StartIPCameraToRTMP Method

Description:   

Live Streaming IP Camera to Facebook live, Youtube Live, Twitch, Wowza Media Server or another streaming platform. You may add overlay text, datetime or image in same time.

Usage:   

VideoCap1.StartIPCameraToRTMP 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 -8 - The URL of IP cam is not correct.
Return -9 - You have not purchased H264 RTSP IP Camera, cannot enter rtsp URL.
 

Example:   

This Visual Basic example

VideoCap1.RTMPUrl  = "rtmp://yourip:1935/live/myStream"
 VideoCap1.RTMPVideoBitrate = 1000000
 VideoCap1.RTMPAudioBitrate = 128000
VideoCap1.RTMPH264Profile = 0
VideoCap1.RTMPAudioSamples=48000
VideoCap1.RTMPVideoQuality = 1
VideoCap1.EffectType = OVERLAY
VideoCap1.StartIPCameraToRTMP "http://146.176.65.10/axis-cgi/mjpg/video.cgi","", ""