PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Opens a media on the UPnP device.
Caution: To use this function, the device must include an "AVTransport" service.
Example
arrDevice is array of upnpDevices
arrDevice = UPNPListDevice(...
"urn:schemas-upnp-org:device:MediaRenderer:1", 5)
FOR EACH Device OF arrDevice
UPNPMediaOpen(Device, "http://172.17.1.5/mymedia.avi")
END
Syntax
<Result> = UPNPMediaOpen(<UPnP Device> , <Media>)
<Result>: Boolean
  • True if the media was opened,
  • False otherwise.
<UPnP Device>: upnpDevice variable
Name of upnpDevice variable corresponding to the UPnP device to use.
<Media>: Character string (with quotes)
URI of the media to open.
Components
WINDEV wd230device.dll
Minimum required version
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment