Browse Source

切换荧石版本

caner 1 year ago
parent
commit
69b08a3ef5
2 changed files with 6 additions and 6 deletions
  1. 1 1
      package.json
  2. 5 5
      src/pages/views/video/index.vue

+ 1 - 1
package.json

@@ -13,7 +13,7 @@
     "@wangeditor/editor-for-vue": "^5.1.12",
     "date-fns": "^4.1.0",
     "echarts": "^5.5.1",
-    "ezuikit-js": "^8.1.1-alpha.3",
+    "ezuikit-js": "8.0.2",
     "html2canvas": "^1.4.1",
     "jspdf": "^2.5.1",
     "leaflet": "^1.9.4",

+ 5 - 5
src/pages/views/video/index.vue

@@ -101,7 +101,7 @@
                     size="20"
                   />
                 </template>
-                {{ item.isChangeCode ? '子码流' : '主码流' }}
+                {{ item.isChangeCode ? '主码流' : '子码流' }}
               </n-button>
               <n-tooltip trigger="hover">
                 <template #trigger>
@@ -164,11 +164,11 @@ const treeData = ref([
         label: '2',
         children: [
           {
-            accessToken: 'at.a82kqljj96ja8ony6e57nrqi4aigp963-7sn8ji0ji3-16njxp9-rmioevhxz',
+            accessToken: 'at.c16lgeq7a42t5m8u71tl0ffu0ef9pcx7-92q5u9vh04-0p79d01-qgoihfihh',
             label: 'test',
             key: '1-2-1',
-            fluentLiveUrl: 'ezopen://aczn1688@open.ys7.com/FH2861570/2.live',
-            highLiveUrl: 'ezopen://aczn1688@open.ys7.com/FH2861570/2.live',
+            fluentLiveUrl: 'ezopen://aczn1688@open.ys7.com/FE3849217/10.live',
+            highLiveUrl: 'ezopen://aczn1688@open.ys7.com/FE3849217/10.hd.live',
             cameraName: 'test'
           }
         ]
@@ -233,7 +233,7 @@ function onChange(v: number) {
       },
       changeCode() {
         if (!this.video) return
-        const url = this.isChangeCode ? this.fluentLiveUrl : this.highLiveUrl
+        const url = this.isChangeCode ? this.highLiveUrl : this.fluentLiveUrl
         this.video.changePlayUrl({ url })
         this.isChangeCode = !this.isChangeCode
       }