PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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 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>: Character string (with or without quotes)
Name of Conference control or name of stream to use.
<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>: Character string (with or without quotes)
Name of Conference control or name of stream to use.
<Driver name>: Character string (with quotes)
Name of the camera to use. This name corresponds to one of the names returned by VideoListDriver (associated with the vidDirectShow 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 the window streams".
    • From the popup menu of the Conference control: Select "Edit the window streams".
Component : wd250com.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment