Merge branch 'filter_streamtype_for_tv_channels' into 'dev'
Filter streamtype for tv channels See merge request Shinobi-Systems/Shinobi!178build-default-monitor-config-from-definitions
commit
1a8fa925de
|
@ -760,6 +760,9 @@ module.exports = function(s,config,lang,app,io){
|
|||
r.forEach(function(v,n){
|
||||
var buildStreamURL = function(channelRow,type,channelNumber){
|
||||
var streamURL
|
||||
if(req.query.streamtype && req.query.streamtype != type){
|
||||
return
|
||||
}
|
||||
if(channelNumber){channelNumber = '/'+channelNumber}else{channelNumber=''}
|
||||
switch(type){
|
||||
case'mjpeg':
|
||||
|
|
Loading…
Reference in New Issue