ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Stream functions
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 camera that will be used as source for a stream and/or a Conference control.
Example
// Click on back Camera:
StreamChangeDriver(CONF_Stream1, 2)
 
// Moves the camera onto another Conference control
StreamChangeDriver(CONF_Stream2, 0) // Frees the camera otherwise the next call fails
 
StreamChangeDriver(CONF_Stream1, 1)
Syntax

Defining the source camera from the camera number Hide the details

StreamChangeDriver(<Conference control> , <Camera number>)
<Conference control>: Control name or character string
Name of the Conference control or name of the stream to be used.
<Camera number>: Integer
Number of the camera to use.
  • If this parameter is set to 0, the stream is disconnected from the associated camera.
  • If this parameter is invalid, the function fails and a non-fatal error is returned.
  • If the camera number does not exist, the steam will no longer send images.

Defining the source camera from the camera driver Hide the details

StreamChangeDriver(<Conference control> , <Driver name>)
<Conference control>: Control name or character string
Name of the Conference control or name of the stream to be used.
<Driver name>: Character string
Name of the camera to use. This name corresponds to one of the names returned by VideoListDriver (used with the viDirectShow constant).
Remarks
  • If a communication is in progress, the video source is modified.
  • To find out the name of the streams found in a window, display the description window of the streams:
    • From the description window of the Conference control: In the "General" tab, click "Edit window streams".
    • From the context menu of the Conference control: Select "Edit window streams".
Component: wd290com.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