[pulseaudio-discuss] problem with webrtc and pulseaudio

Fatima Castiglione Maldonado 发 castiglionemaldonado at gmail.com
Fri Feb 17 00:26:25 UTC 2017


>When you say "shows input", do you mean that the microphone shows
activity on the "Input Devices" tab, or that there's a stream for
chrome visible on the "Recording" tab?

Both. Mic shows activity on "input Devices" tab, and Chrome appears as a
stream on "Recording" tab. By the way, Chrome also appears as a stream on
"Playback" tab. Both streams dissapear if I close Chrome.

>The earlier pulseaudio log didn't show any recording streams from
chrome. If you manage to get chrome to create a recording stream
(you'll see it in the "Recording" tab of pavucontrol), a new log might
show something, although I'm not particularly optimistic about that.

Funny. As I told you, saw a stream in pavucontrol "input Devices" tab while
running Chorme with no logging, but now that am logging, no recording
stream appears. And BigBlueButton gives no cracking echo for my voice, as a
matter of fact no echo at all. Pure silence. You will find new log as an
attachment.

>To narrow down the problem further, you could try recording from the
microphone at the same time when chrome is supposed to be recording
from it. You can use this command:
parecord --device=alsa_input.pci-0000_00_1b.0.analog-stereo test.wav
When you play back that test.wav file, does it contain better
microphone audio than what chrome produces?

Not better at all. It contains the same cracking noise that chrome
produces. Maybe even worst, because the signal (cracking voice noise) to
noise (ambient noise) ratio appears worst than the signal-to-noise ratio
from "live experience" (while running Chrome).

Thank you very much for your help.


2017-02-16 21:15 GMT-03:00 Fatima Castiglione Maldonado 发 <
castiglionemaldonado at gmail.com>:

> >When you say "shows input", do you mean that the microphone shows
> activity on the "Input Devices" tab, or that there's a stream for
> chrome visible on the "Recording" tab?
>
> Both. Mic shows activity on "input Devices" tab, and Chrome appears as a
> stream on "Recording" tab. By the way, Chrome also appears as a stream on
> "Playback" tab. Both streams dissapear if I close Chrome.
>
> >The earlier pulseaudio log didn't show any recording streams from
> chrome. If you manage to get chrome to create a recording stream
> (you'll see it in the "Recording" tab of pavucontrol), a new log might
> show something, although I'm not particularly optimistic about that.
>
> Funny. As I told you, saw a stream in pavucontrol "input Devices" tab
> while running Chorme with no logging, but now that am logging, no recording
> stream appears. And BigBlueButton gives no cracking echo for my voice, as a
> matter of fact no echo at all. Pure silence. You will find new log as an
> attachment.
>
> >To narrow down the problem further, you could try recording from the
> microphone at the same time when chrome is supposed to be recording
> from it. You can use this command:
> parecord --device=alsa_input.pci-0000_00_1b.0.analog-stereo test.wav
> When you play back that test.wav file, does it contain better
> microphone audio than what chrome produces?
>
> Not better at all. It contains the same cracking noise that chrome
> produces. Maybe even worst, because the signal (cracking voice noise) to
> noise (ambient noise) ratio appears worst than the signal-to-noise ratio
> from "live experience" (while running Chrome).
>
> Thank you very much for your help.
>
>
>
> 2017-02-16 7:42 GMT-03:00 Tanu Kaskinen <tanuk at iki.fi>:
>
>> On Wed, 2017-02-15 at 16:44 -0300, Fatima Castiglione Maldonado 发
>> wrote:
>> > > The strange thing is that earlier you got some sound from chrome,
>> andes
>> > > if I understood correctly, you had pavucontrol open. If you have
>> > > pavucontrol open, and you can see activity in the mic volume meter, it
>> > > means that pulseaudio is using the microphone, and usually other
>> > > applications can't use the microphone at the same time if they try to
>> > > use the hardware directly, bypassing pulseaudio. Maybe in that
>> instance
>> > > chrome managed to create a recording stream in pulseaudio?
>> >
>> > I did it again to be sure, and yes, pavucontrol runs and shows input,
>> and
>> > at the same time bigbluebutton runs on chrome and echoes my voice with a
>> > cracking sound
>>
>> When you say "shows input", do you mean that the microphone shows
>> activity on the "Input Devices" tab, or that there's a stream for
>> chrome visible on the "Recording" tab?
>>
>> The earlier pulseaudio log didn't show any recording streams from
>> chrome. If you manage to get chrome to create a recording stream
>> (you'll see it in the "Recording" tab of pavucontrol), a new log might
>> show something, although I'm not particularly optimistic about that.
>>
>> To narrow down the problem further, you could try recording from the
>> microphone at the same time when chrome is supposed to be recording
>> from it. You can use this command:
>>
>> parecord --device=alsa_input.pci-0000_00_1b.0.analog-stereo test.wav
>>
>> When you play back that test.wav file, does it contain better
>> microphone audio than what chrome produces?
>>
>> > And yes, there is an error nmessage in my terminal (please look at
>> latest
>> > line)
>> >
>> > /usr/bin/google-chrome-stable %U
>> > [2613:2613:0215/125529.812664:ERROR:gl_surface_glx.cc(406)]
>> glxQueryVersion
>> > failed
>> > [2613:2613:0215/125529.812964:ERROR:gl_initializer_x11.cc(130)]
>> > GLSurfaceGLX::InitializeOneOff failed.
>> > [2613:2613:0215/125529.829241:ERROR:gpu_child_thread.cc(327)] Exiting
>> GPU
>> > process due to errors during initialization
>> > [2527:2561:0215/125530.039051:ERROR:browser_gpu_channel_host
>> _factory.cc(113)]
>> > Failed to launch GPU process.
>> > [2527:2561:0215/125530.049017:ERROR:browser_gpu_channel_host
>> _factory.cc(113)]
>> > Failed to launch GPU process.
>> > [2527:2561:0215/125530.057225:ERROR:browser_gpu_channel_host
>> _factory.cc(113)]
>> > Failed to launch GPU process.
>> > [2527:2561:0215/125530.059328:ERROR:browser_gpu_channel_host
>> _factory.cc(113)]
>> > Failed to launch GPU process.
>> > [2527:2561:0215/125530.061832:ERROR:browser_gpu_channel_host
>> _factory.cc(113)]
>> > Failed to launch GPU process.
>> > [2527:2561:0215/125530.064292:ERROR:browser_gpu_channel_host
>> _factory.cc(113)]
>> > Failed to launch GPU process.
>> > [WARNING:flash/platform/pepper/pep_module.cpp(63)] SANDBOXED
>> > [WARNING:flash/platform/pepper/pep_module.cpp(63)] SANDBOXED
>> > [1:23:0215/125626.008144:ERROR:audio_send_stream.cc(90)] Failed to set
>> up
>> > send codec state.
>>
>> That error doesn't unfortunately tell me much. This looks more like
>> something that Chrome developers should look at.
>>
>> --
>> Tanu
>>
>> https://www.patreon.com/tanuk
>> _______________________________________________
>> pulseaudio-discuss mailing list
>> pulseaudio-discuss at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>>
>
>
>
> --
> =================================
> Fátima Castiglione Maldonado
> Singer, Designer, Creative, Artificial Intelligence
> Cantante, Diseñadora, Creativa, Inteligencia Artificial
> castiglionemaldonado at gmail.com
>
>                      ____
>                    ,'_   |
>  __________________|__|__|__
> <_____                      )                _.------._
>       `-----------,------.-'              ,-'          `-.
>                  |    |  |              ,'                `.
>                 ,'    |  |            ,'                    `.
>                 |  _,-'  |__         /                        \
>               _,'-'    `.   `---.___|_____________             \
>           .--'  -----.  | _____________________   `-. -----     |
>           |    ___|  |  |                      \  ,- \          |
>           |    ___|  |===========================((|) |         |
>           |       |  |  | _____________________/  `- /          |
>           `--._ -----'  |        _________________,-' -----     |
>                `.-._   ,' __.---'   |                          /
>                 |   `-.  |           \                        /
>                 `.    |  |            `.                    ,'
>                  |    |  |              `.                ,'
>  _____,----------`-------`-.              `-._        _,-'
> <___________________________)                 `------'
>                    | _|  |
>                    `.____|
>
>
>
> =================================
>
> while( love & passion ) {
>   for( fight = 0 ; rights < freedom ; rights++ )
>     fight = standup( rights );
>   free( babylon );
> }
> =================================
>
>
>


-- 
=================================
Fátima Castiglione Maldonado
Singer, Designer, Creative, Artificial Intelligence
Cantante, Diseñadora, Creativa, Inteligencia Artificial
castiglionemaldonado at gmail.com

                     ____
                   ,'_   |
 __________________|__|__|__
<_____                      )                _.------._
      `-----------,------.-'              ,-'          `-.
                 |    |  |              ,'                `.
                ,'    |  |            ,'                    `.
                |  _,-'  |__         /                        \
              _,'-'    `.   `---.___|_____________             \
          .--'  -----.  | _____________________   `-. -----     |
          |    ___|  |  |                      \  ,- \          |
          |    ___|  |===========================((|) |         |
          |       |  |  | _____________________/  `- /          |
          `--._ -----'  |        _________________,-' -----     |
               `.-._   ,' __.---'   |                          /
                |   `-.  |           \                        /
                `.    |  |            `.                    ,'
                 |    |  |              `.                ,'
 _____,----------`-------`-.              `-._        _,-'
<___________________________)                 `------'
                   | _|  |
                   `.____|



=================================

while( love & passion ) {
  for( fight = 0 ; rights < freedom ; rights++ )
    fight = standup( rights );
  free( babylon );
}
=================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20170216/32f21f54/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.zip
Type: application/zip
Size: 17358 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20170216/32f21f54/attachment-0001.zip>


More information about the pulseaudio-discuss mailing list