MediaRendererDevice (Windows CE 5.0)
This utility class is used by UPnP AV control points to retrieve an IConnectionManager reference.
class MediaRendererDevice
Methods
The following table shows the methods for this class.
Method | Description |
---|---|
MediaRendererDevice Constructor | Creates a MediaRendererDevice instance using the specified generic UPnP device reference. |
MediaRendererDevice::GetConnectionManager | Returns an IConnectionManager pointer that control point code uses to communicate over the network with MediaRenderer devices. |
Remarks
The IConnectionManager implementation returned by MediaRendererDevice::GetConnectionManager is a proxy that communicates using UPnP with the MediaRenderer device. That is, when you call methods on this IConnectionManager instance, the proxy translates the calls to UPnP action invocations and returns the resulting data.
You can use the returned IConnectionManager to retrieve proxy IAVTransport and IRenderingControl references, using IConnectionManager::PrepareForConnection.
For example control point code that uses this class, see the AV control point sample, explained in more detail in UPnP AV Control Point Sample.
For more information about the MediaRenderer device, see the MediaRenderer DCP referenced in UPnP AV DCP Documentation.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: Av_upnp.h.
Link Library: Av_upnp.lib.
C++ Namespace: av_upnp.
See Also
UPnP AV Control Point Utility Classes | IAVTransport | IConnectionManager | IConnectionManager::PrepareForConnection | IRenderingControl | MediaRendererDevice::GetConnectionManager
Send Feedback on this topic to the authors