SetAnswer Method
Abstract method to set the incoming Answer on the MediaProvider implementation.
Namespace: Microsoft.Rtc.Collaboration.ComponentModel
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Protected MustOverride Sub SetAnswer ( _
context As OfferAnswerContext, _
originalOffer As SdpOffer, _
answer As SdpAnswer _
)
'Usage
Dim context As OfferAnswerContext
Dim originalOffer As SdpOffer
Dim answer As SdpAnswer
Me.SetAnswer(context, originalOffer, _
answer)
protected abstract void SetAnswer(
OfferAnswerContext context,
SdpOffer originalOffer,
SdpAnswer answer
)
Parameters
- originalOffer
Type: Microsoft.Rtc.Collaboration..::..SdpOffer
- answer
Type: Microsoft.Rtc.Collaboration..::..SdpAnswer
Remarks
Exceptions
[T:Microsoft.Rtc.Collaboration.OfferAnswerException]: Throws the MediaProviderException if answer is not acceptable.