[pulseaudio-discuss] problem with webrtc and pulseaudio

Fatima Castiglione Maldonado 发 castiglionemaldonado at gmail.com
Sat Feb 25 02:52:24 UTC 2017


>Chrome and firefox use the same latency configuration and the same sample
rate, >so neither of those is the problem.

>Both seem to configure 8 ms latency, although the real source latencyseems
to be >much higher (180 ms). This discrepancy doesn't seem tocause problems
for >firefox, though.

Yap.

>Here's a random thing to try: run chrome from the terminal, and set the
>PULSE_LATENCY_MSEC environment variable. That should override the latency
>that chrome configures. In case you're not familiar with how to run a
command with an environment variable set, simply add the environment
variable to the beginning of the command, like this: PULSE_LATENCY_MSEC=16
chrome

Thanks, I am.

>You can experiment with different values.

I did. Tried up using the following latency values.

16
32
64
128
10
20
8
6250
6
6.250
6.5
7

>At this point I don't expect this problem to get solved, but if you want
to still >continue debugging, you could try one more time to get a
PulseAudio log. Based >on the earlier experiments it looks like chrome
doesn't create a recording stream if >you start pulseaudio manually, but
you can enable verbose logging of the >automatically started pulseaudio
instance by putting this to:
> ~/.config/pulse/client.conf:

>extra-arguments = -vvvv --log-target=newfile:/tmp/pulseverbose.log
--log-time=1

>The log files are in the /tmp directory. You might see more than one file
>(pulseverbose.log, puolseverbose.log.1, pulseverbose.log.2, etc). In case
you >don't know which file is the right one, attach all of them.

Done. Log as attachment.

>(By the way, it's very weird if the recording stream creation really
succeeds or >fails depending on whether you started pulseaudio manually or
not. There should >be no difference in behaviour.)

Your logic is sound (Mr. Spok dixit)

Thank you very much for your support.



-- 

=================================
Fátima Castiglione Maldonado
Singer, Creative, Artificial Intelligence
Cantante, Creativa, Inteligencia Artificial
castiglionemaldonado at gmail.com

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



=================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20170224/4923dca4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pulseverbose.log.zip
Type: application/zip
Size: 29696 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20170224/4923dca4/attachment-0001.zip>


More information about the pulseaudio-discuss mailing list