MediaServerDevice
A version of this page is also available for
4/8/2010
This utility class is used by UPnP AV control points to retrieve IConnectionManager and IContentDirectory references.
Syntax
class MediaServerDevice
Methods
The following table shows the methods for this class.
Method | Description |
---|---|
Creates a MediaServerDevice instance using the specified generic UPnP device reference. |
|
Returns an IConnectionManager pointer that control point code uses to communicate over the network with MediaServer devices. |
|
Returns an IContentDirectory pointer that control point code uses to communicate over the network with MediaServer devices. |
Remarks
The IConnectionManager and IContentDirectory implementations returned by MediaServerDevice::GetConnectionManager and MediaServerDevice::GetContentDirectory are proxies that communicate using UPnP with the MediaServer device. That is, when you call methods on this IConnectionManager or IContentDirectory 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 more information about the MediaServer device, see the MediaServer DCP referenced in UPnP AV DCP Documentation.
Requirements
Header | av_upnp.h |
Library | Av_upnp.lib |
Windows Embedded CE | Windows CE 5.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
See Also
Reference
UPnP AV Control Point Utility Classes
IAVTransport
IConnectionManager
IConnectionManager::PrepareForConnection
IContentDirectory
IRenderingControl
MediaServerDevice::GetConnectionManager
MediaServerDevice::GetContentDirectory