You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

34 lines
649 B

'use strict';
module.exports = function (app, opts) {
async function rtmp2others (rtmp) {
return {
liveUrl: {// 直播
hd: {// 高清
rtmp: 'xx',
hls: 'xx',
flv: 'xx',
ezopen: 'xx',
onvif: 'xx',
},
sd: {// 标清
rtmp: 'xx',
hls: 'xx',
flv: 'xx',
ezopen: 'xx',
onvif: 'xx',
}
},
replayUrl: {// 回放
cloud: 'xx',
local: 'xx',
}
}
}
return {
rtmp2others
}
}