|
@@ -409,8 +409,6 @@ export default {
|
|
prevEl: '.swiper-button-prev',
|
|
prevEl: '.swiper-button-prev',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
- // 直播流地址
|
|
|
|
- rmtpUrl: 'rtmp://124.71.143.119/live/111111',
|
|
|
|
}),
|
|
}),
|
|
|
|
|
|
async created() {
|
|
async created() {
|
|
@@ -423,7 +421,7 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
searchLive() {
|
|
searchLive() {
|
|
- let url_2 = this.rmtpUrl;
|
|
|
|
|
|
+ let url_2 = process.env.VUE_APP_LIVE_URL + '/111111';
|
|
var ovideoDiv = document.getElementById('videoDiv');
|
|
var ovideoDiv = document.getElementById('videoDiv');
|
|
ovideoDiv.setAttribute('data-rtmp', url_2);
|
|
ovideoDiv.setAttribute('data-rtmp', url_2);
|
|
ovideoDiv.setAttribute('href', url_2);
|
|
ovideoDiv.setAttribute('href', url_2);
|