ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Stream functions
  • Using Conference controls via Internet
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Specifies the network parameters required to use the Conference controls on Internet.
Remark: This function must be called before opening the window containing Conference controls. Otherwise, this function is ignored.
Example
// Use the syntax 1
sConfiguration is string = [
{
'url': 'stun:stun.l.google.com:19302'
},
{
'url': 'turn:myturnserver.org'
'username': 'login2'
'credential': password2'
}
]
StreamConfigure(sConfiguration)
Open(WIN_InternetVideoConference)
// Use the syntax 2
StreamConfigure("stun.l.google.com:19302", "myturnserver.org", "user87", "Secret_87")
Open(WIN_InternetVideoConference)
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:Sturnserver'
},
{
'url': 'turn: Turnservers'
'username': 'username'
'credential': password'
}
Caution: No error will be returned if a typo occurs in this string.

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
Password associated with the login for the TURN server.
Remarks
  • If 2 computers are found on the same local network, they can communicate directly: StreamConfigure is not necessary.
  • 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: wd290obj.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help