Recording in jibri has video but no audio

Hi everyone, we are recording conferences through Jibri, but the recordings suddenly have video present, but there is no audio. I can hear in recordings, that chrome has taken the audio device (charateristic crack sound when chrome overtakes audio devices in normal conferences).

Using latest stable jitsi, latest jibri, with latest chrome (86) and chromedriver (86), custom builded docker images.

From jibri logs

2020-11-01 22:08:27.668 INFO: [15] org.jitsi.jibri.selenium.JibriSelenium.run() Jibri client receive bitrates: {}, num participants: 3, numMutedParticipants: 2, numJigasis: 0, all clients muted? false
2020-11-01 22:08:42.636 INFO: [15] org.jitsi.jibri.selenium.JibriSelenium.run() Jibri client receive bitrates: {audio={download=41, upload=0}, download=765, upload=0, video={download=724, upload=0}}, num participants: 3, numMutedParticipants: 2, numJigasis: 0, all clients muted? false
2020-11-01 22:08:57.636 INFO: [15] org.jitsi.jibri.selenium.JibriSelenium.run() Jibri client receive bitrates: {audio={download=42, upload=0}, download=763, upload=0, video={download=721, upload=0}}, num participants: 3, numMutedParticipants: 2, numJigasis: 0, all clients muted? false
2020-11-01 22:09:12.635 INFO: [15] org.jitsi.jibri.selenium.JibriSelenium.run() Jibri client receive bitrates: {audio={download=41, upload=0}, download=760, upload=0, video={download=719, upload=0}}, num participants: 3, numMutedParticipants: 2, numJigasis: 0, all clients muted? false
2020-11-01 22:09:27.634 INFO: [15] org.jitsi.jibri.selenium.JibriSelenium.run() Jibri client receive bitrates: {audio={download=42, upload=0}, download=766, upload=0, video={download=724, upload=0}}, num participants: 3, numMutedParticipants: 2, numJigasis: 0, all clients muted? false
2020-11-01 22:09:42.637 INFO: [15] org.jitsi.jibri.selenium.JibriSelenium.run() Jibri client receive bitrates: {audio={download=41, upload=0}, download=755, upload=0, video={download=714, upload=0}}, num participants: 3, numMutedParticipants: 2, numJigasis: 0, all clients muted? false
2020-11-01 22:09:57.635 INFO: [15] org.jitsi.jibri.selenium.JibriSelenium.run() Jibri client receive bitrates: {audio={download=36, upload=0}, download=759, upload=0, video={download=723, upload=0}}, num participants: 3, numMutedParticipants: 2, numJigasis: 0, all clients muted? false
2020-11-01 22:10:12.635 INFO: [15] org.jitsi.jibri.selenium.JibriSelenium.run() Jibri client receive bitrates: {audio={download=39, upload=0}, download=762, upload=0, video={download=723, upload=0}}, num participants: 3, numMutedParticipants: 2, numJigasis: 0, all clients muted? false

Can I assume, that audio is received, since

audio={download=41, …

is present in the jibri log, right?

Start of the browser log follows:

2020-11-01 22:10:16.133 INFO: [61] browser.leaveCallAndQuitBrowser() Logs for call https://jitsiurl/123456789#config.iAmRecorder=true&config.externalConnectUrl=null&config.startWithAudioMuted=true&config.startWithVideoMuted=true&interfaceConfig.APP_NAME=“Jibri”&config.analytics.disabled=true&config.p2p.enabled=false&config.prejoinPageEnabled=false&config.requireDisplayName=false
2020-11-01 22:10:16.143 INFO: [61] browser.leaveCallAndQuitBrowser() ========= TYPE=browser ===========
2020-11-01 22:10:16.143 INFO: [61] browser.leaveCallAndQuitBrowser() [2020-11-01T22:08:11+0100] [WARNING] https://jitsiurl/libs/app.bundle.min.js?v=4466 109:11934 “2020-11-01T21:08:11.197Z” “[modules/UI/videolayout/VideoLayout.js]” "\u003CObject.changeUserAvatar>: " “Missed avatar update - no small video yet for undefined”
2020-11-01 22:10:16.143 INFO: [61] browser.leaveCallAndQuitBrowser() [2020-11-01T22:08:11+0100] [WARNING] https://jitsiurl/libs/lib-jitsi-meet.min.js?v=4466 9:28747 “2020-11-01T21:08:11.213Z” “[JitsiMeetJS.js]” "\u003CObject.init>: " “Analytics disabled, disposing.”
2020-11-01 22:10:16.143 INFO: [61] browser.leaveCallAndQuitBrowser() [2020-11-01T22:08:11+0100] [WARNING] https://jitsiurl/libs/lib-jitsi-meet.min.js?v=4466 9:28747 “2020-11-01T21:08:11.215Z” “[modules/statistics/AnalyticsAdapter.js]” "\u003CObject.dispose>: " “Disposing of analytics adapter.”
2020-11-01 22:10:16.144 INFO: [61] browser.leaveCallAndQuitBrowser() [2020-11-01T22:08:11+0100] [WARNING] https://jitsiurl/libs/lib-jitsi-meet.min.js?v=4466 9:28747 “2020-11-01T21:08:11.221Z” “[modules/statistics/AnalyticsAdapter.js]” "\u003CObject.dispose>: " “Disposing of analytics adapter.”
2020-11-01 22:10:16.144 INFO: [61] browser.leaveCallAndQuitBrowser() [2020-11-01T22:08:11+0100] [WARNING] https://jitsiurl/libs/lib-jitsi-meet.min.js?v=4466 9:28747 “2020-11-01T21:08:11.590Z” “[modules/RTC/RTCUtils.js]” "Failed to get access to local media. NotReadableError: Could not start audio source [object Object] "
2020-11-01 22:10:16.144 INFO: [61] browser.leaveCallAndQuitBrowser() [2020-11-01T22:08:11+0100] [SEVERE] https://jitsiurl/libs/app.bundle.min.js?v=4466 109:11934 “2020-11-01T21:08:11.592Z” “[features/base/tracks]” “Failed to create local tracks” Array(1) s
2020-11-01 22:10:16.144 INFO: [61] browser.leaveCallAndQuitBrowser() [2020-11-01T22:08:12+0100] [WARNING] https://jitsiurl/libs/lib-jitsi-meet.min.js?v=4466 9:28747 “2020-11-01T21:08:12.201Z” “[modules/xmpp/XmppConnection.js]” "\u003Cu._maybeEnableStreamResume>: " “Stream resume enabled, but WebSockets are not enabled”
2020-11-01 22:10:16.144 INFO: [61] browser.leaveCallAndQuitBrowser() [2020-11-01T22:08:12+0100] [SEVERE] https://jitsiurl/libs/lib-jitsi-meet.min.js?v=4466 9:28747 “2020-11-01T21:08:12.270Z” “[JitsiMeetJS.js]” "\u003CObject.getGlobalOnErrorHandler>: " “UnhandledError: null” “Script: null” “Line: null” “Column: null” "StackTrace: " TypeError: Cannot set property ‘deviceId’ of null
at https://jitsiurl/libs/app.bundle.min.js?v=4466:122:276059
at async Promise.all (index 0)
at async Promise.all (index 0)
2020-11-01 22:10:16.144 INFO: [61] browser.leaveCallAndQuitBrowser() [2020-11-01T22:08:12+0100] [SEVERE] https://jitsiurl/libs/app.bundle.min.js?v=4466 121:276058 Uncaught TypeError: Cannot set property ‘deviceId’ of null
2020-11-01 22:10:16.144 INFO: [61] browser.leaveCallAndQuitBrowser() [2020-11-01T22:08:12+0100] [WARNING] https://jitsiurl/libs/lib-jitsi-meet.min.js?v=4466 9:28747 “2020-11-01T21:08:12.275Z” “[modules/xmpp/strophe.jingle.js]” “getting turn credentials failed” iq#0e47ed8a-3b11-44c5-8636-8c7562dbcba1:sendIQ
2020-11-01 22:10:16.145 INFO: [61] browser.leaveCallAndQuitBrowser() [2020-11-01T22:08:12+0100] [WARNING] https://jitsiurl/libs/lib-jitsi-meet.min.js?v=4466 9:28747 “2020-11-01T21:08:12.275Z” “[modules/xmpp/strophe.jingle.js]” “is mod_turncredentials or similar installed?”
2020-11-01 22:10:16.145 INFO: [61] browser.leaveCallAndQuitBrowser() [2020-11-01T22:08:12+0100] [WARNING] https://jitsiurl/libs/lib-jitsi-meet.min.js?v=4466 9:28747 “2020-11-01T21:08:12.531Z” “[modules/recording/RecordingManager.js]” "\u003Ct.a._handleJibriPresence>: " “Ignoring potential jibri presence due to no session id.”
2020-11-01 22:10:16.145 INFO: [61] browser.leaveCallAndQuitBrowser() [2020-11-01T22:09:12+0100] [WARNING] https://jitsiurl/libs/lib-jitsi-meet.min.js?v=4466 9:28747 “2020-11-01T21:09:02.803Z” “[modules/statistics/AudioOutputProblemDetector.js]” “A potential problem is detected with the audio output for participant 0e8a3d8d, local audio levels: [null,null], remote audio levels: undefined”
2020-11-01 22:10:16.145 INFO: [61] browser.leaveCallAndQuitBrowser() [2020-11-01T22:09:12+0100] [WARNING] https://jitsiurl/libs/lib-jitsi-meet.min.js?v=4466 9:28747 “2020-11-01T21:09:02.804Z” “[modules/statistics/AudioOutputProblemDetector.js]” “A potential problem is detected with the audio output for participant 6f8d01b8, local audio levels: [null,null], remote audio levels: undefined”
2020-11-01 22:10:16.145 INFO: [61] browser.leaveCallAndQuitBrowser() [2020-11-01T22:09:12+0100] [WARNING] https://jitsiurl/libs/lib-jitsi-meet.min.js?v=4466 9:28747 “2020-11-01T21:09:02.804Z” “[modules/statistics/AudioOutputProblemDetector.js]” “A potential problem is detected with the audio output for participant c0b0e867, local audio levels: [null,null], remote audio levels: undefined”

I think, that last lines stating potential problem detected shows what is causing audio to be missing in recordings, but i can’t understand the underlying problem here.

Or is the problem in this line?

Failed to get access to local media. NotReadableError: Could not start audio source [object Object]

We lately switched to wss for colibri, but i dont think, that this is relevant, but there is some websocket error present, so im not really sure.

Any help?

So if anyone happens to have the same problem, for me it solved this startup parameter for chrome in jibri.conf:
"--alsa-output-device=bmix"
Use device name as defined in your .asoundrc.

The problem for me seemed to be that Chrome used some other device to output audio, this setting should force Chrome to use one that is connected to ffmpeg on the other side :wink: