Table of Contents

Class VoiceGatewayToken

Namespace
Kook.Audio.WebRtc
Assembly
Kook.Net.Experimental.dll

表示语音频道的信令网关令牌。

public sealed class VoiceGatewayToken
Inheritance
VoiceGatewayToken
Inherited Members

Remarks

GatewayUrl 中包含临时鉴权参数,请勿将其写入日志。 ToString() 与 RedactedGatewayUrl 返回的是已脱敏的地址。

Properties

GatewayUrl

获取语音信令网关的 WebSocket 地址,其中包含临时鉴权参数。

public string GatewayUrl { get; }

Property Value

string

IosVoiceSdk

获取服务端返回的 iOS 端语音 SDK 标记。

public int? IosVoiceSdk { get; }

Property Value

int?

Remarks

该值的含义尚未确认,推测与语音 SDK 的灰度版本有关。

PcVoiceSdk

获取服务端返回的 PC 端语音 SDK 标记。

public int? PcVoiceSdk { get; }

Property Value

int?

Remarks

该值的含义尚未确认,推测与语音 SDK 的灰度版本有关。

RedactedGatewayUrl

获取已脱敏的网关地址,仅保留协议、主机、路径以及查询参数的名称。

public string RedactedGatewayUrl { get; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.