yangjie #47
|
|
@ -1182,7 +1182,6 @@ const Meeting: React.FC = () => {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onTokenPrivilegeWillExpire: async (connection: RtcConnection, _token: string) => {
|
onTokenPrivilegeWillExpire: async (connection: RtcConnection, _token: string) => {
|
||||||
console.log(connection);
|
|
||||||
await GetRoomRtcToken(connection.channelId || '').then(res => {
|
await GetRoomRtcToken(connection.channelId || '').then(res => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
agora.refreshToken({
|
agora.refreshToken({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue