Video Chat Pro ActiveX Control

Lightness

 

Add lightness effect on a video stream. Make sure you set UseOverlay property to true.

Public Function Lightness(
    ByVal iR as integer , _
    ByVal iG as integer , _
    ByVal iB as integer
    )

 

Parameter
iR
The value of red color from 0 to 255

iG
The value of green color from 0 to 255

iB
The value of blue color from 0 to 255


No Return Value
 


Example

   

Visual Basic Syntax
VideoChatSender1.VideoDevice=0
VideochatSender1.AudioDevice=0
VideochatSender1.VideoFormat =0
VideochatSender1.FrameRate = 15
VideochatSender1.VideoBitrate = 50000
VideochatSender1.AudioComplexity = 0
VideochatSender1.AudioQuality = 0
VideochatSender1.SendVideoStream = True
VideochatSender1.SendAudioStream = True
VideoChatSender1.UseOverlay = True
iresult = VideochatSender1.Connect("192.168.1.12", 7000)
'when see the video window call the following code
VideochatSender1.Lightness 255,0,0