image: add stream experimental property with server-side ffmpeg backend (#259)
This commit is contained in:
parent
e41024f5f4
commit
dfdac01bf3
4 changed files with 56 additions and 1 deletions
|
|
@ -56,6 +56,7 @@ var options = {
|
|||
true : 'examples can\'t be listed if --load is set'
|
||||
}
|
||||
},
|
||||
'video-streams':{type:'array',describe:'video stream urls (rtsp://)'},
|
||||
'url-options':{type:'array',describe:'url options (opt=value pairs)',
|
||||
check: (u, argv)=>{
|
||||
return (!u || !argv.n) ?
|
||||
|
|
@ -120,6 +121,7 @@ var makeDefaultConfig = function(argv){
|
|||
sessionFile: argv.l || false,
|
||||
newSession: argv.b || false,
|
||||
customModule: argv.c || false,
|
||||
videoStreams: argv['video-streams'] || [],
|
||||
fullScreen: argv['fullscreen'] || false,
|
||||
noGui: argv.n || false,
|
||||
guiOnly: typeof argv.g == 'string' ? argv.g.length ? argv.g : true : false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue