Buy switching to LetsEncrypt setup and replacing all meet.jitsi
values in the .env
with my own domain I’ve arrived at a situation in which livestream/recording fails with:
FINE: [63] org.jitsi.jibri.selenium.pageobjects.CallPage.visit() Visiting url https://meet.status.im/test#config.iAmRecorder=true&config.externalConnectUrl=null&config.startWithAudioMuted=true&config.startWithVideoMuted=true&interfaceConfig.APP_NAME="Jibri"&config.analytics.disabled=true&config.p2p.enabled=false
INFO: [63] org.jitsi.jibri.selenium.pageobjects.CallPage.visit() Waited 1154 milliseconds for call page to load
INFO: [63] org.jitsi.jibri.selenium.JibriSelenium.onSeleniumStateChange() Transitioning from state Starting up to Running
INFO: [63] org.jitsi.jibri.service.impl.FileRecordingJibriService.invoke() Selenium joined the call, starting the capturer
INFO: [63] org.jitsi.jibri.util.JibriSubprocess.ffmpeg.launch() 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 alsa -thread_queue_size 4096 -i plug:cloop -acodec aac -strict -2 -ar 44100 -c:v libx264 -preset veryfast -profile:v main -level 3.1 -pix_fmt yuv420p -r 30 -crf 25 -g 60 -tune zerolatency -f mp4 /config/recordings/kzalpxfezigrignl/test_2020-04-17-17-00-56.mp4 ([ffmpeg, -y, -v, info, -f, x11grab, -draw_mouse, 0, -r, 30, -s, 1280x720, -thread_queue_size, 4096, -i, :0.0+0,0, -f, alsa, -thread_queue_size, 4096, -i, plug:cloop, -acodec, aac, -strict, -2, -ar, 44100, -c:v, libx264, -preset, veryfast, -profile:v, main, -level, 3.1, -pix_fmt, yuv420p, -r, 30, -crf, 25, -g, 60, -tune, zerolatency, -f, mp4, /config/recordings/kzalpxfezigrignl/test_2020-04-17-17-00-56.mp4])
FINE: [46] org.jitsi.jibri.util.ProcessStatePublisher.ffmpeg.invoke() Process ffmpeg hasn't written in 2 seconds, publishing periodic update
INFO: [67] org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.onFfmpegProcessUpdate() Ffmpeg quit abruptly. Last output line: plug:cloop: Input/output error
INFO: [67] org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.onFfmpegStateMachineStateChange() Ffmpeg capturer transitioning from state Starting up to Error: SESSION Ffmpeg failed to start
INFO: [67] org.jitsi.jibri.service.impl.FileRecordingJibriService.onServiceStateChange() File recording service transitioning from state Starting up to Error: SESSION Ffmpeg failed to start
INFO: [67] org.jitsi.jibri.api.xmpp.XmppApi.invoke() Current service had an error, sending error iq <iq to='jibribrewery@internal-muc.meet.status.im/focus' id='35sE2-38' type='set'><jibri xmlns='http://jitsi.org/protocol/jibri' status='off' failure_reason='error'/></iq>
FINE: [67] org.jitsi.jibri.statsd.JibriStatsDClient.incrementCounter() Incrementing statsd counter: stop:recording
INFO: [67] org.jitsi.jibri.JibriManager.stopService() Stopping the current service
INFO: [67] org.jitsi.jibri.service.impl.FileRecordingJibriService.stop() Stopping capturer
INFO: [67] org.jitsi.jibri.util.JibriSubprocess.ffmpeg.stop() Stopping ffmpeg process
INFO: [67] org.jitsi.jibri.util.JibriSubprocess.ffmpeg.stop() ffmpeg exited with value 1
INFO: [67] org.jitsi.jibri.service.impl.FileRecordingJibriService.stop() Quitting selenium
INFO: [67] org.jitsi.jibri.service.impl.FileRecordingJibriService.stop() Participants in this recording: []
Not sure what to make of this as there’s no clear error here. The only thing that seems error-like is:
onFfmpegProcessUpdate() Ffmpeg quit abruptly.
Last output line: plug:cloop: Input/output error
Not sure what I’m supposed to do with Input/output error
but at least it seems to indicate that the issue isn’t with the service itself.
It can write to the filesystem since it created recordings/kzalpxfezigrignl/metadata.json
:
{"meeting_url":"https://meet.status.im/test","participants":[],"share":true}