libvoice-broadcom-1.0.0: add /lib/voice/codecs.json which is used by codec capability

This commit is contained in:
Yalu Zhang 2023-03-16 15:46:36 +01:00
parent 7b483aa6e5
commit 995764bd31
4 changed files with 65 additions and 6 deletions

View file

@ -7,7 +7,8 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=libvoice-broadcom PKG_NAME:=libvoice-broadcom
PKG_VERSION:=0.1 PKG_RELEASE:=1
PKG_VERSION:=1.0.0
PKG_LICENSE:=PROPRIETARY PKG_LICENSE:=PROPRIETARY
PKG_LICENSE_FILES:=LICENSE PKG_LICENSE_FILES:=LICENSE
@ -51,9 +52,7 @@ endef
endif endif
define Package/$(PKG_NAME)/install define Package/$(PKG_NAME)/install
# Although there is nothing needs to be installed, but the install section must NOT be empty. Otherwise the package will be skipped as below. $(CP) ./files/* $(1)/
# WARNING: skipping libvoice-broadcom -- package has no install section
$(INSTALL_DIR) $(1)/usr/lib
endef endef
$(eval $(call BuildPackage,$(PKG_NAME))) $(eval $(call BuildPackage,$(PKG_NAME)))

View file

@ -0,0 +1,59 @@
{
"ulaw": {
"name": "G.711MuLaw",
"ptime_min": 10,
"ptime_max": 30,
"ptime_default": 20,
"ptime_increment": 10,
"bitrate": 64
},
"alaw": {
"name": "G.711ALaw",
"ptime_min": 10,
"ptime_max": 30,
"ptime_default": 20,
"ptime_increment": 10,
"bitrate": 64
},
"g726": {
"name": "G.726",
"ptime_min": 10,
"ptime_max": 30,
"ptime_default": 20,
"ptime_increment": 10,
"bitrate": 16
},
"g723": {
"name": "G.723.1",
"ptime_min": 10,
"ptime_max": 30,
"ptime_default": 30,
"ptime_increment": 30,
"bitrate": 5.3
},
"g729": {
"name": "G.729",
"ptime_min": 10,
"ptime_max": 30,
"ptime_default": 20,
"ptime_increment": 10,
"bitrate": 8
},
"ilbc": {
"name": "iLBC",
"ptime_min": 10,
"ptime_max": 30,
"ptime_default": 20,
"ptime_increment": 30,
"bitrate": 15.2
},
"gsm": {
"name": "GSM-AMR",
"ptime_min": 10,
"ptime_max": 30,
"ptime_default": 20,
"ptime_increment": 20,
"bitrate": 12.2
}
}

View file

@ -7,7 +7,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=libvoice-d2 PKG_NAME:=libvoice-d2
PKG_RELEASE:=3 PKG_RELEASE:=1
PKG_VERSION:=1.0.0 PKG_VERSION:=1.0.0
PKG_LICENSE:=PROPRIETARY PKG_LICENSE:=PROPRIETARY
PKG_LICENSE_FILES:=LICENSE PKG_LICENSE_FILES:=LICENSE

View file

@ -9,7 +9,8 @@ include $(TOPDIR)/rules.mk
-include $(LIBVOICE_MAKE_OPTS) -include $(LIBVOICE_MAKE_OPTS)
PKG_NAME:=voicemngr PKG_NAME:=voicemngr
PKG_VERSION:=0.1 PKG_RELEASE:=1
PKG_VERSION:=1.0.0
PKG_LICENSE:=PROPRIETARY PKG_LICENSE:=PROPRIETARY
PKG_LICENSE_FILES:=LICENSE PKG_LICENSE_FILES:=LICENSE