Video Chat SDK ActiveX

Video Chat SDK ActiveX

Platform : Windows 10, Windows 8, Vista, Windows 7, XP

For Windows Developers who need to high quality video chat or audio chat only on Internet or LAN. It support on C++ , C#, VB.NET, VB6, Delphi, VFP, MS Access.

Popular Solution Go   Back

Delphi - How can create a video chat application using Delphi

Step 1: To install the Video Chat ActiveX Control, begin by launching the setup file (videochatsetup.exe). Select the desired installation folder for the Video Chat ActiveX and continue with the installation on your development computer. 

Step 2: Started Delphi, the next step is to install Video Chat ActiveX (it include Video Chat Sender and Video Chat Receiver) in Delphi. Select Component/Import ActiveX Control/Video Chat Sender ActiveX Control. Click Install...
 

Step 3: Select Component/Import ActiveX Control/Video Chat Receiver ActiveX Control. Click Install...

Step 4: Select ActiveX Tab, you will see Video Chat Sender and Receiver ActiveX Control's icon.
 

Step 5: Drag Video Chat Sender ActiveX Control to your form and drag Video Chat Sender ActiveX Control to your form. Add two button on form

In button1 click event, add following code.

VideoChatSender1.VideoDevice:=0;

VideoChatSender1.AudioDevice:=0;

VideoChatSender1.VideoFormat := 2;

VideoChatSender1.FrameRate :=25;

VideoChatSender1.VideoBitrate := 128000;

VideoChatSender1.AudioComplexity :=0;

VideoChatSender1.AudioQuality := 1;

VideoChatSender1.SendVideoStream :=true;

VideoChatSender1.SendAudioStream :=true;

VideoChatSender1.Connect('127.0.0.1',7000);

 Step 6: In button2 click event , add following code

VideoChatReceiver1.ReceiveAudioStream:=true;

VideoChatReceiver1.ReceiveVideoStream := true;

VideoChatReceiver1.Listen("127.0.0.1",7000);

Step 7: Now click button1 and button2, you will see the video streaming to your local computer and received the video from local computer.
 If you want to video streaming to another computer.
 You need install the Video Chat ActiveX Control on two computers. Make sure both computers have network connection and installed web cam or sound card.  

In Computer 1 button1 click event, change 127.0.0.1 to the IP address of Computer2.
In Computer 1 button2 click event, change 127.0.0.1 to the IP address of Computer1.
In Computer 2 button1 click event, change 127.0.0.1 to the IP address of Computer1.
In Computer 2 button2 click event, change 127.0.0.1 to the IP address of Computer2.