You are not logged in.

#1 2020-02-24 09:28:03

bassp
Member
Registered: 2019-04-11
Posts: 8

firefox and ALSA microphone does not work.

I've been searching all day and it seems no one has quite truly answered this problem.

I am currently on a dell inspiron 15 5579, and the audio is controlled by Intel HD audio rev 21.

I do not have pulseaudio installed.

from arecord -l, I get

card0: PCH [HDA Intel PCH], device 0: ALC3253 Analog [ALC3253 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice#0

The sysdefault and default both points to this Intel PCH audio card

arecord --duration=5 test-mic.wav properly records audio,

and firefox has audio output normally.

However, when I allow firefox to capture on the "default" microphone, there are no audio input, can anybody please help me?

Offline

#2 2020-02-24 10:04:05

bassp
Member
Registered: 2019-04-11
Posts: 8

Re: firefox and ALSA microphone does not work.

actually, I just had an eureka moment, and I feel dumb for spending all this time.

the solution: just f**king install pulseaudio.

firefox access your audio stream - specifically input - by calling the Webrtc api. And this module get's installed as a dependency by the pulseaudio module. newer versions of firefox after it stopped officially supporting ALSA, wants to call web-rtc to access your input data stream so it wouldn't f**k up and give you a "resource busy" error (by design), so with only ALSA, the audio output would work, but the input would not.

Offline

Board footer

Powered by FluxBB