PC SOFT

WINDEV的在线文档

  • Overview
  • Principle
  • Notes
  • Use in network via Internet
  • Overview
  • Prerequisite
  • Configuration
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

Overview
To handle the communication streams, WinDev includes:This allows two users to communicate between themselves. The image and the voice of each user are transmitted in real time on each connected computer.

Examples of applications that use the streams:

  • video-conferencing,
  • broadcasting a live press conference, ...

Limitations:

  • The current computer and the connected computers must be equipped with a Web camera and/or a microphone. If one of the computers is not equipped with a Web camera or a microphone, the corresponding image or voice will not be broadcasted.
  • Only the video sequences currently broadcasted by the Web cameras installed on the connected computers can be viewed. No video file can be viewed.
  • Only the sounds currently broadcasted by the microphones installed on the connected computers can be listened to. No sound file can be listened to.

Principle
To handle the communication streams:
  1. Create a window containing on or more Conference controls.Click(or select "Insert .. Control .. Conference control").On the "创建" pane, in the "显示控件" group, expand "视频和拍摄" and click "Conference".
  2. Display the description window of the streams ("Window .. Edit the streams").Display the description window of the streams:
    • on the "窗口" pane, in the "编辑" group, expand "其他操作" and select "Edit the streams".
    • in the popup menu of the Conference control, select "Edit the window streams".
  3. In this window:
    • Configure the characteristics of the Conference controls: type of outgoing and incoming data, display of the outgoing or incoming video, ...
      Note: These characteristics can also be configured by programming (..显示, ..发送, ..标识符 and ..接受数据).
    • Associate (if necessary) the different Conference controls with the corresponding communication streams.
    • Enable the detection of incoming streams (..检测 or "Detection of incoming streams enabled" in the description window of the streams).
  4. By programming:

Notes

  • You can temporarily stop receiving or sending a type of data (sound or video) in the communication stream (数据流停止). To resume receiving or sending this type of data in the stream, use 数据流开始.
  • Each attempt of stream connection (数据流连接 or ..地址) is using a maximum connection time-out. To find out and/or modify this time-out, use ..超时.

20版本和更高版本
Use in network via Internet

Overview

The Conference controls can be used between two computers:
  • in the same local network: no specific configuration is required.
  • via Internet. In this case, a specific setting must be performed before using the StreamXXX functions.

Prerequisite

The use of Conference controls in a different private network via Internet is using the WebRTC technology. This technology requires the use of a STUN server and a TURN server.

These servers must be configured properly.

Notes:

  • Some STUN servers can be free.
  • The TURN servers that can be directly used are charged for.
    The sources of a TURN server can be free. In this case, you must recompile them and deploy the server (a good knowledge of the programming language of the TURN server is required to perform these operations).

Configuration

To use the Conference controls via Internet:
  1. Open the following ports in the firewall:
    • TCP 29172: This port is specific to WinDev and it must be opened in entry and exit. This port must be "linked" the the computer that performs the video-conference.
    • Depending on the firewall configuration, you may also have to open the UDP 3478 port: This port is used by the TURN server for the relay of audio and video frames.
  2. Configure the STUN and/or TURN servers via 数据流配置 before opening the window containing the Conference controls. For example:
    数据流配置"stun.l.google.com:19302""myturnserver.org""user87""Secret_87"
    打开WIN_InternetVideoConference
20新版本
Use in network via Internet

Overview

The Conference controls can be used between two computers:
  • in the same local network: no specific configuration is required.
  • via Internet. In this case, a specific setting must be performed before using the StreamXXX functions.

Prerequisite

The use of Conference controls in a different private network via Internet is using the WebRTC technology. This technology requires the use of a STUN server and a TURN server.

These servers must be configured properly.

Notes:

  • Some STUN servers can be free.
  • The TURN servers that can be directly used are charged for.
    The sources of a TURN server can be free. In this case, you must recompile them and deploy the server (a good knowledge of the programming language of the TURN server is required to perform these operations).

Configuration

To use the Conference controls via Internet:
  1. Open the following ports in the firewall:
    • TCP 29172: This port is specific to WinDev and it must be opened in entry and exit. This port must be "linked" the the computer that performs the video-conference.
    • Depending on the firewall configuration, you may also have to open the UDP 3478 port: This port is used by the TURN server for the relay of audio and video frames.
  2. Configure the STUN and/or TURN servers via 数据流配置 before opening the window containing the Conference controls. For example:
    数据流配置"stun.l.google.com:19302""myturnserver.org""user87""Secret_87"
    打开WIN_InternetVideoConference
Use in network via Internet

Overview

The Conference controls can be used between two computers:
  • in the same local network: no specific configuration is required.
  • via Internet. In this case, a specific setting must be performed before using the StreamXXX functions.

Prerequisite

The use of Conference controls in a different private network via Internet is using the WebRTC technology. This technology requires the use of a STUN server and a TURN server.

These servers must be configured properly.

Notes:

  • Some STUN servers can be free.
  • The TURN servers that can be directly used are charged for.
    The sources of a TURN server can be free. In this case, you must recompile them and deploy the server (a good knowledge of the programming language of the TURN server is required to perform these operations).

Configuration

To use the Conference controls via Internet:
  1. Open the following ports in the firewall:
    • TCP 29172: This port is specific to WinDev and it must be opened in entry and exit. This port must be "linked" the the computer that performs the video-conference.
    • Depending on the firewall configuration, you may also have to open the UDP 3478 port: This port is used by the TURN server for the relay of audio and video frames.
  2. Configure the STUN and/or TURN servers via 数据流配置 before opening the window containing the Conference controls. For example:
    数据流配置"stun.l.google.com:19302""myturnserver.org""user87""Secret_87"
    打开WIN_InternetVideoConference