@ -84,7 +84,7 @@ export class HttpLivePlayer {
if (!url) return Promise.reject("获取 url 失败!");
return;
this.url = url;
}
destroy() {
@ -102,6 +102,8 @@ export class HttpLivePlayer {
this.lastDecodedFrames = null;
console.log(this.url);
if (!this.url) return;
this.player = flvJs.createPlayer(
@ -100,7 +100,7 @@ export default {
getOrganizationName(this.dialogData.iotDeviceId)
.then(data => {
this.dialogData.organizationName = data.organizationName;
this.dialogData.organizationName = data?.organizationName;
})
const roadInfo = await getRoadInfoByStakeMark(this.dialogData.stakeMark);
@ -103,7 +103,7 @@ export default {
.then((data) => {
this.data.organizationName = data.organizationName;
this.data.organizationName = data?.organizationName;
});