yangjie #47

Merged
yangqiang merged 49 commits from yangjie into master 2025-01-24 13:43:09 +08:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 36e1bda441 - Show all commits

View File

@ -815,7 +815,7 @@ const Meeting: React.FC = () => {
if (userId) { if (userId) {
GetRoomRtcToken(state.channelId + 'a').then(async res => { GetRoomRtcToken(state.channelId + 'a').then(async res => {
if (res.code === 200) { if (res.code === 200) {
await agora.allJoinChannelEx(false, res.data.token) await agora.allJoinChannelEx(false, res.data)
} }
}) })
} else { } else {
@ -1185,7 +1185,7 @@ const Meeting: React.FC = () => {
await GetRoomRtcToken(connection.channelId || '').then(res => { await GetRoomRtcToken(connection.channelId || '').then(res => {
if (res.code === 200) { if (res.code === 200) {
agora.refreshToken({ agora.refreshToken({
token: res.data.token, token: res.data,
connection, connection,
}) })
} }
@ -1683,7 +1683,7 @@ const Meeting: React.FC = () => {
if (!statusList.userVideo) { if (!statusList.userVideo) {
GetRoomRtcToken(state.channelId + 'a').then(async res => { GetRoomRtcToken(state.channelId + 'a').then(async res => {
if (res.code === 200) { if (res.code === 200) {
await agora.allJoinChannelEx(true, res.data.token) await agora.allJoinChannelEx(true, res.data)
} }
}) })
} else { } else {