Edit

Share via


OfferAnswerContext Class

Definition

Represents a container for the information from the call, which is required by MediaProvider to identify the call.

public ref class OfferAnswerContext
public class OfferAnswerContext
type OfferAnswerContext = class
Public Class OfferAnswerContext
Inheritance
OfferAnswerContext

Remarks

OfferAnswerContext is passed as the identity for the call to the MediaProvider APIs.

Constructors

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.

Properties

CallDialogContext

Gets the value of associated SignalingContext.

InitialOfferMediaTypes

Gets a list of the call's default media types.

IsEarlyDialog

Gets whether this OfferAnswerContext belongs to a provisonal request or a final request.

IsPrimarySession

Gets whether the signaling session associated with this OfferAnswerContext is a primary signaling session of the call.

LocalEndpoint

Gets the LocalEndpoint of the call.

Reason

Gets the reason for SDP offer/answer negotiation as a value in the SdpOfferAnswerReason enumeration.

RemoteEndpoint

Gets the RemoteEndpoint for the offer answer context.

StackHint

Gets the current signaling stack address configuration.

Extension Methods

GetConnection(OfferAnswerContext)
GetLocalEndpointLocation(OfferAnswerContext)
GetMediaRelayToken(OfferAnswerContext)

Applies to