방 정보 응답의 v2v 워커 토큰을 RTC로 전환

GetRoomInfoResponse의 v2vWorkerRtmToken 필드를
v2vWorkerToken으로 변경한다.
v2v 워커 토큰은 RTM 대신 채널 기반 RTC 토큰을 반환한다.
This commit is contained in:
2026-02-08 21:01:53 +09:00
parent 37d2e0de73
commit 4ea7fdc562
3 changed files with 8 additions and 8 deletions

View File

@@ -34,15 +34,14 @@ class RtcTokenBuilder {
appId: String,
appCertificate: String,
channelName: String,
uid: Int,
uid: String,
privilegeTs: Int
): String {
val account = if (uid == 0) "" else uid.toString()
return buildTokenWithUserAccount(
appId,
appCertificate,
channelName,
account,
uid,
privilegeTs
)
}