MediaStreamer.SetSource Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Sets the source of the MediaStreamer.
Namespace: Microsoft.Phone.Media
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
Public Sub SetSource ( _
remoteStream As MediaStreamSource _
)
public void SetSource(
MediaStreamSource remoteStream
)
Parameters
- remoteStream
Type: System.Windows.Media..::.MediaStreamSource
A subclass of MediaStreamSource that provides the media stream.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The object has already been disposed. |
ArgumentNullException | The supplied MediaStreamSource object is null. |
Version Information
Windows Phone OS
Supported in: 8.1, 8.0