Редагувати

Поділитися через


Events (Media Streaming API)

[The feature associated with this page, Windows Media Streaming API, is a legacy feature. It has been superseded by Media Casting. Media Casting has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Media Casting instead of Windows Media Streaming API, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The Media Streaming API generates the following events.

In this section

Topic Description
ConnectionStatusChanged Event
Occurs when the device s network connection status changes.
DeviceArrival Event
Occurs when a new device is added to the list of devices returned by the CachedDevices method.
DeviceDeparture Event
Occurs when a new device is removed from the list of devices returned by the CachedDevices method.
RenderingParametersUpdate Event
Occurs whenever any of a set of rendering control parameters are updated on the DMR.
TransportParametersUpdate Event
Occurs whenever any of a set of transport parameters are updated on the DMR.