Call.BindMediaProvider(MediaProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Binds a user-specified media provider to the call.
public:
void BindMediaProvider(Microsoft::Rtc::Collaboration::ComponentModel::MediaProvider ^ mediaProvider);
public void BindMediaProvider (Microsoft.Rtc.Collaboration.ComponentModel.MediaProvider mediaProvider);
member this.BindMediaProvider : Microsoft.Rtc.Collaboration.ComponentModel.MediaProvider -> unit
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.