PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • 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
// 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': motdepasse'
}
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: function StreamConfigure 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. It is then necessary to use the function StreamConfigure.

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: wd270obj.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment