CreateMediaStreamer Method
Collapse the table of content
Expand the table of content

MediaStreamerFactory.CreateMediaStreamer Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Obtains an instance of the MediaStreamer class with the specified ID.

Namespace:  Microsoft.Phone.Media
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

'Declaration
Public Shared Function CreateMediaStreamer ( _
	id As Integer _
) As MediaStreamer

Parameters

id
Type: System.Int32
The ID associated with the MediaStreamer.

Return Value

Type: Microsoft.Phone.Media.MediaStreamer
The MediaStreamer instance.

ExceptionCondition
InvalidOperationException

Only one MediaStreamer can be active at a time.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft