webrtc for module-echo-cancel on pulseaudio (no hurry)

Per Gunnarsson p.gunnarsson at yahoo.com
Fri Jan 12 16:38:32 UTC 2018


Hello!

I have tried to compile webrtc for module-echo-cancel to pulseaudio.

webrtc removes a lot of microphone noise on Linux.

It compiled, but I have problems recompiling pulseaudio after that.


When compiling webrtc-audio-processing-0.3,

I added

[*-*freebsd*],
        [
         OS_CFLAGS="-DWEBRTC_FREEBSD"
         PLATFORM_CFLAGS="-DWEBRTC_POSIX"
        ],

to configure.ac

did

env LDFLAGS=-lexecinfo ./configure

added

#include <pthread_np.h> webrtc-audio-processing-0.3


#elif defined(WEBRTC_FREEBSD)
  ret = pthread_getthreadid_np();

to webrtc/base/platform_thread.cc

commented out something with

malloc.h and/or alloca

from webrtc/base/stringutils.h

and after this it compiled.


Before trying to compile pulseaudio, I moved the webrtc directory in
webrtc-audio-processing-0.3

to /usr/local/include

When trying to compile pulseaudio, I had to add a header file rotation.h
to the directory

webrtc/common_video. I think I found it here
<https://github.com/AnyRTC/anyRTC-RTMP-OpenSource/tree/master/webrtc/common_video>(apologies
for html mail).

After that, I ran into the attached error.

I have mailed Arun Raghavan about it too.

Regards,

Per Gunnarsson




More information about the freebsd-gnome mailing list