kirikouz / webrtc2sip

Automatically exported from code.google.com/p/webrtc2sip
0 stars 0 forks source link

webrtc2sip does not compile using latest build #100

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Using previous versions webrtc2sip compiled correctly, I followed the updated 
wiki guide.

ffmpeg: ./configure --extra-cflags="-fPIC" --extra-ldflags="-lpthread" 
--enable-pic --enable-memalign-hack --enable-pthreads --enable-shared 
--disable-static --disable-network --enable-pthreads --disable-ffmpeg 
--disable-ffplay --disable-ffserver --disable-ffprobe --enable-gpl 
--disable-debug
doubango: ./autogen.sh && ./configure --with-ssl --with-srtp --with-vpx 
--with-yuv --with-speex --with-speexdsp --with-g729 --with-ffmpeg

What version of the product are you using? On what operating system?
Centos 6 64 bits - all projects checked out this morning

Please provide any additional information below.

the compilation ends as following:

mv -f .deps/webrtc2sip-MediaContent.Tpo .deps/webrtc2sip-MediaContent.Po
g++ -DHAVE_CONFIG_H -I.  -I/usr/local/include/tinysak 
-I/usr/local/include/tinynet -I/usr/local/include/tinyhttp 
-I/usr/local/include/tinysip -I/usr/local/include/tinydav 
-I/usr/local/include/tinysdp -I/usr/local/include/tinysigcomp 
-I/usr/local/include/tinymedia -I/usr/local/include/tinyxcap 
-I/usr/local/include/tinysms -I/usr/local/include/tinymsrp 
-I/usr/local/include/tinyrtp -I/usr/local/include/tinyipsec 
-I/usr/include/libxml2 -I/usr/include -Itinywrap   -g -O2 -MT 
webrtc2sip-MediaSessionMgr.o -MD -MP -MF .deps/webrtc2sip-MediaSessionMgr.Tpo 
-c -o webrtc2sip-MediaSessionMgr.o `test -f 'tinywrap/MediaSessionMgr.cxx' || 
echo './'`tinywrap/MediaSessionMgr.cxx
tinywrap/MediaSessionMgr.cxx: In static member function ‘static bool 
MediaSessionMgr::defaultsSetCongestionCtrlEnabled(bool)’:
tinywrap/MediaSessionMgr.cxx:298: error: 
‘tmedia_defaults_set_congestion_ctrl_enabled’ was not declared in this scope
tinywrap/MediaSessionMgr.cxx: In static member function ‘static bool 
MediaSessionMgr::defaultsSetVideoFps(int32_t)’:
tinywrap/MediaSessionMgr.cxx:306: error: ‘tmedia_defaults_set_video_fps’ 
was not declared in this scope
tinywrap/MediaSessionMgr.cxx: In static member function ‘static bool 
MediaSessionMgr::defaultsSetAudioPtime(int32_t)’:
tinywrap/MediaSessionMgr.cxx:424: error: ‘tmedia_defaults_set_audio_ptime’ 
was not declared in this scope
tinywrap/MediaSessionMgr.cxx: In static member function ‘static bool 
MediaSessionMgr::defaultsSetAudioChannels(int32_t, int32_t)’:
tinywrap/MediaSessionMgr.cxx:427: error: 
‘tmedia_defaults_set_audio_channels’ was not declared in this scope
make[1]: *** [webrtc2sip-MediaSessionMgr.o] Error 1
make[1]: Leaving directory `/root/webrtc2/webrtc2sip'
make: *** [all] Error 2

Original issue reported on code.google.com by dimitri....@wildix.com on 11 Jun 2013 at 9:34

GoogleCodeExporter commented 8 years ago
You're probably not using the latest Doubango revision because all these 
functions are new but there. e.g. 
https://code.google.com/p/doubango/source/browse/branches/2.0/doubango/tinyMEDIA
/include/tinymedia/tmedia_defaults.h?r=898#36
What's your Doubango revision?

Original comment by boss...@yahoo.fr on 11 Jun 2013 at 9:48

GoogleCodeExporter commented 8 years ago
thanks - upading doubango to latest release the issue was solved.

using new version of doubango --with-g729 is not working anymore:

checking for gsm.h... no
checking for g729b/typedef.h... yes
checking for Init_Decod_ld8a in -lg729b... no
checking for g729b/ld8a.h... yes
checking for Init_Decod_ld8a in -lg729b... (cached) no
configure: error: You requested G729 audio codec but not found...die

g729 include files are in place and were correctly detected by previous release 
I had installed.

Original comment by dimitri....@wildix.com on 11 Jun 2013 at 1:11

GoogleCodeExporter commented 8 years ago
Hello,

I am also getting same error,
checking for Init_Decod_ld8a in -lg729b... no
checking for g729b/ld8a.h... yes
checking for Init_Decod_ld8a in -lg729b... (cached) no
configure: error: You requested G729 audio codec but not found...die

I have installed g729 from following link
http://code.google.com/p/webrtc2sip/wiki/Building_Source_v2_0#Building_g729
But still getting error.

Please provide any pointers

Original comment by sagar.lo...@gmail.com on 10 Jul 2013 at 11:59

GoogleCodeExporter commented 8 years ago
Issue 113 has been merged into this issue.

Original comment by boss...@yahoo.fr on 26 Jul 2013 at 5:07

GoogleCodeExporter commented 8 years ago
You should remove --with-g729. The g729 issue is known an intentionally not 
fixed yet because of licensing issues (we'll probably remove g729). G.729 is a 
patented codec and we have many applications on the stores using our framework 
with g729 without the required license. I'm not really comfortable with this.

Original comment by boss...@yahoo.fr on 26 Jul 2013 at 5:08

GoogleCodeExporter commented 8 years ago
Hi,
I do have license of G729 
please tell me how could I resolve this issue while installing as I need to use 
the g729 coded in my application 

Original comment by sam...@hostnsoft.com on 2 Sep 2014 at 10:38

GoogleCodeExporter commented 8 years ago

Original comment by boss...@yahoo.fr on 13 Dec 2014 at 6:03

GoogleCodeExporter commented 8 years ago
Hi,

How I can enable G729 when compiling Doubango? 

please tell us.

Original comment by lperezu1...@gmail.com on 27 Feb 2015 at 2:59

GoogleCodeExporter commented 8 years ago
Hi boss,

I compiled g729b with any changes in dec_ld8a.c file in line 140 

-  extern Word16 bad_lsf;        /* bad LSF indicator   */
+  Word16 bad_lsf = 0;          /* bad LSF indicator   */ 

and Doubango Full Build with :
./configure --with-ssl --with-srtp --with-vpx --with-yuv --with-amr 
--with-speex --with-speexdsp --with-opus --with-gsm --with-ilbc --with-g729 
--with-ffmpeg

the output is:

**************************************************************************
*                               CONGRATULATIONS
**************************************************************************
Cross Compilation:    no
Target OS:            Linux
Host setup:           x86_64-unknown-linux-gnu
Install prefix:       /usr/local
Compiler:             gcc

Enable GPL:           yes
Enable Non Free:      yes

FFmpeg:               yes
VP8 video codec:      yes
OpenH264 video codec: yes
OPUS audio codec:     yes
ILBC audio codec:     yes
G.729 audio codec:    yes -> yes
GSM audio codec:      yes
AMR audio codec:      yes -> yes
SPEEX audio codec:    yes
G.722 audio codec:    yes
G.711 audio codec:    yes

YUV:                  yes
JPEG:                 no
SPEEX DSP:            yes

SSL:                  yes
DTLS-SRTP:            yes
DTLS:                 yes

SRTP:                 yes

WebRTC:               Enabled(no): AEC(no), NS(no)

Monotonic timers:     yes
RESOLV:               no

ALSA (audio):         no
OSS (audio):          yes
V4L2 (video):         yes

DEBUG:                no

Report any issue at https://groups.google.com/group/doubango

Is G729 ready to use in Webrtc2sip?

Thanks you for you´re answer.

Original comment by lperezu1...@gmail.com on 24 Mar 2015 at 2:40