Uploaded image for project: 'FreeSWITCH'
  1. FreeSWITCH
  2. FS-8644

OPUS_SET_BITRATE(), codec control and estimators for packet loss and RTT (with Kalman filters) to detect a slow or congested link

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mod_opus
    • Security Level: public
    • Labels:
      None
    • Environment:
      Linux
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      5ab62d81147f4ec72bd467f5a28af958986d1e7f
    • GIT Master Revision hash::
      5ab62d81147f4ec72bd467f5a28af958986d1e7f

      Description

      Opus provides a way to change the bitrate during the call with OPUS_SET_BITRATE API command.

      This patch adds in mod_opus.c :
      1. codec control commands to adjust the bitrate :
      * go to minimum
      * decrease
      * increase
      * go back to default

      2. switch_estimators.c and switch_rtp.c :
      Kalman filters for packet loss and RTT (trying to predict how packet loss and RTT will change until another measurement is available )
      Estimation (general aspects):
      https://en.wikipedia.org/wiki/Kalman_filter
      Detection of change in the mean value:
      https://people.kth.se/~kallej/papers/network_mtns04.pdf


        Attachments

          Activity

            People

            • Assignee:
              mikej Mike Jerris
              Reporter:
              dragos_oancea Dragos Oancea
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: