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