OfferAnswerContext Constructor
Creates a new instance of the OfferAnswerContext class.
Namespace: Microsoft.Rtc.Collaboration.ComponentModel
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New ( _
signalingContext As CallDialogContext, _
token As MediaRelayToken, _
reason As SdpOfferAnswerReason _
)
'Usage
Dim signalingContext As CallDialogContext
Dim token As MediaRelayToken
Dim reason As SdpOfferAnswerReason
Dim instance As New OfferAnswerContext(signalingContext, _
token, reason)
public OfferAnswerContext(
CallDialogContext signalingContext,
MediaRelayToken token,
SdpOfferAnswerReason reason
)
Parameters
- signalingContext
Type: Microsoft.Rtc.Collaboration.CallDialogContext
SignalingContext for the corresponding call dialog.
- token
Type: MediaRelayToken
The media relay token to be used by the MediaProviders.
- reason
Type: Microsoft.Rtc.Collaboration.ComponentModel.SdpOfferAnswerReason
The reason for SDP offer/answer negotiation.
Remarks
The OfferAnswerContext class provides a way to pass information back and forth between a Call and the MediaProviders.