mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-17 23:53:25 +02:00
Make jpeg quality configurable.
This commit is contained in:
@@ -228,7 +228,11 @@ module.exports = syrup.serial()
|
||||
|
||||
FrameProducer.prototype._startService = function() {
|
||||
log.info('Launching screen service')
|
||||
return minicap.run(util.format('-S -P %s', this.frameConfig.toString()))
|
||||
return minicap.run(util.format(
|
||||
'-S -Q %d -P %s'
|
||||
, options.screenJpegQuality
|
||||
, this.frameConfig.toString()
|
||||
))
|
||||
.timeout(10000)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user