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
<upnpDevice variable>.MediaOpen (Function)
In french: <Variable upnpPériphérique>.MédiaOuvre
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
Device.MediaOpen("http://172.17.1.5/mymedia.avi")
END
Syntax
<Result> = <UPnP device>.MediaOpen(<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.
Component : wd250device.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment