Bug 279998 - www/chromium: Skype does not work after implement selectable audio backend support
Summary: www/chromium: Skype does not work after implement selectable audio backend su...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-chromium (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-26 07:16 UTC by Oleh Hushchenkov
Modified: 2024-08-29 05:28 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (chromium)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh Hushchenkov 2024-06-26 07:16:44 UTC
Previously I used chromium built from ports with audio backend alsa. Skype calls worked with it.

After #246449 was committed I use chromium package. Tried Skype call recently, with default audio backend sndio, but people can't hear me. Then I added --audio-backend=alsa and tried again, but the same issue.

Fortunately no .so version bump for dependencies since version 124. So I just installed chromium 124 with alsa and tried again. It works.

Looks like alsa does not activated/used properly after implement selectable audio backend support was committed.
Comment 1 Robert Nagy freebsd_committer freebsd_triage 2024-06-26 15:18:09 UTC
(In reply to Oleh Hushchenkov from comment #0)

Hi

I've just tested both sndio and the alsa audio backend
and both audio input and output work fine with them,
including google meet.

Can you do a test on https://restream.io/tools/mic-test with

--audio-backend=sndio and then --audio-backend=alsa.
Comment 2 Robert Nagy freebsd_committer freebsd_triage 2024-06-26 15:25:45 UTC
Ehrm I actually find a logic error in the auto selection. I will commit
a fix for that soon.
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-06-26 15:48:39 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0792294cb90ce950b6a0d58ddc2f3cd95111b0d6

commit 0792294cb90ce950b6a0d58ddc2f3cd95111b0d6
Author:     Robert Nagy <rnagy@FreeBSD.org>
AuthorDate: 2024-06-26 15:46:42 +0000
Commit:     Robert Nagy <rnagy@FreeBSD.org>
CommitDate: 2024-06-26 15:47:51 +0000

    www/{*chromium,iridium}: fix audio backend selection logic

    PR:     279998

 www/chromium/Makefile                                            | 1 +
 .../files/patch-media_audio_sndio_audio__manager__sndio.cc       | 9 +++++----
 www/iridium/Makefile                                             | 1 +
 .../files/patch-media_audio_sndio_audio__manager__sndio.cc       | 9 +++++----
 www/ungoogled-chromium/Makefile                                  | 1 +
 .../files/patch-media_audio_sndio_audio__manager__sndio.cc       | 9 +++++----
 6 files changed, 18 insertions(+), 12 deletions(-)
Comment 4 Oleh Hushchenkov 2024-06-26 18:14:43 UTC
(In reply to Robert Nagy from comment #2)
Hi Robert,

MicTest and Google Meet work fine with sndio.

It's solely Skype issue, people describe it as audio stuttering and metallic echoes. This happens only with sndio.

Thanks for the fix. I rarely use Skype, so didn't report it earlier.
Comment 5 Oleh Hushchenkov 2024-07-01 10:49:09 UTC
I have tested Skype + ALSA with the latest package. It works as before selectable audio backend support was added.

So, I'm closing the bug.

Thanks again.
Comment 6 Aman 2024-08-29 05:28:44 UTC
I liked your article very much, I will definitely forward it so that more people can read this article.

https://www.mictesters.com/