-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microphone issue #6
Comments
Hi @callmemaxim, What are the audio devices on this machine? aplay -l Could you paste the device list in
|
Hello! Thanks in advance for your help! root@g7vpn01:~# aplay -L root@g7vpn01:~# cat /var/log/jitsi/jibri/pjsua.log |
Hi @callmemaxim, I think the devices number in According to your But according to this list, your playback device should be So, could you try to set |
Hello!
I've installed jitsi-videosipgw from installer script.
So, here is the steps to reproduce the issue:
1)Start meeting room
2)Invite SIP user from "Invite" screen in jitsi
3)Answer the SIP call from software SIP client
After that, I can hear jitsi user from SIP side, but can't here SIP user's voice in jitsi room. The video works good from both sides, but with some lagging at the first seconds (it's not the main issue, but may be it will help to solve issue with microphone). Then, after a couple of minutes, the connection stops and jitsi kicks the sip client. The call also stops.
Some logs from pjsua:
14:40:11.911 strm0x7f0ab4009768 !Frame lost, recovered!
14:40:11.931 strm0x7f0ab4009768 Jitter buffer starts returning normal frames (after 1 empty/lost)
14:40:12.061 pjsua_media.c !Call 0: Media 1: Received media event, type=IFRF, src=0x7f0ab4031cc8, epub=0x7f0ab4030c98
14:40:12.062 pjsua_media.c !Call 0: Media 1: Received media event, type=IFRF, src=0x7f0ab4031cc8, epub=0x7f0ab4030c98
14:40:12.063 pjsua_app.c !Event IFRF
14:40:12.063 pjsua_app.c Event IFRF
14:40:12.091 strm0x7f0ab4009768 !Frame lost, recovered!
14:40:12.111 strm0x7f0ab4009768 Jitter buffer starts returning normal frames (after 1 empty/lost)
14:40:12.271 strm0x7f0ab4009768 Frame lost, recovered!
14:40:12.291 strm0x7f0ab4009768 Jitter buffer starts returning normal frames (after 1 empty/lost)
14:40:12.451 strm0x7f0ab4009768 Frame lost, recovered!
14:40:12.471 strm0x7f0ab4009768 Jitter buffer starts returning normal frames (after 1 empty/lost)
14:40:12.651 strm0x7f0ab4009768 Frame lost, recovered!
14:40:12.671 strm0x7f0ab4009768 Jitter buffer starts returning normal frames (after 1 empty/lost)
14:40:12.891 strm0x7f0ab4009768 Frame lost, recovered!
14:40:12.911 strm0x7f0ab4009768 Jitter buffer starts returning normal frames (after 1 empty/lost)
14:40:13.198 pjsua_acc.c !Sending 2 bytes keep-alive packet for acc 1 to x.x.x.x:5060
14:40:13.198 tdta0x7f0ab42d8ab8 Destroying txdata raw
14:40:13.311 strm0x7f0ab4009768 !Frame lost, recovered!
14:40:13.335 strm0x7f0ab4009768 Jitter buffer starts returning normal frames (after 1 empty/lost)
14:40:13.711 strm0x7f0ab4009768 Frame lost, recovered!
14:40:13.735 strm0x7f0ab4009768 Jitter buffer starts returning normal frames (after 1 empty/lost)
14:40:14.235 strm0x7f0ab4009768 Frame lost, recovered!
14:40:14.255 strm0x7f0ab4009768 Jitter buffer starts returning normal frames (after 1 empty/lost)
14:40:14.384 pjsua_app.c !Requesting a keyframe...
14:40:14.384 pjsua_media.c Sending video keyframe request via SIP INFO
14:40:14.384 pjsua_call.c Call 0 sending INFO request..
14:40:14.384 endpoint .Request msg INFO/cseq=31012 (tdta0x7f0ab42d8ab8) created.
14:40:14.384 dlg0x5635081327e8 ..Sending Request msg INFO/cseq=31012 (tdta0x7f0ab42d8ab8)
14:40:14.384 tsx0x7f0ab42daa78 ...Transaction created for Request msg INFO/cseq=31012 (tdta0x7f0ab42d8ab8)
14:40:14.384 tsx0x7f0ab42daa78 ..Sending Request msg INFO/cseq=31012 (tdta0x7f0ab42d8ab8) in state Null
14:40:14.384 sip_resolve.c ...DNS resolver not available, target 'jitsi.DOMAIN_NAME.com:0' type=Unspecified will be resolved with getaddrinfo()
14:40:14.384 sip_resolve.c ...Target 'jitsi.DOMAIN_NAME.com:0' type=Unspecified resolved to 'x.x.x.x:5060' type=UDP (UDP transport)
14:40:14.384 pjsua_core.c ...TX 698 bytes Request msg INFO/cseq=31012 (tdta0x7f0ab42d8ab8) to UDP x.x.x.x:5060:
pjsua.config:
--capture-dev=11
--playback-dev=14
--video
--vcapture-dev=1
--no-color
--log-level=5
--app-log-level=5
--auto-update-nat 0
--disable-stun
--no-tcp
--dis-codec GSM
--dis-codec H263
--dis-codec iLBC
--dis-codec G722
--dis-codec speex
--dis-codec pcmu
--dis-codec pcma
--dis-codec opus
--add-codec pcmu
--add-codec pcma
--add-codec speex
--add-codec G722
--add-codec opus
--no-vad
--ec-tail 0
--quality 10
--max-calls=1
--auto-keyframe=30
--no-stderr
--local-port=5070
--log-file=/var/log/jitsi/jibri/pjsua.log
--id "jitsi sip:[email protected]_NAME.com"
--registrar=sip:jitsi.DOMAIN_NAME.com:5060
jibri.conf:
jibri {
id = ""
single-use-mode = false
chrome {
flags = [
"--ignore-certificate-errors",
"--use-fake-ui-for-media-stream",
"--start-maximized",
"--kiosk",
"--enabled",
"--autoplay-policy=no-user-gesture-required"
]
}
ffmpeg {
resolution = "1280x720"
audio-source = "alsa"
audio-device = "plug:bsnoop"
}
sip {
outbound-prefix = ""
}
api {
http {
external-api-port = 2222
internal-api-port = 3333
}
}
stats {
enable-stats-d = true
}
call-status-checks {
no-media-timeout = 30 seconds
all-muted-timeout = 10 minutes
default-call-empty-timeout = 30 seconds
}
}
/home/jibri/.asound.conf is deleted
/etc/asound.conf:
pcm.amix {
type dmix
ipc_key 219345
slave.pcm "hw:Loopback,0,0"
}
pcm.asnoop {
type dsnoop
ipc_key 219346
slave.pcm "hw:Loopback_1,1,0"
}
pcm.aduplex {
type asym
playback.pcm "amix"
capture.pcm "asnoop"
}
pcm.bmix {
type dmix
ipc_key 219347
slave.pcm "hw:Loopback_1,0,0"
}
pcm.bsnoop {
type dsnoop
ipc_key 219348
slave.pcm "hw:Loopback,1,0"
}
pcm.bduplex {
type asym
playback.pcm "bmix"
capture.pcm "bsnoop"
}
pcm.pjsua {
type plug
slave.pcm "bduplex"
}
pcm.!default {
type plug
slave.pcm "aduplex"
}
The text was updated successfully, but these errors were encountered: