Share via


SetSource Method

Set on the Player.

Namespace:  Microsoft.Rtc.Collaboration.AudioVideo
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Sub SetSource ( _
    source As MediaSource _
)
'Usage
Dim instance As Player
Dim source As MediaSource

instance.SetSource(source)
public void SetSource(
    MediaSource source
)

Parameters

Remarks

Stops the Player if the Player is started.

Exceptions

[T:System.ArgumentNullException]: Raised if argument is null.

See Also

Reference

Player Class

Player Members

Microsoft.Rtc.Collaboration.AudioVideo Namespace