Edit

Share via


OfferAnswerContext Constructors

Definition

Overloads

OfferAnswerContext(CallDialogContext, MediaRelayToken, SdpOfferAnswerReason)

Creates a new instance of the OfferAnswerContext class.

OfferAnswerContext(CallDialogContext, MediaRelayToken, SdpOfferAnswerReason, NetworkStackHint)

Creates a new instance of the OfferAnswerContext class.

OfferAnswerContext(CallDialogContext, MediaRelayToken, SdpOfferAnswerReason)

Creates a new instance of the OfferAnswerContext class.

public:
 OfferAnswerContext(Microsoft::Rtc::Collaboration::CallDialogContext ^ signalingContext, Microsoft::Rtc::Internal::Collaboration::MediaRelayToken ^ token, Microsoft::Rtc::Collaboration::ComponentModel::SdpOfferAnswerReason reason);
public OfferAnswerContext (Microsoft.Rtc.Collaboration.CallDialogContext signalingContext, Microsoft.Rtc.Internal.Collaboration.MediaRelayToken token, Microsoft.Rtc.Collaboration.ComponentModel.SdpOfferAnswerReason reason);
new Microsoft.Rtc.Collaboration.ComponentModel.OfferAnswerContext : Microsoft.Rtc.Collaboration.CallDialogContext * Microsoft.Rtc.Internal.Collaboration.MediaRelayToken * Microsoft.Rtc.Collaboration.ComponentModel.SdpOfferAnswerReason -> Microsoft.Rtc.Collaboration.ComponentModel.OfferAnswerContext
Public Sub New (signalingContext As CallDialogContext, token As MediaRelayToken, reason As SdpOfferAnswerReason)

Parameters

signalingContext
CallDialogContext

SignalingContext for the corresponding call dialog.

token
MediaRelayToken

The media relay token to be used by the MediaProviders.

reason
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.

Applies to

OfferAnswerContext(CallDialogContext, MediaRelayToken, SdpOfferAnswerReason, NetworkStackHint)

Creates a new instance of the OfferAnswerContext class.

public:
 OfferAnswerContext(Microsoft::Rtc::Collaboration::CallDialogContext ^ signalingContext, Microsoft::Rtc::Internal::Collaboration::MediaRelayToken ^ token, Microsoft::Rtc::Collaboration::ComponentModel::SdpOfferAnswerReason reason, Microsoft::Rtc::Collaboration::ComponentModel::NetworkStackHint stackHint);
public OfferAnswerContext (Microsoft.Rtc.Collaboration.CallDialogContext signalingContext, Microsoft.Rtc.Internal.Collaboration.MediaRelayToken token, Microsoft.Rtc.Collaboration.ComponentModel.SdpOfferAnswerReason reason, Microsoft.Rtc.Collaboration.ComponentModel.NetworkStackHint stackHint);
new Microsoft.Rtc.Collaboration.ComponentModel.OfferAnswerContext : Microsoft.Rtc.Collaboration.CallDialogContext * Microsoft.Rtc.Internal.Collaboration.MediaRelayToken * Microsoft.Rtc.Collaboration.ComponentModel.SdpOfferAnswerReason * Microsoft.Rtc.Collaboration.ComponentModel.NetworkStackHint -> Microsoft.Rtc.Collaboration.ComponentModel.OfferAnswerContext
Public Sub New (signalingContext As CallDialogContext, token As MediaRelayToken, reason As SdpOfferAnswerReason, stackHint As NetworkStackHint)

Parameters

signalingContext
CallDialogContext

SignalingContext for the corresponding call dialog.

token
MediaRelayToken

The media relay token to be used by the MediaProviders.

reason
SdpOfferAnswerReason

The reason for SDP offer/answer negotiation.

stackHint
NetworkStackHint

Indicates if signaling stack is configured for IPV4 or IPV6 or both currently. Can be used as a hint to configure media stacks.

Remarks

The OfferAnswerContext class provides a way to pass information back and forth between a Call and the MediaProviders.

Applies to