Skip to content

Jibri video/audio blank when recording/streaming #576

@spardue

Description

@spardue

Description


Jibri video/audio blank when recording/streaming

Current behavior


The recording is black. I tried a meeting without recording, and both participants were visible. However, when streaming/recording is enabled, the recording/live stream is black. Also the meeting participants stop being visible on other devices when recording starts.

Image

Jibri 2025-06-12 10:34:12.768 FINE: [234] [hostname=xmpp.meet.jitsi id=xmpp.meet.jitsi] MucClient$3.handleIQRequest#565: Received an IQ with type set: IQ Stanza (jibri http://jitsi.org/protocol/jibri) [to=jibri@auth.meet.jitsi/dee9CT3xFA78,from=jibribrewery@internal-muc.meet.jitsi/focus,id=amlicmlAYXV0aC5tZWV0LmppdHNpL2RlZTlDVDN4RkE3OABaSVBNQi03MTM2AFQR/gQWALq+,type=set,]
Jibri 2025-06-12 10:34:12.769 INFO: [234] XmppApi.handleJibriIq#230: Received JibriIq <iq xmlns='jabber:client' to='jibri@auth.meet.jitsi/dee9CT3xFA78' from='jibribrewery@internal-muc.meet.jitsi/focus' id='amlicmlAYXV0aC5tZWV0LmppdHNpL2RlZTlDVDN4RkE3OABaSVBNQi03MTM2AFQR/gQWALq+' type='set'><jibri xmlns='http://jitsi.org/protocol/jibri' action='start' recording_mode='stream' room='f716719f@muc.meet.jitsi' streamid='rtmp://172.17.0.1:1935/stream/f716719f-3018-4a30-9855-f43b739b1803' session_id='2ece00f9-753c-47bf-8d0f-446b72f06e17'/></iq> from environment [MucClient id=xmpp.meet.jitsi hostname=xmpp.meet.jitsi]
Jibri 2025-06-12 10:34:12.769 INFO: [234] XmppApi.handleStartJibriIq#262: Received start request, starting service
Jibri 2025-06-12 10:34:12.770 INFO: [234] XmppApi.handleStartService#373: Parsed call url info: CallUrlInfo(baseUrl=https://meet.therapassist.app, callName=f716719f, urlParams=[])
Jibri 2025-06-12 10:34:12.770 INFO: [234] XmppApi.handleStartService#399: Using RTMP URL rtmp://172.17.0.1:1935/stream/f716719f-3018-4a30-9855-f43b739b1803 and viewing URL null
Jibri 2025-06-12 10:34:12.770 INFO: [234] JibriManager.startStreaming#152: Starting a stream with params: ServiceParams(usageTimeoutMinutes=0, appData=null) StreamingParams(callParams=CallParams(callUrlInfo=CallUrlInfo(baseUrl=https://meet.therapassist.app, callName=f716719f, urlParams=[]), email='', passcode=null, callStatsUsernameOverride=, displayName=), sessionId=2ece00f9-753c-47bf-8d0f-446b72f06e17, callLoginParams=XmppCredentials(domain=hidden.meet.jitsi, port=null, username=recorder, password=*****), rtmpUrl=rtmp://172.17.0.1:1935/stream/f716719f-3018-4a30-9855-f43b739b1803, viewingUrl=null)
Jibri 2025-06-12 10:34:12.772 FINE: [234] [session_id=2ece00f9-753c-47bf-8d0f-446b72f06e17] FfmpegCapturer.<init>#76: Detected OS: LINUX
Jibri 2025-06-12 10:34:12.773 FINE: [234] MainKt$setupMetaconfigLogger$1.debug#234: ConfigSourceSupplier: Trying to retrieve key 'jibri.chrome.flags' from source 'config' as type kotlin.collections.List<kotlin.String>
Jibri 2025-06-12 10:34:12.775 FINE: [234] MainKt$setupMetaconfigLogger$1.debug#234: ConfigSourceSupplier: Found value [--use-fake-ui-for-media-stream, --start-fullscreen, --kiosk, --no-sandbox, --disable-dev-shm-usage, --disable-infobars, --autoplay-policy=no-user-gesture-required] for key 'jibri.chrome.flags' from source 'config' as type kotlin.collections.List<kotlin.String>
Starting ChromeDriver 130.0.6723.116 (6ac35f94ae3d01152cf1946c896b0678e48f8ec4-refs/branch-heads/6723@{#1764}) on port 16066
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully on port 16066.
Jibri 2025-06-12 10:34:13.154 INFO: [234] org.openqa.selenium.remote.ProtocolHandshake.createSession: Detected dialect: OSS
Jibri 2025-06-12 10:34:13.158 FINE: [234] JibriMetrics.incrementStatsDCounter#41: Incrementing statsd counter: start:live_stream
Jibri 2025-06-12 10:34:13.159 INFO: [234] JibriStatusManager$special$$inlined$observable$1.afterChange#75: Busy status has changed: IDLE -> BUSY
Jibri 2025-06-12 10:34:13.159 FINE: [234] WebhookClient$updateStatus$1.invokeSuspend#86: Updating 0 subscribers of status
Jibri 2025-06-12 10:34:13.159 INFO: [234] XmppApi.updatePresence#203: Jibri reports its status is now JibriStatus(busyStatus=BUSY, health=OverallHealth(healthStatus=HEALTHY, details={})), publishing presence to connections
Jibri 2025-06-12 10:34:13.159 FINE: [234] MucClientManager.setPresenceExtension#160: Setting a presence extension: org.jitsi.xmpp.extensions.jibri.JibriStatusPacketExt@32ba241b
Jibri 2025-06-12 10:34:13.159 FINE: [234] MucClientManager.saveExtension#185: Replacing presence extension: org.jitsi.xmpp.extensions.jibri.JibriStatusPacketExt@fdc0ade
Jibri 2025-06-12 10:34:13.160 INFO: [234] XmppApi.handleStartJibriIq#275: Sending 'pending' response to start IQ
Jibri 2025-06-12 10:34:13.160 FINE: [245] MainKt$setupMetaconfigLogger$1.debug#234: ConfigSourceSupplier: Trying to retrieve key 'jibri.streaming.rtmp-allow-list' from source 'config' as type kotlin.collections.List<kotlin.String>
Jibri 2025-06-12 10:34:13.161 FINE: [245] MainKt$setupMetaconfigLogger$1.debug#234: ConfigSourceSupplier: Found value [.*] for key 'jibri.streaming.rtmp-allow-list' from source 'config' as type kotlin.collections.List<kotlin.String>
Jibri 2025-06-12 10:34:13.161 FINE: [245] MainKt$setupMetaconfigLogger$1.debug#234: TypeConvertingSupplier: Converted value type from ConfigSourceSupplier: key: 'jibri.streaming.rtmp-allow-list', type: 'kotlin.collections.List<kotlin.String>', source: 'config' to [.*]
Jibri 2025-06-12 10:34:13.161 FINE: [49] org.jitsi.xmpp.extensions.DefaultPacketExtensionProvider.parse: Could not add a provider for element busy-status from namespace http://jitsi.org/protocol/jibri
Jibri 2025-06-12 10:34:13.161 FINE: [49] org.jitsi.xmpp.extensions.DefaultPacketExtensionProvider.parse: Could not add a provider for element health-status from namespace http://jitsi.org/protocol/health
Jibri 2025-06-12 10:34:13.161 INFO: [246] AbstractPageObject.visit#32: Visiting url https://meet.therapassist.app
Jibri 2025-06-12 10:34:16.593 INFO: [246] AbstractPageObject.visit#38: Waited 3.431473537s for driver to load page
Jibri 2025-06-12 10:34:16.625 INFO: [246] AbstractPageObject.visit#32: Visiting url https://meet.therapassist.app/f716719f#config.analytics.disabled=true&config.disableInitialGUM=true&config.externalConnectUrl=null&config.iAmRecorder=true&config.p2p.enabled=false&config.prejoinConfig.enabled=false&config.prejoinPageEnabled=false&config.requireDisplayName=false&config.startWithAudioMuted=true&config.startWithVideoMuted=true&interfaceConfig.APP_NAME="Jibri"
Jibri 2025-06-12 10:34:17.123 INFO: [246] AbstractPageObject.visit#38: Waited 497.986153ms for driver to load page
Jibri 2025-06-12 10:34:17.130 FINE: [246] CallPage$visit$1$1.invoke#58: Not joined yet: Cannot read properties of undefined (reading 'isJoined')
Jibri 2025-06-12 10:34:17.647 FINE: [246] CallPage$visit$1$1.invoke#58: Not joined yet: Cannot read properties of undefined (reading 'isJoined')
Jibri 2025-06-12 10:34:18.165 FINE: [246] CallPage$visit$1$1.invoke#58: Not joined yet: Cannot read properties of undefined (reading 'isJoined')
Jibri 2025-06-12 10:34:18.672 INFO: [246] CallPage.visit#71: Waited 1.548557289s to join the conference
Jibri 2025-06-12 10:34:18.672 INFO: [246] [session_id=2ece00f9-753c-47bf-8d0f-446b72f06e17] EmptyCallStatusCheck.<init>#26: Starting empty call check with a timeout of PT30S
Jibri 2025-06-12 10:34:18.681 INFO: [246] [session_id=2ece00f9-753c-47bf-8d0f-446b72f06e17] JibriSelenium.onSeleniumStateChange#218: Transitioning from state Starting up to Running
Jibri 2025-06-12 10:34:18.681 INFO: [246] [session_id=2ece00f9-753c-47bf-8d0f-446b72f06e17] StreamingJibriService$start$2.invoke#113: Selenium joined the call, starting capturer
Jibri 2025-06-12 10:34:18.701 INFO: [246] [session_id=2ece00f9-753c-47bf-8d0f-446b72f06e17] JibriSubprocess.launch#42: Starting ffmpeg with command ffmpeg -y -v info -f x11grab -draw_mouse 0 -r 30 -s 1280x720 -thread_queue_size 4096 -i :0.0+0,0 -f pulse -thread_queue_size 4096 -i default -acodec aac -strict -2 -ar 44100 -b:a 128k -af aresample=async=1 -c:v libx264 -pix_fmt yuv420p -r 30 -crf 25 -preset veryfast -tune zerolatency -g 60 -maxrate 2976k -bufsize 5952k -timestamp now -f flv rtmp://172.17.0.1:1935/stream/f716719f-3018-4a30-9855-f43b739b1803 ([ffmpeg, -y, -v, info, -f, x11grab, -draw_mouse, 0, -r, 30, -s, 1280x720, -thread_queue_size, 4096, -i, :0.0+0,0, -f, pulse, -thread_queue_size, 4096, -i, default, -acodec, aac, -strict, -2, -ar, 44100, -b:a, 128k, -af, aresample=async=1, -c:v, libx264, -pix_fmt, yuv420p, -r, 30, -crf, 25, -preset, veryfast, -tune, zerolatency, -g, 60, -maxrate, 2976k, -bufsize, 5952k, -timestamp, now, -f, flv, rtmp://172.17.0.1:1935/stream/f716719f-3018-4a30-9855-f43b739b1803])
Jibri 2025-06-12 10:34:20.129 INFO: [249] [session_id=2ece00f9-753c-47bf-8d0f-446b72f06e17] FfmpegCapturer.onFfmpegStateMachineStateChange#130: Ffmpeg capturer transitioning from state Starting up to Running
Jibri 2025-06-12 10:34:20.129 INFO: [249] [session_id=2ece00f9-753c-47bf-8d0f-446b72f06e17] StatefulJibriService.onServiceStateChange#39: Streaming service transitioning from state Starting up to Running
Jibri 2025-06-12 10:34:20.130 INFO: [249] XmppApi$createServiceStatusHandler$1.invoke#328: Current service started up successfully, sending on iq <iq xmlns='jabber:client' to='jibribrewery@internal-muc.meet.jitsi/focus' id='LQ7KE-1191' type='set'><jibri xmlns='http://jitsi.org/protocol/jibri' status='on'/></iq>
Jibri 2025-06-12 10:34:23.757 FINE: [22] WebhookClient$updateStatus$1.invokeSuspend#86: Updating 0 subscribers of status
Jibri 2025-06-12 10:34:33.731 INFO: [22] [session_id=2ece00f9-753c-47bf-8d0f-446b72f06e17] MediaReceivedStatusCheck.run#46: Jibri client receive bitrates: {audio={download=0, upload=0}, download=0, upload=0, video={download=0, upload=0}}, num participants: 1, numMutedParticipants: 1, numJigasis: 0, numHiddenParticipants: 0, all clients muted? true
Jibri 2025-06-12 10:34:48.771 INFO: [22] [session_id=2ece00f9-753c-47bf-8d0f-446b72f06e17] MediaReceivedStatusCheck.run#46: Jibri client receiv

Expected Behavior


The recording is not just black

Possible Solution


Steps to reproduce


Start a meeting and click record OR start a live stream.

Environment details


docker install stable stable-10184/3de7148

ubuntu 24 host on a 2017 laptop

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions