IMediaRenderer interface
[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.]
Encapsulates the methods and events needed to represent a DLNA Digital Media Renderer (DMR) device.
Members
The IMediaRenderer interface inherits from IBasicDevice. IMediaRenderer also has these types of members:
Methods
The IMediaRenderer interface has these methods.
Method | Description |
---|---|
ActionInformation | Retrieves information about which methods can currently be invoked on the DMR. |
add_RenderingParametersUpdate | Registers an event handler for the RenderingParametersUpdate event. |
add_TransportParametersUpdate | Registers an event handler for the TransportParametersUpdate event. |
GetMuteAsync | Queries the DMR asynchronously to determine if audio is currently muted or unmuted. |
GetPositionInformationAsync | Queries the DMR asynchronously to retrieve position information. |
GetTransportInformationAsync | Queries the DMR asynchronously to retrieve transport information. |
GetVolumeAsync | Queries the DMR asynchronously for its current audio volume level. |
IsAudioSupported | Retrieves a value that indicates whether the DMR is capable of playing audio content. |
IsImageSupported | Retrieves a value that indicates whether the DMR is capable of displaying images. |
IsVideoSupported | Retrieves a value that indicates whether the DMR is capable of playing video content. |
PauseAsync | Instructs the DMR asynchronously to pause playing the current content. |
PlayAsync | Instructs the DMR asynchronously to play the content that was specified by calling the SetSourceFromUriAsync, SetSourceFromStreamAsync, or SetSourceFromMediaSourceAsync method. |
PlayAtSpeedAsync | Instructs the DMR asynchronously to play the content that was specified by calling the SetSourceFromUriAsync, SetSourceFromStreamAsync, or SetSourceFromMediaSourceAsync method at the specified rate. |
remove_RenderingParametersUpdate | Unregisters an event handler for the RenderingParametersUpdate event. |
remove_TransportParametersUpdate | Unregisters an event handler for the TransportParametersUpdate event. |
SeekAsync | Instructs the DMR asynchronously to seek to a particular time offset. |
SetMuteAsync | Instructs the DMR asynchronously to either mute or unmute the audio. |
SetNextSourceFromMediaSourceAsync | Instructs the DMR asynchronously to prepare the specified content for playing once the current content has finished playing. |
SetNextSourceFromStreamAsync | Instructs the DMR asynchronously to prepare the specified media stream for playing once the current content has finished playing. |
SetNextSourceFromUriAsync | Instructs the DMR asynchronously to prepare the content identified by the specified URI for playing once the current content has finished playing. |
SetSourceFromMediaSourceAsync | Instructs the DMR asynchronously to prepare the specified content for playing. |
SetSourceFromStreamAsync | Instructs the DMR asynchronously to prepare the specified media stream for playing. |
SetSourceFromUriAsync | Instructs the DMR asynchronously to prepare the content identified by the specified URI for playing. |
SetVolumeAsync | Sets the audio volume level on the DMR asynchronously to the specified value. |
StopAsync | Instructs the DMR asynchronously to stop playing the current content. |