Attaches an AudioVideoFlow instance to this player.

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

Syntax

Visual Basic (Declaration)
Public 
Sub 
AttachFlow ( _
	
audioVideoFlow 
As 

AudioVideoFlow _
)
C#
public 
void 
AttachFlow(
	

AudioVideoFlow 
audioVideoFlow
)
Visual C++
public:
void 
AttachFlow(
	

AudioVideoFlow^ 
audioVideoFlow
)
JavaScript
function 
attachFlow(
audioVideoFlow);

Parameters

audioVideoFlow
Type: Microsoft.Rtc.Collaboration.AudioVideo . . :: . AudioVideoFlow
The AudioVideoFlow instance to be attached.

Remarks

If the player is already started, the AudioVideoFlow will join in a broadcast fashion.

Exceptions

Exception Condition
ArgumentNullException Thrown when the audioVideoFlow parameter is null.
Microsoft.Rtc.Signaling . . :: . OperationFailureException Thrown when the operation failed, such as for an overloaded system.
InvalidOperationException Thrown when the operation is invalid for the current object state.

See Also