MediaProvider.SetAnswer Method
Sets the incoming answer on MediaProvider.
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
- context
Type: Microsoft.Rtc.Collaboration.ComponentModel.OfferAnswerContext
The Call context for the corresponding call.
- originalOffer
Type: Microsoft.Rtc.Collaboration.SdpOffer
The original offer.
- answer
Type: Microsoft.Rtc.Collaboration.SdpAnswer
The incoming answer.
Exceptions
Exception | Condition |
---|---|
OfferAnswerException | Thrown when the answer is not acceptable. |