I need to activate the echo cancelation algorithm and I try to add #define
PJMEDIA_HAS_SPEEX_AEC 1
http://www.pjsip.org/pjmedia/docs/html/group__PJMEDIA__CONFIG.htm#ga28ceda7724d9da106c3bf52573ba5d00in
the config_site.h but then I realise that this is the default behaviour
of PJSIP. But I'm listening a lot of echo during a call.
Can someone tell me what variable should I set to solve this issue?
Hi, I had same issue 2 weeks ago.
I just use the new webrtc echo canceller from the last commits. And it
works greate!
Also I disabled al other EC and unused audio codecs...
Check this ticket for help:
https://trac.pjsip.org/repos/ticket/1888
пт, 8 апр. 2016 г. в 20:36, João Resende ms92resende@gmail.com:
I need to activate the echo cancelation algorithm and I try to add #define
PJMEDIA_HAS_SPEEX_AEC 1
http://www.pjsip.org/pjmedia/docs/html/group__PJMEDIA__CONFIG.htm#ga28ceda7724d9da106c3bf52573ba5d00in
the config_site.h but then I realise that this is the default behaviour
of PJSIP. But I'm listening a lot of echo during a call.
Can someone tell me what variable should I set to solve this issue?
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
What OS system are you using with pjsip?
For Android, the speex AEC that came with pjmedia_snd_port seem's have
problem to work properly even with the latest pjproject2.4.5.
I have to turned off the default AEC, and manually do it within the
callback functions. Such as
snd_port_param.base.ec_enabled=PJ_FALSE;
snd_port_param.on_rec_frame=rec_cb; >snd_port_param.on_play_frame=play_cb;
status=pjmedia_echo_create2(....);
You have to be careful with all the parameters, because the default setting
would not work for SPEEX.
I would really hope if there were some easier ways for Android developers.
Сергей Митрофанов goretz.m@gmail.com于2016年4月9日周六 上午1:50写道:
Hi, I had same issue 2 weeks ago.
I just use the new webrtc echo canceller from the last commits. And it
works greate!
Also I disabled al other EC and unused audio codecs...
Check this ticket for help:
https://trac.pjsip.org/repos/ticket/1888
пт, 8 апр. 2016 г. в 20:36, João Resende ms92resende@gmail.com:
I need to activate the echo cancelation algorithm and I try to add #define
PJMEDIA_HAS_SPEEX_AEC 1
http://www.pjsip.org/pjmedia/docs/html/group__PJMEDIA__CONFIG.htm#ga28ceda7724d9da106c3bf52573ba5d00in
the config_site.h but then I realise that this is the default
behaviour of PJSIP. But I'm listening a lot of echo during a call.
Can someone tell me what variable should I set to solve this issue?
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
I'm developing for Android.
I jus followed the ticket, that I mentioned.
And disabled speex and speex-aec (actually I disabled all audio codecs
except opus =) at compile time (with ./configure).
Here is my ./configure command:
TARGET_ABI=armeabi-v7a APP_PLATFORM=android-16 ./configure-android
--use-ndk-cflags --disable-speex-aec --disable-g711-codec
--disable-l16-codec --disable-gsm-codec --disable-g722-codec
--disable-g7221-codec --disable-speex-codec --disable-ilbc-codec
--disable-ffmpeg --disable-opencore-amr --disable-silk
--with-openh264=/projects/openh264-1.0.0/android
--with-libyuv=/projects/libyuv-android/jni --with-opus=/projects/opus/build
--disable-webrtc
Feel free to adopt it for your case.
Also I have nothing special in config_site.h:
#define PJ_CONFIG_ANDROID 1
#define PJMEDIA_HAS_VIDEO 1
#include <pj/config_site_sample.h>
сб, 9 апр. 2016 г. в 6:55, 屈振华 qzhua3@gmail.com:
What OS system are you using with pjsip?
For Android, the speex AEC that came with pjmedia_snd_port seem's have
problem to work properly even with the latest pjproject2.4.5.
I have to turned off the default AEC, and manually do it within the
callback functions. Such as
snd_port_param.base.ec_enabled=PJ_FALSE;
snd_port_param.on_rec_frame=rec_cb;
snd_port_param.on_play_frame=play_cb;
status=pjmedia_echo_create2(....);
You have to be careful with all the parameters, because the default
setting would not work for SPEEX.
I would really hope if there were some easier ways for Android developers.
Сергей Митрофанов goretz.m@gmail.com于2016年4月9日周六 上午1:50写道:
Hi, I had same issue 2 weeks ago.
I just use the new webrtc echo canceller from the last commits. And it
works greate!
Also I disabled al other EC and unused audio codecs...
Check this ticket for help:
https://trac.pjsip.org/repos/ticket/1888
пт, 8 апр. 2016 г. в 20:36, João Resende ms92resende@gmail.com:
I need to activate the echo cancelation algorithm and I try to add #define
PJMEDIA_HAS_SPEEX_AEC 1
http://www.pjsip.org/pjmedia/docs/html/group__PJMEDIA__CONFIG.htm#ga28ceda7724d9da106c3bf52573ba5d00in
the config_site.h but then I realise that this is the default
behaviour of PJSIP. But I'm listening a lot of echo during a call.
Can someone tell me what variable should I set to solve this issue?
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Oh, forgot to mention. I use the pjsip version directly from SVN. It is not
the release one, it is for some amount of commits ahead from 2.4.5
сб, 9 апр. 2016 г. в 7:38, Сергей Митрофанов goretz.m@gmail.com:
I'm developing for Android.
I jus followed the ticket, that I mentioned.
And disabled speex and speex-aec (actually I disabled all audio codecs
except opus =) at compile time (with ./configure).
Here is my ./configure command:
TARGET_ABI=armeabi-v7a APP_PLATFORM=android-16 ./configure-android
--use-ndk-cflags --disable-speex-aec --disable-g711-codec
--disable-l16-codec --disable-gsm-codec --disable-g722-codec
--disable-g7221-codec --disable-speex-codec --disable-ilbc-codec
--disable-ffmpeg --disable-opencore-amr --disable-silk
--with-openh264=/projects/openh264-1.0.0/android
--with-libyuv=/projects/libyuv-android/jni --with-opus=/projects/opus/build
--disable-webrtc
Feel free to adopt it for your case.
Also I have nothing special in config_site.h:
#define PJ_CONFIG_ANDROID 1
#define PJMEDIA_HAS_VIDEO 1
#include <pj/config_site_sample.h>
сб, 9 апр. 2016 г. в 6:55, 屈振华 qzhua3@gmail.com:
What OS system are you using with pjsip?
For Android, the speex AEC that came with pjmedia_snd_port seem's have
problem to work properly even with the latest pjproject2.4.5.
I have to turned off the default AEC, and manually do it within the
callback functions. Such as
snd_port_param.base.ec_enabled=PJ_FALSE;
snd_port_param.on_rec_frame=rec_cb;
snd_port_param.on_play_frame=play_cb;
status=pjmedia_echo_create2(....);
You have to be careful with all the parameters, because the default
setting would not work for SPEEX.
I would really hope if there were some easier ways for Android developers.
Сергей Митрофанов goretz.m@gmail.com于2016年4月9日周六 上午1:50写道:
Hi, I had same issue 2 weeks ago.
I just use the new webrtc echo canceller from the last commits. And it
works greate!
Also I disabled al other EC and unused audio codecs...
Check this ticket for help:
https://trac.pjsip.org/repos/ticket/1888
пт, 8 апр. 2016 г. в 20:36, João Resende ms92resende@gmail.com:
I need to activate the echo cancelation algorithm and I try to add #define
PJMEDIA_HAS_SPEEX_AEC 1
http://www.pjsip.org/pjmedia/docs/html/group__PJMEDIA__CONFIG.htm#ga28ceda7724d9da106c3bf52573ba5d00in
the config_site.h but then I realise that this is the default
behaviour of PJSIP. But I'm listening a lot of echo during a call.
Can someone tell me what variable should I set to solve this issue?
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
I compiled as the ticket sugest but. I'm not getting what I should do in
the "How to use WebRTC AEC " I'm compiling using pjsua2 but how I get the
Media to set that MediaConfig.ecOptions?
I'm developing this in linux and the plataform where I want to run is
android.
Thanks for the fast reply :)
2016-04-09 5:42 GMT+01:00 Сергей Митрофанов goretz.m@gmail.com:
Oh, forgot to mention. I use the pjsip version directly from SVN. It is
not the release one, it is for some amount of commits ahead from 2.4.5
сб, 9 апр. 2016 г. в 7:38, Сергей Митрофанов goretz.m@gmail.com:
I'm developing for Android.
I jus followed the ticket, that I mentioned.
And disabled speex and speex-aec (actually I disabled all audio codecs
except opus =) at compile time (with ./configure).
Here is my ./configure command:
TARGET_ABI=armeabi-v7a APP_PLATFORM=android-16 ./configure-android
--use-ndk-cflags --disable-speex-aec --disable-g711-codec
--disable-l16-codec --disable-gsm-codec --disable-g722-codec
--disable-g7221-codec --disable-speex-codec --disable-ilbc-codec
--disable-ffmpeg --disable-opencore-amr --disable-silk
--with-openh264=/projects/openh264-1.0.0/android
--with-libyuv=/projects/libyuv-android/jni --with-opus=/projects/opus/build
--disable-webrtc
Feel free to adopt it for your case.
Also I have nothing special in config_site.h:
#define PJ_CONFIG_ANDROID 1
#define PJMEDIA_HAS_VIDEO 1
#include <pj/config_site_sample.h>
сб, 9 апр. 2016 г. в 6:55, 屈振华 qzhua3@gmail.com:
What OS system are you using with pjsip?
For Android, the speex AEC that came with pjmedia_snd_port seem's have
problem to work properly even with the latest pjproject2.4.5.
I have to turned off the default AEC, and manually do it within the
callback functions. Such as
snd_port_param.base.ec_enabled=PJ_FALSE;
snd_port_param.on_rec_frame=rec_cb;
snd_port_param.on_play_frame=play_cb;
status=pjmedia_echo_create2(....);
You have to be careful with all the parameters, because the default
setting would not work for SPEEX.
I would really hope if there were some easier ways for Android
developers.
Сергей Митрофанов goretz.m@gmail.com于2016年4月9日周六 上午1:50写道:
Hi, I had same issue 2 weeks ago.
I just use the new webrtc echo canceller from the last commits. And it
works greate!
Also I disabled al other EC and unused audio codecs...
Check this ticket for help:
https://trac.pjsip.org/repos/ticket/1888
пт, 8 апр. 2016 г. в 20:36, João Resende ms92resende@gmail.com:
I need to activate the echo cancelation algorithm and I try to add #define
PJMEDIA_HAS_SPEEX_AEC 1
http://www.pjsip.org/pjmedia/docs/html/group__PJMEDIA__CONFIG.htm#ga28ceda7724d9da106c3bf52573ba5d00in
the config_site.h but then I realise that this is the default
behaviour of PJSIP. But I'm listening a lot of echo during a call.
Can someone tell me what variable should I set to solve this issue?
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
It just worked out of the box in my app without any explicit MediaCodec
options settings.
Looks like it is enabled and works by default once it is compiled according
the ticket )
You are welcome )
сб, 9 апр. 2016 г. в 13:36, João Resende up201107737@fc.up.pt:
I compiled as the ticket sugest but. I'm not getting what I should do in
the "How to use WebRTC AEC " I'm compiling using pjsua2 but how I get the
Media to set that MediaConfig.ecOptions?
I'm developing this in linux and the plataform where I want to run is
android.
Thanks for the fast reply :)
2016-04-09 5:42 GMT+01:00 Сергей Митрофанов goretz.m@gmail.com:
Oh, forgot to mention. I use the pjsip version directly from SVN. It is
not the release one, it is for some amount of commits ahead from 2.4.5
сб, 9 апр. 2016 г. в 7:38, Сергей Митрофанов goretz.m@gmail.com:
I'm developing for Android.
I jus followed the ticket, that I mentioned.
And disabled speex and speex-aec (actually I disabled all audio codecs
except opus =) at compile time (with ./configure).
Here is my ./configure command:
TARGET_ABI=armeabi-v7a APP_PLATFORM=android-16 ./configure-android
--use-ndk-cflags --disable-speex-aec --disable-g711-codec
--disable-l16-codec --disable-gsm-codec --disable-g722-codec
--disable-g7221-codec --disable-speex-codec --disable-ilbc-codec
--disable-ffmpeg --disable-opencore-amr --disable-silk
--with-openh264=/projects/openh264-1.0.0/android
--with-libyuv=/projects/libyuv-android/jni --with-opus=/projects/opus/build
--disable-webrtc
Feel free to adopt it for your case.
Also I have nothing special in config_site.h:
#define PJ_CONFIG_ANDROID 1
#define PJMEDIA_HAS_VIDEO 1
#include <pj/config_site_sample.h>
сб, 9 апр. 2016 г. в 6:55, 屈振华 qzhua3@gmail.com:
What OS system are you using with pjsip?
For Android, the speex AEC that came with pjmedia_snd_port seem's have
problem to work properly even with the latest pjproject2.4.5.
I have to turned off the default AEC, and manually do it within the
callback functions. Such as
snd_port_param.base.ec_enabled=PJ_FALSE;
snd_port_param.on_rec_frame=rec_cb;
snd_port_param.on_play_frame=play_cb;
status=pjmedia_echo_create2(....);
You have to be careful with all the parameters, because the default
setting would not work for SPEEX.
I would really hope if there were some easier ways for Android
developers.
Сергей Митрофанов goretz.m@gmail.com于2016年4月9日周六 上午1:50写道:
Hi, I had same issue 2 weeks ago.
I just use the new webrtc echo canceller from the last commits. And it
works greate!
Also I disabled al other EC and unused audio codecs...
Check this ticket for help:
https://trac.pjsip.org/repos/ticket/1888
пт, 8 апр. 2016 г. в 20:36, João Resende ms92resende@gmail.com:
I need to activate the echo cancelation algorithm and I try to add #define
PJMEDIA_HAS_SPEEX_AEC 1
http://www.pjsip.org/pjmedia/docs/html/group__PJMEDIA__CONFIG.htm#ga28ceda7724d9da106c3bf52573ba5d00in
the config_site.h but then I realise that this is the default
behaviour of PJSIP. But I'm listening a lot of echo during a call.
Can someone tell me what variable should I set to solve this issue?
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
when you say compiled according with the ticket you compile the all webrtc?
or just the part of the AEC?
I'm getting problems with eco. But I get problems with audio in Android
over 21 is too low any idea?
2016-04-09 12:32 GMT+01:00 Сергей Митрофанов goretz.m@gmail.com:
It just worked out of the box in my app without any explicit MediaCodec
options settings.
Looks like it is enabled and works by default once it is compiled
according the ticket )
You are welcome )
сб, 9 апр. 2016 г. в 13:36, João Resende up201107737@fc.up.pt:
I compiled as the ticket sugest but. I'm not getting what I should do in
the "How to use WebRTC AEC " I'm compiling using pjsua2 but how I get the
Media to set that MediaConfig.ecOptions?
I'm developing this in linux and the plataform where I want to run is
android.
Thanks for the fast reply :)
2016-04-09 5:42 GMT+01:00 Сергей Митрофанов goretz.m@gmail.com:
Oh, forgot to mention. I use the pjsip version directly from SVN. It is
not the release one, it is for some amount of commits ahead from 2.4.5
сб, 9 апр. 2016 г. в 7:38, Сергей Митрофанов goretz.m@gmail.com:
I'm developing for Android.
I jus followed the ticket, that I mentioned.
And disabled speex and speex-aec (actually I disabled all audio codecs
except opus =) at compile time (with ./configure).
Here is my ./configure command:
TARGET_ABI=armeabi-v7a APP_PLATFORM=android-16 ./configure-android
--use-ndk-cflags --disable-speex-aec --disable-g711-codec
--disable-l16-codec --disable-gsm-codec --disable-g722-codec
--disable-g7221-codec --disable-speex-codec --disable-ilbc-codec
--disable-ffmpeg --disable-opencore-amr --disable-silk
--with-openh264=/projects/openh264-1.0.0/android
--with-libyuv=/projects/libyuv-android/jni --with-opus=/projects/opus/build
--disable-webrtc
Feel free to adopt it for your case.
Also I have nothing special in config_site.h:
#define PJ_CONFIG_ANDROID 1
#define PJMEDIA_HAS_VIDEO 1
#include <pj/config_site_sample.h>
сб, 9 апр. 2016 г. в 6:55, 屈振华 qzhua3@gmail.com:
What OS system are you using with pjsip?
For Android, the speex AEC that came with pjmedia_snd_port seem's
have problem to work properly even with the latest pjproject2.4.5.
I have to turned off the default AEC, and manually do it within the
callback functions. Such as
snd_port_param.base.ec_enabled=PJ_FALSE;
snd_port_param.on_rec_frame=rec_cb;
snd_port_param.on_play_frame=play_cb;
status=pjmedia_echo_create2(....);
You have to be careful with all the parameters, because the default
setting would not work for SPEEX.
I would really hope if there were some easier ways for Android
developers.
Сергей Митрофанов goretz.m@gmail.com于2016年4月9日周六 上午1:50写道:
Hi, I had same issue 2 weeks ago.
I just use the new webrtc echo canceller from the last commits. And
it works greate!
Also I disabled al other EC and unused audio codecs...
Check this ticket for help:
https://trac.pjsip.org/repos/ticket/1888
пт, 8 апр. 2016 г. в 20:36, João Resende ms92resende@gmail.com:
I need to activate the echo cancelation algorithm and I try to add #define
PJMEDIA_HAS_SPEEX_AEC 1
http://www.pjsip.org/pjmedia/docs/html/group__PJMEDIA__CONFIG.htm#ga28ceda7724d9da106c3bf52573ba5d00in
the config_site.h but then I realise that this is the default
behaviour of PJSIP. But I'm listening a lot of echo during a call.
Can someone tell me what variable should I set to solve this issue?
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org