Ticket #1586 (closed enhancement: fixed)

Opened 5 years ago

Last modified 3 years ago

SILK audio codec wrapper implementation

Reported by: nanang Owned by: nanang
Priority: normal Milestone: release-2.1
Component: pjmedia Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description (last modified by nanang) (diff)

Requirements:

  • Desktop platforms:
    • Get SILK SDK 1.0.8 or 1.0.9 FLP/FIX (floating/fixed point version) from here (it's no longer there, so perhaps try here).
  • Mobile platforms:
    • iOS:
      • Get SILK SDK 1.0.8 ARM version from here
    • Android:
      • Get SILK SDK 1.0.8 or 1.0.9 FLP/FIX

How to build:

  • Windows platforms:
    1. Build SILK SDK (the FLP version is recommended) using SILK provided VS2005 & VS2010 solutions. The output library, i.e: SKP_Silk_FLP_Win32_debug.lib for debug mode and SKP_Silk_FLP_Win32_mt.lib for release mode, will be in the SILK "src" folder.
    2. Add include and library path for SILK in the Visual Studio settings. For example, the include path should point to SILK "interface" folder and the library path should point to the SILK 'src' folder.
    3. Define SILK codec support in pjlib/include/pj/config_site.h:
      #define PJMEDIA_HAS_SILK_CODEC		    1
      
  • Makefile based platforms:
    1. Run make in the SILK SDK directory. Note for iOS/Android platform: modify Makefile to use the correct iPhone SDK/Android NDK version and compiler if necessary.
    2. Run PJSIP's configure script with the option --with-silk=your_silk_sdk_flp/fix_dir

Change History

comment:1 Changed 5 years ago by nanang

In 4264:

Re #1586: Initial version of SILK wrapper.

comment:2 Changed 5 years ago by ming

In [4265]:

Re #1586: Add build config for SILK

comment:3 Changed 5 years ago by ming

  • Description modified (diff)

comment:4 Changed 5 years ago by ming

  • Description modified (diff)

comment:5 Changed 5 years ago by bennylp

In 4270:

More re #1586: added PJMEDIA_HAS_SILK_CODEC to config_auto.h.in

comment:6 Changed 5 years ago by ming

In 4271:

Re #1586: Removed configure warning when using --with-silk option

comment:7 Changed 5 years ago by ming

In 4272:

Re #1586: Implement SILK config setting and fixed decoding fmtp

comment:8 Changed 5 years ago by nanang

  • Description modified (diff)

comment:9 Changed 5 years ago by ming

In 4278:

Re #1586: Add support for SILK multiple frames per packet

comment:10 Changed 5 years ago by ming

  • Description modified (diff)

comment:11 Changed 5 years ago by ming

In 4293:

Re #1586: Fixed useInBandFEC setting and default value setting in pjmedia_codec_silk_set_config()

comment:12 Changed 5 years ago by nanang

  • Status changed from new to closed
  • Resolution set to fixed

comment:13 Changed 5 years ago by ming

In 4328:

Re #1586: Fixed samples_per_frame calculation

comment:14 Changed 5 years ago by ming

In r4339:

Re #1586: Try to store the number of frames in the packet in case SKP_Silk_SDK_get_TOC() couldn't return the correct number of frames during decode

This was reported to happen in SILK ARM version (thanks to Marcus for the report)

Last edited 5 years ago by ming (previous) (diff)

comment:15 Changed 3 years ago by ming

  • Description modified (diff)

comment:16 Changed 3 years ago by nanang

  • Description modified (diff)
Note: See TracTickets for help on using tickets.