I can’t get Jami to access alsa correctly. this is a package from artix and it is defaulting to a card device that seems to be blocked. I’ve run vlc, linphone, mplayer, firefox all simutanously before so I can’t figure out why jami struggles with this. I’ve tried fiddling with ./.asoundrc and ~/.config/jami/dring.yml and nothing seems to affect it.
audio:
alsa:
cardIn: 1
cardOut: 0
cardRing: 0
plugin: jami_soft
smplRate: 44100
alwaysRecording: false
audioApi: alsa
captureMuted: false
playbackMuted: false
pulse:
devicePlayback: “”
deviceRecord: “”
deviceRingtone: “”
portaudio:
devicePlayback: “”
deviceRecord: “”
deviceRingtone: “”
recordPath: /home/ruben/Jami
volumeMic: 1
volumeSpkr: 1
audioProcessor: webrtc
automaticGainControl: true
voiceActivityDetection: true
noiseReduce: system
echoCancel: audioProcessor
jami_soft was an entery in asoundrc that was completely ignored.
I changed it back to default. It doesn’t seemt to matter.
[1793992061.201|2714|tonecontrol.cpp :88 ] Audio file error: AudioFile: AudioFileException occurred: Unable to open file: share/jami/ringtones/default.opus
[1793992061.202|2714|alsalayer.cpp :83 ] Alsa: Opening playback device ‘plughw:0,0’ with format {s16, 1 channels, 16000Hz}
[1793992061.292|2700|sinkclient.cpp :312 ] [Sink:0x7fa30c086200] Sink [camera://GENERAL_GENERAL_WEBCAM_JH0510_20200814_v009] created
[1793992061.292|2700|video_input.cpp :677 ] MRL: ‘camera://GENERAL_GENERAL_WEBCAM_JH0510_20200814_v009’
default [1793992061293][DBG][7fa312d72880]: Creating new FrameObject for id: “camera://GENERAL_GENERAL_WEBCAM_JH0510_20200814_v009”
[1793992061.292|2779|video_input.cpp :165 ] default [1793992061293][DBG][7fa312d72880]: Added sink: 0x562eb5640d60 to subscribers for id: camera://GENERAL_GENERAL_WEBCAM_JH0510_20200814_v009
VideoInput ready to capture
[1793992061.292|2779|media_decoder.cpp :180 ] Attempting to open input /dev/video0 with format video4linux2, pixel format , size 800x600, rate 30
[1793992061.393|2779|media_decoder.cpp :205 ] Opened input using format video4linux2 and resolution 800x600
[1793992061.395|2779|video_input.cpp :201 ] VideoInput closed
default [1793992061395][DBG][7fa312d72880]: Removed sink: 0x562eb5640d60 from subscribers for id: camera://GENERAL_GENERAL_WEBCAM_JH0510_20200814_v009
[1793992062.306|2714|alsalayer.cpp :101 ] Alsa: Unable to open playback device plughw:0,0 : Device or resource busy
[1793992062.306|2714|audiolayer.cpp :67 ] Hardware audio format available: {s16, 1 channels, 16000Hz} 0
This is straight ALSA with not other dameans in the way.