648540858
2022-11-17 a53dce38c2f58c0bfd37203e46dc57aa56025f45
web_src/src/components/live.vue
@@ -140,9 +140,9 @@
        if (res.data.code === 0 && res.data.data) {
          let videoUrl;
          if (location.protocol === "https:") {
            videoUrl = res.data.data.wss_flv;
            videoUrl = res.data.data.wss_flv.url;
          } else {
            videoUrl = res.data.data.ws_flv;
            videoUrl = res.data.data.ws_flv.url;
          }
          itemData.playUrl = videoUrl;
          that.setPlayUrl(videoUrl, idxTmp);