直播地址修改

main
刘妍 2 months ago
parent e125e0079c
commit 28ba7daf84

@ -173,6 +173,9 @@
airPort.value.latitude = rs.data.latitude;
airPort.value.longitude = rs.data.longitude;
}
// relative_alternate_land_point 0
// self_converge_coordinate
// alternate_land_point 0
if (rs.method == 'osd_info_push') {
if (rs.data.latitude && rs.data.longitude) {
uavTrack.value = rs.data;

@ -76,7 +76,7 @@
timestamp: new Date().getTime(),
data: {
url_type: 1, // 0 = RTMP 1GB28181 3WebRTC 4
url: 'rtmp://175.27.168.120:6019/live/2',
url: 'rtmp://175.27.168.120:6019/live/5',
//video_id = "1581F8HGX254V00A0BUY/0-100-1/normal-0",
video_id: '8UUXN5400A079H/165-0-7/normal-0',
video_quality: 1, // 0=1=2=3=4=
@ -131,10 +131,10 @@
height: 300,
sources: [
{
src: 'http://175.27.168.120:6012/live/2.flv', //
src: 'http://175.27.168.120:6012/live/5.flv', //
},
],
licenseUrl: 'http://175.27.168.120:6012/live/2.flv', // license license licenseUrl
licenseUrl: 'http://175.27.168.120:6012/live/5.flv', // license license licenseUrl
autoplay: true, //
});
}, 1000);

@ -175,7 +175,7 @@
timestamp: new Date().getTime(),
data: {
url_type: 1, // 0 = RTMP 1GB28181 3WebRTC 4
url: 'rtmp://175.27.168.120:6019/live/4',
url: 'rtmp://175.27.168.120:6019/live/6',
//video_id = "1581F8HGX254V00A0BUY/0-100-1/normal-0",
video_id: '1581F8HGX254V00A0BUY/99-0-0/normal-0',
video_quality: 1, // 0=1=2=3=4=
@ -251,10 +251,10 @@
height: 280,
sources: [
{
src: 'http://175.27.168.120:6012/live/4.flv', //
src: 'http://175.27.168.120:6012/live/6.flv', //
},
],
licenseUrl: 'http://175.27.168.120:6012/live/4.flv', // license license licenseUrl
licenseUrl: 'http://175.27.168.120:6012/live/6.flv', // license license licenseUrl
});
};
const closeLive = () => {

Loading…
Cancel
Save