123
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
package com.ruoyi.test.business;
|
||||
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.ruoyi.cai.trd.Agora;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@SpringBootTest
|
||||
@Slf4j
|
||||
public class AgoreTest {
|
||||
@@ -15,8 +18,12 @@ public class AgoreTest {
|
||||
|
||||
@Test
|
||||
public void closeChannel(){
|
||||
Long roomId = 1779785009948024833L;
|
||||
Long roomId = 1779868994539642881L;
|
||||
// List<String> channelUsers = agora.getChannelUsers(roomId);
|
||||
// System.out.println(JSON.toJSONString(channelUsers));
|
||||
agora.closeChannel(roomId);
|
||||
// agora.closeChannelByUser(roomId,2644L);
|
||||
// agora.closeChannelByUser(roomId,3324L);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user