Call.BindMediaProvider(MediaProvider) Method

Definition

Binds a user-specified media provider to the call.

C#
public void BindMediaProvider (Microsoft.Rtc.Collaboration.ComponentModel.MediaProvider mediaProvider);

Parameters

mediaProvider
MediaProvider

The media provider to use for the SDP negotiation.

Exceptions

Thrown when the mediaProvider parameter is null.

Remarks

This replaces the provider created by a factory for all subsequent SDP negotiations. This API is used by the BackToBack implementation to bind a specific provider for back-to-back calls.

Applies to

Proizvod Verzije
Lync UCMA 4.0, 5.0, latest