Hi Alexandre Just as an information, I tried to upgrade the system today with the latest snapshot and the latest packages. No luck, as the mic doesn't work with the teleconferencing tools
On Mon, 25 May 2020 09:55:11 +0200 Alexandre Ratchov <[email protected]> wrote: > On Sat, May 23, 2020 at 07:57:38AM +0200, Landry Breuil wrote: > > On Thu, May 21, 2020 at 02:32:01PM +0200, Andrea Biscuola wrote: > > > Hi Solene > > > > > > > > > Ok, I tried the website you posted and everything is fine. The mic works > > > ok. However, we use tools for work such as hangouts and bigbluebutton for > > > teleconferencing and there, the microphone still doesn't works. > > > > ok, so something else to try ... can you locally revert/remove > > patches/patch-media_libcubeb_src_cubeb_sndio_c and check if this helps ? > > This was recently changed by ratchov@ to fix *some* recordings, and im > > pretty sure he tested many sites with it. > > > > you could try the following: > > First ensure recording works. Example, record a file, then play it to > check it has the expected content: > > $ aucat -o /tmp/foo.wav > talk to the microphone then press ^C, and play the result > $ aucat -i /tmp/foo.wav Ok, recording works, I can register and listen to the audio track. > > Then stop sndiod and run it (as root) as follows: > > sndiod -ddd > > restart firefox and try using your audioconferencing website and see > what's going on: does it attempts to record? does it start and stop > continuously? possibly send me sndiod output. > Here is the output from sndiod with debugging enabled. The steps were: 1. Started sndiod as: # sndiod -ddd 2. Started firefox 3. Opened https://test.bigbluebutton.org 4. Inserted username and allowed the website to access the microphone 5. The audio test is started. 6. I hear nothing back from the registration. 7. Stopped Firefox 8 Stopped sndiod snd3 pst=cfg.default: rec=0:1 play=0:1 vol=23170 dup snd2 pst=cfg.default: rec=0:1 play=0:1 vol=23170 dup snd1 pst=cfg.default: rec=0:1 play=0:1 vol=23170 dup snd0 pst=cfg.default: rec=0:1 play=0:1 vol=23170 dup worker(worker|ini): created listen(/tmp/sndio/sock0|ini): created helper(helper|ini): created sock(sock|ini): created helper: recv: cmd = 0, num = 0, idx = 0, mode = 3, fd = -1 helper: send: cmd = 3, num = 0, idx = 0, mode = 0, fd = 3 helper: recv: cmd = 2, num = 0, idx = 0, mode = 768, fd = -1 helper: send: cmd = 3, num = 0, idx = 0, mode = 0, fd = 3 sock,rmsg,widl: AUTH message sock,rmsg,widl: HELLO message sock,rmsg,widl: hello from <firefox>, mode = 1, ver 7 snd0 pst=cfg: device requested worker: send: cmd = 0, num = 0, idx = 0, mode = 3, fd = -1 worker: recv: cmd = 3, num = 0, idx = 0, mode = 0, fd = 6 snd0 pst=cfg: using rsnd/0 worker: send: cmd = 2, num = 0, idx = 0, mode = 768, fd = -1 worker: recv: cmd = 3, num = 0, idx = 0, mode = 0, fd = 7 sio(dev|ini): created sioctl(mix|ini): created snd0 pst=cfg: adding output0.level=150 at 9 snd0 pst=cfg: adding output1.level=150 at 10 snd0 pst=cfg: adding output0.mute=0 at 41 snd0 pst=cfg: adding output1.mute=0 at 42 snd0 pst=cfg: adding input0.level=124 at 73 snd0 pst=cfg: adding input1.level=124 at 74 snd0 pst=cfg: adding input0.mute=0 at 105 snd0 pst=cfg: adding input1.mute=0 at 106 snd0 pst=cfg: 48000Hz, s16le, play 0:1, rec 0:1, 16 blocks of 480 frames snd0 pst=cfg: adding app/firefox0.level=127 at 0 firefox0 vol=127,pst=ini: using snd0 pst=ini.default, mode = 1 sock(sock|ini): processed in 11054us firefox0 vol=127,pst=ini,rmsg,widl: BYE message firefox0 vol=127,pst=ini,rmsg,widl: closing snd0 pst=ini: device released snd0 pst=cfg: software master level control enabled snd0 pst=cfg: adding output.level=127 at 8 snd0 pst=cfg: closed sio(dev|zom): destroyed sioctl(mix|zom): destroyed snd0 pst=cfg: closing sock(sock|zom): destroyed sock(sock|ini): created sock,rmsg,widl: AUTH message helper: recv: cmd = 0, num = 0, idx = 0, mode = 3, fd = -1 helper: send: cmd = 3, num = 0, idx = 0, mode = 0, fd = 3 helper: recv: cmd = 2, num = 0, idx = 0, mode = 768, fd = -1 helper: send: cmd = 3, num = 0, idx = 0, mode = 0, fd = 3 sock,rmsg,widl: HELLO message sock,rmsg,widl: hello from <firefox>, mode = 1, ver 7 snd0 pst=cfg: device requested worker: send: cmd = 0, num = 0, idx = 0, mode = 3, fd = -1 worker: recv: cmd = 3, num = 0, idx = 0, mode = 0, fd = 6 snd0 pst=cfg: using rsnd/0 worker: send: cmd = 2, num = 0, idx = 0, mode = 768, fd = -1 worker: recv: cmd = 3, num = 0, idx = 0, mode = 0, fd = 7 sio(dev|ini): created sioctl(mix|ini): created snd0 pst=cfg: adding output0.level=150 at 9 snd0 pst=cfg: adding output1.level=150 at 10 snd0 pst=cfg: adding output0.mute=0 at 41 snd0 pst=cfg: adding output1.mute=0 at 42 snd0 pst=cfg: adding input0.level=124 at 73 snd0 pst=cfg: adding input1.level=124 at 74 snd0 pst=cfg: adding input0.mute=0 at 105 snd0 pst=cfg: adding input1.mute=0 at 106 snd0 pst=cfg: 48000Hz, s16le, play 0:1, rec 0:1, 16 blocks of 480 frames snd0 pst=cfg: adding app/firefox0.level=127 at 0 firefox0 vol=127,pst=ini: using snd0 pst=ini.default, mode = 1 firefox0 vol=127,pst=ini,rmsg,widl: SETPAR message firefox0 vol=127,pst=ini,rmsg,widl: playback channels 0:7 -> 0:1 firefox0 vol=127,pst=ini,rmsg,widl: 48000Hz sample rate, 480 frame blocks firefox0 vol=127,pst=ini,rmsg,widl: 1920 frame buffer firefox0 vol=127,pst=ini,rmsg,widl: GETPAR message firefox0 vol=127,pst=ini,rmsg,widl: GETPAR message firefox0 vol=127,pst=ini,rmsg,widl: START message firefox0 vol=127,pst=ini: playing s16le -> s16le cmap: nch = 2, ostart = 0, onext = 0, istart = 0, inext = 6 firefox0 vol=127,pst=ini: allocated 1920/9600 fr buffers firefox0 vol=127,pst=sta: 48000Hz, s16le, play 0:7, 4 blocks of 480 frames firefox0 vol=127,pst=sta,rmsg,widl: building SETVOL message, vol = 127 snd0 pst=ini: device started snd0 pst=run: started firefox0 vol=127,pst=run: attached at -7680, delta = 0 firefox0 vol=127,pst=run: set weight: 23170/23170 firefox0 vol=127,pst=run,rmsg,widl: STOP message firefox0 vol=127,pst=run: stopping firefox0 vol=127,pst=ini,rmsg,widl: stopped firefox0 vol=127,pst=ini: drained firefox0 vol=127,pst=ini,rmsg,widl: building STOP message firefox0 vol=127,pst=ini,rmsg,widl: BYE message firefox0 vol=127,pst=ini,rmsg,widl: closing snd0 pst=run: device released sock(sock|zom): destroyed sock(sock|ini): created sock,rmsg,widl: AUTH message sock,rmsg,widl: HELLO message sock,rmsg,widl: hello from <firefox>, mode = 3, ver 7 snd0 pst=run: device requested firefox0 vol=127,pst=ini: using snd0 pst=run.default, mode = 3 firefox0 vol=127,pst=ini,rmsg,widl: SETPAR message firefox0 vol=127,pst=ini,rmsg,widl: recording channels 0:1 -> 0:1 firefox0 vol=127,pst=ini,rmsg,widl: playback channels 0:7 -> 0:1 firefox0 vol=127,pst=ini,rmsg,widl: 48000Hz sample rate, 480 frame blocks firefox0 vol=127,pst=ini,rmsg,widl: 1920 frame buffer firefox0 vol=127,pst=ini,rmsg,widl: GETPAR message firefox0 vol=127,pst=ini,rmsg,widl: GETPAR message firefox0 vol=127,pst=ini,rmsg,widl: START message firefox0 vol=127,pst=ini: playing s16le -> s16le firefox0 vol=127,pst=ini: recording s16le <- s16le cmap: nch = 2, ostart = 0, onext = 0, istart = 0, inext = 6 cmap: nch = 2, ostart = 0, onext = 0, istart = 0, inext = 0 firefox0 vol=127,pst=ini: allocated 1920/9600 fr buffers firefox0 vol=127,pst=sta: 48000Hz, s16le, play 0:7, rec 0:1, 4 blocks of 480 frames firefox0 vol=127,pst=sta,rmsg,widl: building SETVOL message, vol = 127 firefox0 vol=127,pst=run: attached at -7680, delta = 0 firefox0 vol=127,pst=run: set weight: 23170/23170 firefox0 vol=127,pst=run: prime = 16 firefox0 vol=127,pst=run: prime = 15 firefox0 vol=127,pst=run,rmsg,widl: STOP message firefox0 vol=127,pst=run: stopping firefox0 vol=127,pst=ini,rmsg,widl: stopped firefox0 vol=127,pst=ini: drained firefox0 vol=127,pst=ini,rmsg,widl: building STOP message firefox0 vol=127,pst=ini,rmsg,widl: BYE message firefox0 vol=127,pst=ini,rmsg,widl: closing snd0 pst=run: device released sock(sock|zom): destroyed sock(sock|ini): created sock,rmsg,widl: AUTH message sock,rmsg,widl: HELLO message sock,rmsg,widl: hello from <firefox>, mode = 3, ver 7 snd0 pst=run: device requested firefox0 vol=127,pst=ini: using snd0 pst=run.default, mode = 3 firefox0 vol=127,pst=ini,rmsg,widl: SETPAR message firefox0 vol=127,pst=ini,rmsg,widl: recording channels 0:1 -> 0:1 firefox0 vol=127,pst=ini,rmsg,widl: playback channels 0:1 -> 0:1 firefox0 vol=127,pst=ini,rmsg,widl: 48000Hz sample rate, 480 frame blocks firefox0 vol=127,pst=ini,rmsg,widl: 1920 frame buffer firefox0 vol=127,pst=ini,rmsg,widl: GETPAR message firefox0 vol=127,pst=ini,rmsg,widl: GETPAR message firefox0 vol=127,pst=ini,rmsg,widl: START message firefox0 vol=127,pst=ini: playing s16le -> s16le firefox0 vol=127,pst=ini: recording s16le <- s16le cmap: nch = 2, ostart = 0, onext = 0, istart = 0, inext = 0 cmap: nch = 2, ostart = 0, onext = 0, istart = 0, inext = 0 firefox0 vol=127,pst=ini: allocated 1920/9600 fr buffers firefox0 vol=127,pst=sta: 48000Hz, s16le, play 0:1, rec 0:1, 4 blocks of 480 frames firefox0 vol=127,pst=sta,rmsg,widl: building SETVOL message, vol = 127 firefox0 vol=127,pst=run: attached at -7680, delta = 0 firefox0 vol=127,pst=run: set weight: 23170/23170 firefox0 vol=127,pst=run: prime = 16 firefox0 vol=127,pst=run: prime = 15 firefox0 vol=127,pst=run: prime = 14 firefox0 vol=127,pst=run: prime = 13 firefox0 vol=127,pst=run: prime = 12 firefox0 vol=127,pst=run: prime = 11 firefox0 vol=127,pst=run: prime = 10 firefox0 vol=127,pst=run: prime = 9 firefox0 vol=127,pst=run: prime = 8 firefox0 vol=127,pst=run: prime = 7 firefox0 vol=127,pst=run: prime = 6 firefox0 vol=127,pst=run: prime = 5 firefox0 vol=127,pst=run: prime = 4 firefox0 vol=127,pst=run: prime = 3 firefox0 vol=127,pst=run: prime = 2 firefox0 vol=127,pst=run: prime = 1 sio(dev|ini): processed in 11417us firefox0 vol=127,pst=run,rmsg,widl: STOP message firefox0 vol=127,pst=run: stopping firefox0 vol=127,pst=ini,rmsg,widl: stopped firefox0 vol=127,pst=ini: drained firefox0 vol=127,pst=ini,rmsg,widl: building STOP message firefox0 vol=127,pst=ini,rmsg,widl: BYE message firefox0 vol=127,pst=ini,rmsg,widl: closing snd0 pst=run: device released sock(sock|zom): destroyed sock(sock|ini): created sock,rmsg,widl: AUTH message sock,rmsg,widl: HELLO message sock,rmsg,widl: hello from <firefox>, mode = 1, ver 7 snd0 pst=run: device requested firefox0 vol=127,pst=ini: using snd0 pst=run.default, mode = 1 firefox0 vol=127,pst=ini,rmsg,widl: SETPAR message firefox0 vol=127,pst=ini,rmsg,widl: playback channels 0:1 -> 0:1 firefox0 vol=127,pst=ini,rmsg,widl: 48000Hz sample rate, 480 frame blocks firefox0 vol=127,pst=ini,rmsg,widl: 1920 frame buffer firefox0 vol=127,pst=ini,rmsg,widl: GETPAR message firefox0 vol=127,pst=ini,rmsg,widl: GETPAR message firefox0 vol=127,pst=ini,rmsg,widl: START message firefox0 vol=127,pst=ini: playing s16le -> s16le cmap: nch = 2, ostart = 0, onext = 0, istart = 0, inext = 0 firefox0 vol=127,pst=ini: allocated 1920/9600 fr buffers firefox0 vol=127,pst=sta: 48000Hz, s16le, play 0:1, 4 blocks of 480 frames firefox0 vol=127,pst=sta,rmsg,widl: building SETVOL message, vol = 127 firefox0 vol=127,pst=sta,rmsg,widl: STOP message firefox0 vol=127,pst=sta: stopping firefox0 vol=127,pst=run: attached at -7680, delta = 0 firefox0 vol=127,pst=run: set weight: 23170/23170 firefox0 vol=127,pst=ini,rmsg,widl: stopped firefox0 vol=127,pst=ini: drained firefox0 vol=127,pst=ini,rmsg,widl: building STOP message firefox0 vol=127,pst=ini,rmsg,widl: BYE message firefox0 vol=127,pst=ini,rmsg,widl: closing snd0 pst=run: device released sock(sock|zom): destroyed snd0 pst=run: device stopped snd0 pst=run: stopped, load avg = 293469 / 19170525 snd0 pst=cfg: software master level control enabled snd0 pst=cfg: adding output.level=127 at 8 snd0 pst=cfg: closed sio(dev|zom): destroyed sioctl(mix|zom): destroyed snd0 pst=cfg: closing sio(dev|zom): processed in 9749us ^Chelper: hup helper(helper|zom): destroyed nothing to do... worker(worker|zom): destroyed listen(/tmp/sndio/sock0|zom): destroyed snd3 pst=cfg: draining snd2 pst=cfg: draining snd1 pst=cfg: draining snd0 pst=cfg: draining nothing to do... snd3 pst=cfg: deleting snd2 pst=cfg: deleting snd1 pst=cfg: deleting snd0 pst=cfg: deleting It seems to be restarting, but not being an expert about sndiod(8), I can't tell for sure. Regards. -- Andrea
