PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Using Conference controls via Internet
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 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 (with quotes)
Address of a STUN server.
<TURN Server>: Character string (with quotes)
Address of a TURN server.
<Login>: Character string (with quotes)
Login to use on the TURN server.
<Password>: Character string (with quotes)
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 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 (ports locked by a firewall for example), it may not be necessary to use a TURN server and/or a STURN 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.
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment