How to distribute video on the web with the Viewer for the VB-C50i / VB-C50iR

Article ID: ART104692 | Date published: 05/11/2015 | Date last updated: 08/15/2015
 

Description

How to distribute video on the web with the Viewer for the VB-C50i / VB-C50iR

Solution

Using the Viewer for PC to Distribute Videos

This section describes how to use the Viewer for PC to provide videos. Application examples are also given.

If a client is using the Viewer for PC to receive videos, the video sender must set up the Web server and create the necessary wvh files.

Tip

  • The settings below are not required if the VB-C50i/VB-C50iR's built-in Web server is used.

Setting Up the Web Server

Set up the Web server to be used for providing Web pages. Add the MIME type to the Web server software and specify the extension. Refer to the manual for your Web server software for details.

MIME type video/x-webview-h

Extension wvh

For Apache

In the settings for added the MIME type in Apache, edit the "mime.types" file in the "conf" directory.

  • Use the following syntax to add the required MIME type to the PC:

type/subtype extension

  • The settings for Viewer are as follows:

video/x-webview-h wvh

Note

If the MIME setting is not specified correctly for the Web server, you may not be able to launch the Viewer for PC. Be sure to specify the setting correctly.


Creating wvh Files

This section describes how to create the wvh file required for launching the Viewer for PC application

1. Use a text editor or similar program to create a new text file and type the following type of code in the file:

(Example) 192.168.100.1 65310

192.168.100.1 65311

wvhttp:192.168.100.1 80

* The underlined portion is a sample IP address. Enter the actual IP address that was set on the VBC50i/VB-C50iR

Tip

Viewer for PC supports WebView Livescope protocol and HTTP protocol.

  • WebView Livescope protocol:

Cannot be viewed through firewalls. This protocol is primarily for clients who are connected directly to the Internet.

  • HTTP protocol:

In general, this protocol is used with Web browsers. By using this protocol, clients inside firewalls can view video by penetrating fire walls. The Viewer for Java also uses this protocol.

  • The first line gives the IP address (or host name) of the VB-C50i/VB-C50iR and the TCP port number used for the video transmission. The default setting is 65310 The default setting will be used if no particular value is specified.
  • The second line gives the IP address (or host name) of the VB-C50i/VB-C50iR and the TCP port number used for the camera control. The default setting is 65311. The default setting will be used if no particular value is specified.
  • The third line gives the setting for the Viewer for PC to use HTTP protocol. After "wvhttp:", type in the IP address of the VB-C50i/VB-C50iR and "80" as the HTTP port number. As a result of this, you will be able to view video from the VB-C50i/VB-C50iR through firewalls.

Tip

Instead of an IP address, you can also type in <_I_P_A_D_D_R_>

Example: <_I_P_A_D_D_R_> 65310

<_I_P_A_D_D_R_> 65311

wvhttp:<_I_P_A_D_D_R_> 80

2. After you save the text file and quit the text editor program, create a wvh file by changing the file name and extension.

Be sure to add the ".wvh" extension, as in "WebView.wvh".

Tip

Viewer for PC supports WebView Livescope protocol and HTTP protocol.

  • WebView Livescope protocol:

Cannot be viewed through firewalls. This protocol is primarily for clients who are connected directly to the Internet.

  • HTTP protocol:

In general, this protocol is used with Web browsers. By using this protocol, clients inside firewalls can view video by penetrating fire walls. The Viewer for Java also uses this protocol.

SIMS Doc Id

0

Rate this Article
Was this article helpful?
Yes, This document is helpful
No, This document needs a clearer explanation
 
Please provide your comments