ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / DLNA/UPnP functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Opens a media on the UPnP device.
Attention: To use this function, the device must have an "AVTransport" service..
Example
tabPériphérique is array of upnpDevice 
tabPériphérique = UPNPListDevice(...
		"urn:schemas-upnp-org:device:MediaRenderer:1", 5)
FOR EACH Périphérique OF tabPériphérique
	Périphérique.MédiaOuvre("http://172.17.1.5/monmedia.avi")
END
Syntax
<Result> = <UPnP device>.MediaOpen(<Media>)
<Result>: Boolean
  • True if the media was opened,
  • False otherwise.
<UPnP device>: upnpDevice variable
Name of the upnpDevice variable corresponding to the UPnP device to use.
<Media>: Character string
URI of the media to open.
Component: wd300device.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help