ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Stream functions
  • Using Conference controls via Internet
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Specifies the network parameters required to use the Conference controls on Internet.
Note: This function must be called before opening the window containing the conference control fields.. Otherwise, this function is ignored.
Example
// Utilisation de la syntaxe 1
sConfiguration is string = [
{
'url': 'stun:stun.l.google.com:19302'
},
{
'url': 'turn:monserveurturn.org'
'username': 'login2'
'credential': motdepasse2'
}
]
StreamConfigure(sConfiguration)
Open(FEN_VideoConférenceInternet)
// Utilisation de la syntaxe 2
StreamConfigure("stun.l.google.com:19302", "monserveurturn.org", "user87", "Secret_87")
Open(FEN_VideoConférenceInternet)
Syntax

Configuration via a specific string Hide the details

StreamConfigure(<Parameters>)
<Parameters>: Character string
Parameters used to configure the addresses of the relay servers to use in order for the communication to be possible via Internet. This character string has the following format:
{
'url': 'stun:serveurSturn'
},
{
'url': 'turn: serveursTurn'
username': 'nomutilisateur
credential': password'
}
Warning: In the event of an input error in this string, no error will be returned.

Configuration via different parameters Hide the details

StreamConfigure(<STUN Server> , <TURN Server> , <Login> , <Password>)
<STUN Server>: Character string
Address of a STUN server.
<TURN Server>: Character string
Address of a TURN server.
<Login>: Character string
Login to use on the TURN server.
<Password>: Character string or Secret string
Password associated with the login for the TURN server.
New in version 2025
Secret strings: If you use the secret string vault, the type of secret string used for this parameter must be "ANSI or Unicode string".
To learn more about secret strings and how to use the vault, see Secret string vault.
Remarks
  • If 2 machines are on the same LAN, they can communicate directly: the StreamConfigure function is not required.
  • If 2 computers are connected to Internet via firewalls (or via boxes for example), the direct communications between these computers are often locked. In this case, StreamConfigure must be used.

Using Conference controls via Internet

  • Depending on the network typology and on its security parameters (e.g. ports locked by a firewall), it may not be necessary to use a TURN server and/or a STUN server.
  • Some STUN servers are available in free access.
  • The TURN servers are not available in free access. You must rent one or create one on Internet.
Component: wd300obj.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/16/2025

Send a report | Local help