@@ -192,6 +192,15 @@ export function getDevice(options) {
rtc.getDevice(options);
}
+// 查询网络节点
+export function getNetPoint() {
+ rtc.getNetPoint({
+ success(data) {
+ console.log('获取网络节点成功', data);
+ }
+ });
+}
+
/**
* 房间配置项更新
* @param {Object} option 房间配置项 (具体看2.0 https://doc.bokecc.com/class/developer/web/chat.html),以键值对的形式传
@@ -546,6 +546,10 @@ export default {
this.dialogVisibleDevice = true;
},
+ getNetPoint() {
+ common.getNetPoint();
+ },
dialogDeviceClose(device) {
this.$store.commit(`app/${app.SET_DEVICE}`, device);
this.dialogVisibleDevice = false;
@@ -15,7 +15,8 @@ export {
closeVideo,
chatRoll,
updateMcResult,
- reconnection
+ reconnection,
+ getNetPoint
} from '@/views/live/common';