Comments (10)
We'd need to see the logs from jibri itself. The jicofo logs are actually accurate. When you first send a start command to the jibri via jicofo, it replies to the jicofo and sends a "busy" status, which results in jicofo reporting the jibri as unavailable (since it is now engaged in a recording operation). Then after 90 seconds jibri hasn't reported successful connection, so jicofo times it out and cancels.
The jibri logs may show that selenium failed to start, or that you didn't pass the audio checks, or that ffmpeg failed to start. Those will be your best bet to post here for more details on what to fix.
from jibri.
Thanks @aaronkvanmeerten
Could you tell me where can I find those jibri logs?
I can see jicofo.log and jvb.log under /var/log/jitsi/ folder but not jibri
from jibri.
Ah, found a way to see logs with this command:
journalctl -u jibri-xmpp -f
Here is the only error there:
ERROR: failed audio check, no audio levels detected: 1
from jibri.
However if I run check_audio.sh
script it gives this output:
Recording raw data '/tmp/jibri-audio_check.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Hardware PCM card 0 'Loopback' device 1 subdevice 0
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 22052
period_size : 5513
period_time : 125011
tstamp_mode : NONE
tstamp_type : MONOTONIC
period_step : 1
avail_min : 5513
period_event : 0
start_threshold : 1
stop_threshold : 22052
silence_threshold: 0
silence_size : 0
boundary : 6207086186423386112
appl_ptr : 0
hw_ptr : 0
Which seems to be fine.
Is there a way to debug or test audio?
from jibri.
The way to tell if the audio check passed or succeeded is to run that script and then see that the resulting .wav file it write out has more data than just 0x00 for every character in the file. If the test works for you by hand but still fails for the jibri user, ensure that the jibri user has the correct groups to access the audio devices (usually plugdev and audio and video groups).
from jibri.
@aaronkvanmeerten
Ok, I figured that I have a problem even with manual audio check:
arecord -d 1 -D hw:0,1 -v -f cd -t raw /tmp/jibri-audio_check.wav
xxd /tmp/jibri-audio_check.wav | grep -v ' 0000 ' | wc -l
Giving me 0
However when I run lsmod | grep snd_aloop
, it's showing this:
snd_aloop 24576 0
snd_pcm 106496 1 snd_aloop
snd 81920 6 snd_aloop,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_seq_device
Not sure if it's expected output. I use clean Amazon EC2 Ubuntu 16.04 instance and followed all the instructions, step-by-step.
Any help to debug this further appreciated! Thanks!
from jibri.
did you complete things to do after install ubuntu
from jibri.
Yes, even tried to do a fresh installation on new EC2 Ubuntu instance (just had to change boot kernel from aws to generic linux to install snd-aloop). Followed every step of the instructions. Spent many hours on installing, setting it up and testing and still exactly the same issue - everything in Jitsi works except Live Stream. And this time I used the latest Jitsi night build instead of stable.
Even hired a System Administrator to look specifically into this issue - still nothing, he couldn't help as well :)
Very frustrating, especially that I don't even know how to debug that at this point or what to do next to fix it!
from jibri.
I have the same issue Ubuntu 16.04 (VMware VM)
from jibri.
I would very much recommend using the latest java-based jibri from our debian respository. It's easier to use and is much more reliable about getting connected. I'm going to close this issue, but please open a new one if you run into any problems with the new java-based jibri!
from jibri.
Related Issues (20)
- Deploy multiple jibri instances in a single kubernetes pod HOT 1
- JIBRI fonts problem HOT 3
- Make more ffmpeg arguments configurable HOT 12
- Jibri is installed and running but issue during start recording in jitsi-meet. HOT 19
- Jibri cannot join meeting due to conflict between prejoin page config. HOT 6
- README makes references to config.json but there is no file labeled config.json. HOT 5
- Control Jibri via API HOT 6
- Hard-coded --id argument breaks the video SIP call if it is triggered from UI (SIP-Jibri related) HOT 12
- how to correctly config a sip video gateway? HOT 4
- Jicofo cannot parse jicofo.conf following Jibri install HOT 2
- Record audio only HOT 5
- `modprobe snd-aloop` issue HOT 14
- Jibri Multiple Record Settings HOT 5
- jibri fails on Debian 12 Bookworm
- possible to record each participant as a seperate channel HOT 1
- Possible to autostart recording HOT 1
- jibri debian package depends on icewm HOT 7
- After starting recording thru Jibri, all participants have been changed to moderators.
- Unexpected status received in response to the start IQ: HOT 1
- How to jitsi meet recoarding upload on azure blob storage HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jibri.