S60 VOIP与codec一些技术细节

本文介绍了多种语音编解码器,包括AMR Narrowband、PCMU/G.711μ-law、PCMA/G.711A-law、iLBC、G.729等,详细解释了它们的技术特性如PTime、Jitter Buffer、VAD等,并对比了各自的适用场景。
AMR Narrowband
      PCMU (G.711 μ-law) PCMA (G.711 A-law).
      iLBC (Internet Low Bitrate Vocoder)
      G.729

      AMR Narrowband

      Adaptive Multi-Rate Narrowband(AMR NB) is an audio data compression scheme.This scheme is optimized for low-bit rate devices like mobile phones.
      Key attributes of AMR NB codec.

      PTime.
      PTime represents media data length in a packet. Unit of PTime is millisecond.
      In s60,AMR NB's PTime default value is 20 and its range is between 20 and 200(MaxPTime).

     Jitter buffer.
     Jitter buffer is used to stores incoming packets in order to minimize delay variations.
     If packets arrive too late then they will be discarded. Unit of Jitter buffer is millisecond.
     In s60,AMR NB's Jitter buffer default value is 200 and its range is between 20 and 200.


     Voice activation detection (VAD)
     VAD is a technique through which RTP packets will not sent if speech silent is detected.To AMR NB,Default value is Off.

     Octet align.
     whether Bandwidth efficient framing or Octet-aligned framing is used in this codec.
     To AMR NB,Default value Off means Bandwidth efficient framing is used.

     Mode-set.
     AMR NB has 8 modes.
   ‘0’: AMR 4,75 kbit/s
   ‘1’: AMR 5,15 kbit/s
   ‘2’: AMR 5,90 kbit/s
   ‘3’: AMR 6,70 kbit/s
   ‘4’: AMR 7,40 kbit/s
   ‘5’: AMR 7,95 kbit/s
   ‘6’: AMR 10,2 kbit/s
   ‘7’: AMR 12,2 kbit/s

     PCMU (G.711 μ-law) and PCMA (G.711 A-law)

     The G.711 uses PCM to encode and decode analog speech into/from binary data.
     G.711 μ-law encode frames of 14-bit linear PCM samples into frames of 8-bit logarithmic PCM code words.
     G.711 A-law encode 13-bit linear PCM samples into the 8-bit logarithmic PCM code words.

     PTime

     To G.711 μ-law and G.711 A-law,the default value of PTime is 20 milliseconds and its range is between 20 milliseconds and 200 milliseconds.

     Jitter buffer

     To G.711 μ-law and G.711 A-law,the default value of Jitter buffer is 200 milliseconds and its range is between 20 milliseconds and 200 milliseconds.

     Voice activation detection

     To G.711 μ-law and G.711 A-law,the default value of Voice activation detection is off.

    
     iLBC (Internet Low Bitrate Vocoder)

     iLBC (Internet Low Bitrate Vocoder) is a narrowband speech codec developed by Global IP Sound.
     Because iLBC has a good performance on packets losing condition,It is widely used by VoIP applications,eg,Gizmo,Skype.

     PTime

     To iLBC ,the default value of PTime is 20 milliseconds.The allowed values for this codec are 20 and 30 or their multiples.

     Jitter buffer

     To iLBC ,the default value of Jitter buffer is 180 milliseconds and its range is between 20 milliseconds and 200 milliseconds.

     Voice activation detection

     To iLBC ,the default value of Voice activation detection is off.

     Mode-set

     iLBC supports two frame modes: 20 milliseconds at 15.2 kbit/s and 30 milliseconds at 13.33 kbit/s.the default value is milliseconds.

     G.729

     G.729 is an audio data compression algorithm.G.729 provide high quality performance at the price of complexity.It operates at 8 kbit/s.

     PTime

     To G.729,the default value of PTime is 20 milliseconds.The allowed values for this codec are 10 or its multiples.

     Jitter buffer

     To G.729,the default value of Jitter buffer is 200 milliseconds and its range is between 10 milliseconds and 200 milliseconds.

     Voice activation detection

      To G.729,the default value of Voice activation detection is off.

      AnnexB This is a silence compression scheme,
      which is used to to reduce bandwidth usage by preventing the transmission of any non-voice frames during silence.

      AnnexB's default value is Off.

http://wiki.forum.nokia.com/index.php/Introduction_of_S60_VOIP_Codecs

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值