MediaPlayer.SetStreamSource(IRandomAccessStream) MediaPlayer.SetStreamSource(IRandomAccessStream) MediaPlayer.SetStreamSource(IRandomAccessStream) MediaPlayer.SetStreamSource(IRandomAccessStream) MediaPlayer.SetStreamSource(IRandomAccessStream) Method

Definition

Sets the media source to a stream.

Note

MediaPlayer.SetMediaSource may be altered or unavailable after Windows 10. Use MediaPlayer.Source instead.

public : void SetStreamSource(IRandomAccessStream stream)
void SetStreamSource(IRandomAccessStream stream) const;
public void SetStreamSource(IRandomAccessStream stream)
Public Sub SetStreamSource(stream As IRandomAccessStream)
mediaPlayer.setStreamSource(stream);

Parameters