adapt to newest mediastreamer, drop rfc-ilbc codec and use webrtc's one instead.
This commit is contained in:
parent
0c0812628f
commit
c563e78ba5
13 changed files with 21 additions and 46 deletions
6
.gitmodules
vendored
6
.gitmodules
vendored
|
@ -7,12 +7,6 @@
|
||||||
[submodule "submodules/externals/speex"]
|
[submodule "submodules/externals/speex"]
|
||||||
path = submodules/externals/speex
|
path = submodules/externals/speex
|
||||||
url = git://git.linphone.org/speex.git
|
url = git://git.linphone.org/speex.git
|
||||||
[submodule "submodules/msilbc"]
|
|
||||||
path = submodules/msilbc
|
|
||||||
url = git://git.linphone.org/msilbc.git
|
|
||||||
[submodule "submodules/libilbc-rfc3951"]
|
|
||||||
path = submodules/libilbc-rfc3951
|
|
||||||
url = git://git.linphone.org/libilbc-rfc3951.git
|
|
||||||
[submodule "submodules/externals/ffmpeg"]
|
[submodule "submodules/externals/ffmpeg"]
|
||||||
path = submodules/externals/ffmpeg
|
path = submodules/externals/ffmpeg
|
||||||
url = git://git.linphone.org/ffmpeg.git
|
url = git://git.linphone.org/ffmpeg.git
|
||||||
|
|
21
Makefile
21
Makefile
|
@ -130,25 +130,6 @@ endif
|
||||||
|
|
||||||
install: install-apk run-linphone
|
install: install-apk run-linphone
|
||||||
|
|
||||||
#libilbc
|
|
||||||
LIBILBC_SRC_DIR=$(TOPDIR)/submodules/libilbc-rfc3951
|
|
||||||
LIBILBC_BUILD_DIR=$(LIBILBC_SRC_DIR)
|
|
||||||
$(LIBILBC_SRC_DIR)/configure:
|
|
||||||
cd $(LIBILBC_SRC_DIR) && ./autogen.sh
|
|
||||||
|
|
||||||
$(LIBILBC_BUILD_DIR)/Makefile: $(LIBILBC_SRC_DIR)/configure
|
|
||||||
cd $(LIBILBC_BUILD_DIR) && \
|
|
||||||
./configure \
|
|
||||||
|
|
||||||
$(LIBILBC_BUILD_DIR)/src/iLBC_decode.c: $(LIBILBC_BUILD_DIR)/Makefile
|
|
||||||
cd $(LIBILBC_BUILD_DIR)/downloads && make \
|
|
||||||
|| ( echo "iLBC prepare stage failed" ; exit 1 )
|
|
||||||
|
|
||||||
ifeq ($(BUILD_ILBC),1)
|
|
||||||
prepare-ilbc: $(LIBILBC_BUILD_DIR)/src/iLBC_decode.c
|
|
||||||
else
|
|
||||||
prepare-ilbc:
|
|
||||||
endif
|
|
||||||
|
|
||||||
#ffmpeg
|
#ffmpeg
|
||||||
ifeq ($(BUILD_VIDEO),1)
|
ifeq ($(BUILD_VIDEO),1)
|
||||||
|
@ -430,7 +411,7 @@ $(MATROSKA_SRC_DIR)/patch_applied.txt: $(MATROSKA_BUILD_DIR)/fix_libmatroska2.pa
|
||||||
cd $(MATROSKA_SRC_DIR); patch -p1 < $<; touch $@
|
cd $(MATROSKA_SRC_DIR); patch -p1 < $<; touch $@
|
||||||
|
|
||||||
#Build targets
|
#Build targets
|
||||||
prepare-sources: build-ffmpeg build-x264 build-openh264 prepare-ilbc build-vpx prepare-srtp prepare-mediastreamer2 prepare-antlr3 prepare-belle-sip $(TOPDIR)/res/raw/rootca.pem prepare-matroska2 prepare-codec2
|
prepare-sources: build-ffmpeg build-x264 build-openh264 build-vpx prepare-srtp prepare-mediastreamer2 prepare-antlr3 prepare-belle-sip $(TOPDIR)/res/raw/rootca.pem prepare-matroska2 prepare-codec2
|
||||||
|
|
||||||
GENERATE_OPTIONS = NDK_DEBUG=$(NDK_DEBUG) BUILD_FOR_X86=$(BUILD_FOR_X86) \
|
GENERATE_OPTIONS = NDK_DEBUG=$(NDK_DEBUG) BUILD_FOR_X86=$(BUILD_FOR_X86) \
|
||||||
BUILD_AMRNB=$(BUILD_AMRNB) BUILD_AMRWB=$(BUILD_AMRWB) BUILD_SILK=$(BUILD_SILK) BUILD_G729=$(BUILD_G729) BUILD_OPUS=$(BUILD_OPUS) BUILD_CODEC2=$(BUILD_CODEC2)\
|
BUILD_AMRNB=$(BUILD_AMRNB) BUILD_AMRWB=$(BUILD_AMRWB) BUILD_SILK=$(BUILD_SILK) BUILD_G729=$(BUILD_G729) BUILD_OPUS=$(BUILD_OPUS) BUILD_CODEC2=$(BUILD_CODEC2)\
|
||||||
|
|
|
@ -82,10 +82,6 @@ endif
|
||||||
include $(linphone-root-dir)/submodules/mssilk/Android.mk
|
include $(linphone-root-dir)/submodules/mssilk/Android.mk
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BUILD_ILBC), 1)
|
|
||||||
include $(linphone-root-dir)/submodules/msilbc/Android.mk
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BUILD_CODEC2), 1)
|
ifeq ($(BUILD_CODEC2), 1)
|
||||||
include $(linphone-root-dir)/submodules/mscodec2/Android.mk
|
include $(linphone-root-dir)/submodules/mscodec2/Android.mk
|
||||||
include $(linphone-root-dir)/submodules/externals/build/codec2/Android.mk
|
include $(linphone-root-dir)/submodules/externals/build/codec2/Android.mk
|
||||||
|
@ -179,13 +175,14 @@ $(info $(TARGET_ARCH_ABI): Build NEON modules for ISAC)
|
||||||
WEBRTC_BUILD_NEON_LIBS=true
|
WEBRTC_BUILD_NEON_LIBS=true
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(info $(TARGET_ARCH_ABI): Build iSAC plugin for mediastreamer2)
|
$(info $(TARGET_ARCH_ABI): Build iSAC and ilbc plugin for mediastreamer2)
|
||||||
include $(linphone-root-dir)/submodules/mswebrtc/build/android/modules/audio_coding/codecs/isac/fix/source/Android.mk
|
include $(linphone-root-dir)/submodules/mswebrtc/build/android/modules/audio_coding/codecs/isac/fix/source/Android.mk
|
||||||
|
include $(linphone-root-dir)/submodules/mswebrtc/build/android/modules/audio_coding/codecs/ilbc/Android.mk
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# common modules for ISAC and AECM
|
# common modules for ISAC and AECM
|
||||||
ifneq ($(BUILD_WEBRTC_AECM)$(BUILD_WEBRTC_ISAC),00)
|
ifneq ($(BUILD_WEBRTC_AECM)$(BUILD_WEBRTC_ISAC)$(BUILD_ILBC),000)
|
||||||
$(info $(TARGET_ARCH_ABI): Build common modules for iSAC and AECM ($(BUILD_WEBRTC_AECM)$(BUILD_WEBRTC_ISAC)))
|
$(info $(TARGET_ARCH_ABI): Build common modules for iSAC, ilbc and AECM ($(BUILD_WEBRTC_AECM)$(BUILD_WEBRTC_ISAC)))
|
||||||
include $(linphone-root-dir)/submodules/mswebrtc/build/android/common_audio/signal_processing/Android.mk
|
include $(linphone-root-dir)/submodules/mswebrtc/build/android/common_audio/signal_processing/Android.mk
|
||||||
include $(linphone-root-dir)/submodules/mswebrtc/Android.mk
|
include $(linphone-root-dir)/submodules/mswebrtc/Android.mk
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -103,6 +103,13 @@ ifneq ($(BUILD_OPUS), 0)
|
||||||
APP_MODULES += libopus
|
APP_MODULES += libopus
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BUILD_ILBC), 1)
|
||||||
|
APP_MODULES += libwebrtc_spl libwebrtc_ilbc libmswebrtc
|
||||||
|
ifneq (,$(findstring armeabi,$(TARGET_ARCH_ABI)))
|
||||||
|
APP_MODULES += libwebrtc_spl_neon
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($(BUILD_WEBRTC_AECM), 0)
|
ifneq ($(BUILD_WEBRTC_AECM), 0)
|
||||||
APP_MODULES += libwebrtc_system_wrappers libwebrtc_spl libwebrtc_apm_utility libwebrtc_aecm libmswebrtc
|
APP_MODULES += libwebrtc_system_wrappers libwebrtc_spl libwebrtc_apm_utility libwebrtc_aecm libmswebrtc
|
||||||
ifneq (,$(findstring armeabi,$(TARGET_ARCH_ABI)))
|
ifneq (,$(findstring armeabi,$(TARGET_ARCH_ABI)))
|
||||||
|
@ -135,10 +142,6 @@ ifeq ($(BUILD_CODEC2), 1)
|
||||||
APP_MODULES +=libcodec2 libmscodec2
|
APP_MODULES +=libcodec2 libmscodec2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BUILD_ILBC), 1)
|
|
||||||
APP_MODULES +=libmsilbc
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BUILD_SRTP), 1)
|
ifeq ($(BUILD_SRTP), 1)
|
||||||
APP_MODULES += libsrtp
|
APP_MODULES += libsrtp
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 31a89d7d951200f6c86f800ca017184700bd0917
|
Subproject commit e540e0c4d5521c5125e1de496ad1085e642df120
|
|
@ -1 +1 @@
|
||||||
Subproject commit 77d350a949ad073de0718ab60b86c74930517f1b
|
Subproject commit 39a660c07feaaaae0eca8e1d8c18d52adb8e7cf3
|
|
@ -1 +1 @@
|
||||||
Subproject commit 933748ee9becf3186776f9d1cb69a00e92dc2905
|
Subproject commit 1980323a8e37224a71045e2ff12ecb8cd8e9ef72
|
|
@ -1 +1 @@
|
||||||
Subproject commit 61ab5cb11a63a5f8e10cced9d481979718199954
|
Subproject commit 5e180193d06e5d6b3394571ac7750b5359856c15
|
|
@ -1 +1 @@
|
||||||
Subproject commit 64df6cb53ceacdea74a021e83f664e9aaa140ef8
|
Subproject commit 8971bd1a232ad541153bca0044cc43fad6272612
|
|
@ -1 +1 @@
|
||||||
Subproject commit 9be271700b377a251b95e9d8dbe0e8b878a403ac
|
Subproject commit 709e1f6903914fa883ebcf26f51fece65e3e1ab5
|
|
@ -1 +1 @@
|
||||||
Subproject commit 2af360002ccf2a0e30c48aec9498b2bfd23fcd2c
|
Subproject commit e766ae43c503aa08080df9beb24a0fe81ce213bb
|
|
@ -1 +1 @@
|
||||||
Subproject commit 148373c315a78bbadbe57997bf316f03c561ded2
|
Subproject commit 122f55421b02f063817638b8650032eb056995a3
|
|
@ -1 +1 @@
|
||||||
Subproject commit 58941c15dcf23d6b47cdc557b399dc6e7ce2b0b5
|
Subproject commit 427e20aeabcf62fbd2fdb48ab80f56833d3db790
|
Loading…
Reference in a new issue