RESOLVED FIXED Bug 124351
[GStreamer] Not possible to play more than 32 simultaneous audio stream due to a limitation in PulseAudio
https://bugs.webkit.org/show_bug.cgi?id=124351
Summary [GStreamer] Not possible to play more than 32 simultaneous audio stream due t...
Andres Gomez Garcia
Reported 2013-11-14 07:17:02 PST
As it is explained in bug 85994 comment 33 , autoaudiosink will often use pulsesink. When opening a web in which more than 32 simultaneous audio streams are created, we will hit a limit in PulseAudio. It is expected that PA 5.0 will increase the limit to 256. This will not solve the issue completely, but the situation would be better. This bug has been opened to track this problem and should block bug 85994.
Attachments
Andres Gomez Garcia
Comment 1 2013-11-14 07:28:25 PST
Changing, to block 124353 , as it is a meta bug.
Philippe Normand
Comment 2 2014-03-05 00:20:59 PST
Increasing this limit is just a workaround though :( I keep wondering if we should investigate building our own audio-sink that would maintain a single connection with PA, whatever the number of media elements present in the page...
Philippe Normand
Comment 3 2014-12-09 00:54:35 PST
Sebastian suggested to have one pipeline for audio playback maintaining a single connection to PA and then for each playbin pipeline set the audio-sink to connect to the audio playback pipeline using the "inter" elements.
Philippe Normand
Comment 4 2014-12-09 00:55:25 PST
The playback pipeline would also have an audiomixer to combine all incoming audio streams to one, IIUC.
Philippe Normand
Comment 5 2020-10-29 05:55:06 PDT
(In reply to Philippe Normand from comment #3) > Sebastian suggested to have one pipeline for audio playback maintaining a > single connection to PA and then for each playbin pipeline set the > audio-sink to connect to the audio playback pipeline using the "inter" > elements. This was done in https://bugs.webkit.org/show_bug.cgi?id=207634 BTW. (In reply to Philippe Normand from comment #4) > The playback pipeline would also have an audiomixer to combine all incoming > audio streams to one, IIUC. Same. To enable the mixer, set WEBKIT_GST_ENABLE_AUDIO_MIXER=1 at runtime.
Note You need to log in before you can comment on or make changes to this bug.