Skip to content
Tracon

LiveVoiceCreateRequest

Namespace Tracon · Assembly Tracon.Abstractions.dll

The request that creates a live voice session.

public sealed record LiveVoiceCreateRequest : IEquatable<LiveVoiceCreateRequest>
Inheritance
object ← LiveVoiceCreateRequest
Implements
IEquatable<LiveVoiceCreateRequest>
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
public LiveVoiceCreateRequest()

Gets the tenant’s own credential for the provider, or null to use the credential the provider was configured with.

public ModelProviderCredential? Credential { get; init; }

ModelProviderCredential?

Tracon resolves it from the tenant’s provider binding for ILiveVoiceProvider.ProviderName and passes it only to a provider whose ILiveVoiceProvider.SupportsTenantCredentials is true. It lives in memory for the call and is never persisted; its text form never shows the key.

Gets the session settings.

public LiveVoiceSessionOptions Options { get; init; }

LiveVoiceSessionOptions

Gets the media peer’s SDP offer.

public required string SdpOffer { get; init; }

string

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(LiveVoiceCreateRequest? other)

other LiveVoiceCreateRequest?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(LiveVoiceCreateRequest?, LiveVoiceCreateRequest?)

Section titled “ operator ==(LiveVoiceCreateRequest?, LiveVoiceCreateRequest?)”
public static bool operator ==(LiveVoiceCreateRequest? left, LiveVoiceCreateRequest? right)

left LiveVoiceCreateRequest?

right LiveVoiceCreateRequest?

bool

operator !=(LiveVoiceCreateRequest?, LiveVoiceCreateRequest?)

Section titled “ operator !=(LiveVoiceCreateRequest?, LiveVoiceCreateRequest?)”
public static bool operator !=(LiveVoiceCreateRequest? left, LiveVoiceCreateRequest? right)

left LiveVoiceCreateRequest?

right LiveVoiceCreateRequest?

bool