Defines the reason for invoking MediaProvider
methods to request an offer or an answer.
Namespace:
Microsoft.Rtc.Collaboration.ComponentModel
Assembly: Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Enumeration SdpOfferAnswerReason |
C# |
---|
public enum SdpOfferAnswerReason |
Visual C++ |
---|
public enum class SdpOfferAnswerReason |
JavaScript |
---|
Microsoft.Rtc.Collaboration.ComponentModel.SdpOfferAnswerReason = function(); Microsoft.Rtc.Collaboration.ComponentModel.SdpOfferAnswerReason.createEnum(' Microsoft.Rtc.Collaboration.ComponentModel.SdpOfferAnswerReason', false); |
Members
Member name | Description | |
---|---|---|
OutgoingCallEstablishment |
The application is establishing an outgoing
call.
|
|
IncomingCallEstablishment |
The application is accepting an incoming
call.
|
|
OutgoingRenegotiation |
Media renegotiation is initiated locally by
MediaProvider.
|
|
IncomingRenegotiation |
Media renegotiation is requested by the
remote.
|
Remarks
The OfferAnswerContext class exposes the
SdpOfferAnswerReason enumeration through its Reason property. A
MediaProvider implementation can use this reason to identify the
reason for the BeginGetOffer, BeginGetAnswer, or SetAnswer
methods.