Dela via


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

Exceptions

Exception Condition
OfferAnswerException

Thrown when the answer is not acceptable.

See Also

Reference

MediaProvider Class

MediaProvider Members

Microsoft.Rtc.Collaboration.ComponentModel Namespace