Commit 49adc6d0 authored by Yoann HOUPERT's avatar Yoann HOUPERT
Browse files

add srate

parent ab596494
Pipeline #12705 failed with stage
......@@ -56,7 +56,8 @@
"audio":{
"format": "wav",
"bitrate": "16k",
"channels": 1
"channels": 1,
"srate": 16000
},
"host": "hublot_offline_1",
"port": 9999
......
......@@ -64,10 +64,8 @@ module.exports = config => {
.noVideo()
.audioBitrate(config.audio.bitrate)
.audioChannels(config.audio.channels)
.audioFrequency(config.audio.srate)
.save(config.folder.audio+"/"+streamData.fileName+".wav")
/*.on('end', function(stdout, stderr) {
console.log('File generated ended succeeded !');
});*/
} catch(err){
// Sometimes, the client will close the connection unexpectedly
// (e.g. when stopping). This is expected
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment