Hi. Have an issue while recording videoroom and turning mic off with "request": "configure"
with "streams": [{"mid": 0, "send": false}]
. There is just a gap in the post processed recording when the microphone is turned off.
$ ./janus-pp-rec -d 7 -D aud.mjr aud-res2.ogg
...
[Thu Jul 20 14:24:54 2023] pos: 000000, writing 29 bytes out of 49 (seq=390, step=1, ts=4295340735, time=7s)
[Thu Jul 20 14:24:54 2023] pos: 000000, writing 51 bytes out of 71 (seq=391, step=1, ts=4295341695, time=7s)
[Thu Jul 20 14:24:54 2023] pos: 000000, writing 37 bytes out of 57 (seq=392, step=1, ts=4295342655, time=7s)
[Thu Jul 20 14:24:54 2023] pos: 000000, writing 41 bytes out of 61 (seq=393, step=1, ts=4295826975, time=17s)
[Thu Jul 20 14:24:54 2023] pos: 000000, writing 34 bytes out of 54 (seq=394, step=1, ts=4295827935, time=17s)
[Thu Jul 20 14:24:54 2023] pos: 000000, writing 34 bytes out of 54 (seq=395, step=1, ts=4295828895, time=17s)
...
Is it a bug? Can it be fixed with some janus-pp-rec
flags? Or maybe it must be separated .mjr
files for every turned on mic segment in this case?
full janus-pp-rec debug log
mjr file
It can sound as not a big problem since in media players such file still plays fine with pause when the mic is turned off (not counting freezing and jumping time indicator in vlc and others). But when I mixing such files with ffmpeg
and amix
this gaps just dissapears and one voice segment follows another without a pause