Sets the media sink for this recorder.
Namespace:
Microsoft.Rtc.Collaboration.AudioVideo
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Sub
SetSink ( _
sink
As
MediaSink _
)
|
Visual C++ |
public:
void
SetSink(
MediaSink^
sink
)
|
JavaScript |
function
setSink(
sink);
|
Remarks
Exceptions
Exception |
Condition |
ArgumentNullException
|
Thrown when the sink parameter is null. |
InvalidOperationException
|
Thrown when the sink provided has already been associated with
another recorder. |
See Also