How to configure live video chat?

This tutorial demonstrates how to configure Webnexs Streaming Engine It is a media server application which is called videochat to illustrate video chat abilities utilizing Adobe Flash Player. This case it requires Webnexs Media Server (adaptation 3.1.2 or later) or Webnexs Streaming Engine programming, and also two webcam- equipped client’s PCs (Computer1 and Computer2) running Adobe Flash in a web program.

Configuring the videochat application and source files

This instructional exercise utilizes a web server to make the VideoChat website page documents available to both customer PCs. On the off chance that you would prefer not to utilize a web server, you can duplicate the substance of the FlashRTMPPlayer organizer to a system offer or place a duplicate on every customer.

Steps to configure the sample videochat application:
1. Navigation process for the computer running the Webnexs media server. Process: [install-dir]/examples/VideoChat and then click install.bat. This step installs a live application called videochat.

Note: The videochat application is a low-latency streaming which enables this as beneficial for chat applications. For more information on low-latency applications, look at how to set up low latency applications in Webnexs Streaming Engine for RTMP streaming.

2. Next step is Copy the files in [install-dir]/examples/VideoChat/FlashRTMPPlayer to your web server. For example, place all the four files and two folders in a folder in the web root called VideoChat.

Testing process of videochat playback

For an example, player.html webpage contains embedded video players that can connect and preview a computer’s webcam feed and also stream that video to the Webnexs media server, and playback a stream from the media server. Now it will guide you to this webpage on two remote clients’sPCs(Computer1 and Computer2) to test the new videochat application.

Methods to test the videochat application on two client computers:

  1. In an online browser, you have to click on http://[your-web-server]/VideoChat/player.html to open the VideoChat player which you have moved to your web server.
  2.  If your Webnexs media server is connected on a different computer than Computer 1 or Computer 2, you need to change the Server value on that client to rtmp://[webnexs-ip-address]/videochat (where [webnexs-ip-address] is the IP address or hostname of the Webnexs media server).
  3.  Click on Connect button. In the Adobe Flash Player Settings dialog box, click on Allow option to give Adobe Flash Player which as access to your webcam and microphone. Flash player will be having access to the video which is on your webcam and it will be seen in the sender’s video area which is placed on the left part section of the webpage
  4. Next, enter a Stream Name under the Sender video section on each client. The client computers will be connecting to different streams within the same application to make the two names unique. For example:
    Computer1 Stream Name: ComputerStream1
    Computer2 Stream Name: ComputerStream2
  5.  Click on Publish button next to the Sender Stream Name on each client. The videochat application will be eligible for receiving webcam video from both client computers and can make them available for streaming to video chat participants.
  6. On each client computer, enter the Stream Name for the opposite client stream in the Receiver video section on the right side of the example webpage. In this example, Computer1 will receive Computer2Stream and Computer2 will receive Computer1Stream.
  7. Now click Play next to the Receiver Stream Name on each client.

Contact webnexs and get a free consulting for your live video chat setup


Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *