Share via


UPnP AV Control Point Sample (Windows Embedded CE 6.0)

1/6/2010

The AV control point sample, also known as UPnPAVCtrl, uses the AV Control Point API to implement a basic UPnP AV control point.

The AV control point sample is a command-line executable that uses the MediaRendererDevice and MediaServerDevice classes to interact with MediaRenderer and MediaServer devices on the network. It also demonstrates the use of the generic UPnP Control Point API to find devices (in this case, the devices are MediaRenderer and MediaServer devices).

The AV control point sample is not linked to a SYSGEN variable, so you must build it manually and then run the resulting upnpavctrl.exe file on a Windows Embedded CE-based target device.

The files that implement the AV control point sample are in %_WINCEROOT%\Public\Servers\Oak\Samples\UPnP\AV\UPnPAVCtrl.

To see the options supported by the application, examine the usage function in upnpavctrl.cpp or run the sample application using the following command line:

upnpavctrl.exe -?

One option is play, which instructs the control point to stream the first piece of content from the first MediaServer instance it finds to the first MediaRenderer instance it finds.

See Also

Other Resources

UPnP Samples