From 4a2a3cbbf8e02af9fe542d56b6782438bc251f6c Mon Sep 17 00:00:00 2001 From: Klaus Date: Fri, 6 Feb 2026 19:46:57 +0900 Subject: [PATCH] =?UTF-8?q?GetRoomInfoResponse=EC=97=90=20v2v=20worker?= =?UTF-8?q?=EC=9A=A9=20rtm=20=ED=86=A0=ED=81=B0=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kr/co/vividnext/sodalive/live/room/LiveRoomService.kt | 8 ++++++++ .../sodalive/live/room/info/GetRoomInfoResponse.kt | 1 + 2 files changed, 9 insertions(+) diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/live/room/LiveRoomService.kt b/src/main/kotlin/kr/co/vividnext/sodalive/live/room/LiveRoomService.kt index 8e9c16cb..74cf8fa6 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/live/room/LiveRoomService.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/live/room/LiveRoomService.kt @@ -928,6 +928,13 @@ class LiveRoomService( expireTimestamp.toInt() ) + val v2vWorkerRtmToken = rtmTokenBuilder.buildToken( + agoraAppId, + agoraAppCertificate, + "v2v-agent-${member.id!!}", + expireTimestamp.toInt() + ) + val isFollowing = explorerQueryRepository .getNotificationUserIds(room.member!!.id!!) .contains(member.id) @@ -982,6 +989,7 @@ class LiveRoomService( channelName = room.channelName!!, rtcToken = rtcToken, rtmToken = rtmToken, + v2vWorkerRtmToken = v2vWorkerRtmToken, creatorId = room.member!!.id!!, creatorNickname = room.member!!.nickname, creatorProfileUrl = if (room.member!!.profileImage != null) { diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/live/room/info/GetRoomInfoResponse.kt b/src/main/kotlin/kr/co/vividnext/sodalive/live/room/info/GetRoomInfoResponse.kt index f8f8b6d1..b455b6ec 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/live/room/info/GetRoomInfoResponse.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/live/room/info/GetRoomInfoResponse.kt @@ -8,6 +8,7 @@ data class GetRoomInfoResponse( val channelName: String, val rtcToken: String, val rtmToken: String, + val v2vWorkerRtmToken: String, val creatorId: Long, val creatorNickname: String, val creatorProfileUrl: String,