Skip to content
Snippets Groups Projects
  1. Jul 24, 2017
    • Joshua Colp's avatar
      core: Add VP9 passthrough support. · a6eb9ee7
      Joshua Colp authored
      This change adds VP9 as a known codec and creates a cached
      "vp9" media format for use.
      
      Change-Id: I025a93ed05cf96153d66f36db1839109cc24c5cc
      a6eb9ee7
  2. May 30, 2017
    • Sean Bright's avatar
      format: Reintroduce smoother flags · 5c27fe21
      Sean Bright authored
      In review 4843 (ASTERISK-24858), we added a hack that forced a smoother
      creation when sending signed linear so that the byte order was adjusted
      during transmission. This was needed because smoother flags were lost
      during the new format work that was done in Asterisk 13.
      
      Rather than rolling that same hack into res_rtp_multicast, re-introduce
      smoother flags so that formats can dictate their own options.
      
      Change-Id: I77b835fba0e539c6ce50014a984766f63cab2c16
      5c27fe21
  3. Apr 25, 2017
    • Joshua Colp's avatar
      sdp: Add support for T.38 · 19a79ae1
      Joshua Colp authored
      This change adds a T.38 format which can be used in a stream
      topology to specify that a UDPTL stream needs to be created.
      The SDP API has been changed to understand T.38 and create
      the UDPTL session, add the attributes, and parse the attributes.
      
      This change does not change the boundary of the T.38 state
      machine. It is still up to the channel driver to implement and
      act on it (such as queueing control frames or reacting to them).
      
      ASTERISK-26949
      
      Change-Id: If28956762ccb8ead562ac6c03d162d3d6014f2c7
      19a79ae1
  4. Nov 16, 2016
    • Richard Mudgett's avatar
      codec_opus: Fix warning when Opus negotiated but codec_opus not loaded. · ed9ced05
      Richard Mudgett authored
      When Opus is negotiated but not loaded, the log is spammed with messages
      because the system does not know how to calculate the number of samples in
      a frame.
      
      * Suppress the warning by supplying a function that assumes 20ms of
      samples in the frame.  For pass through support it doesn't really seem to
      matter what number of samples is returned anyway.
      
      ASTERISK-26605 #close
      
      Change-Id: Icf2273692f040dc2c45b01e72a790d11092f9e0f
      ed9ced05
  5. Oct 27, 2016
    • Corey Farrell's avatar
      Remove ASTERISK_REGISTER_FILE. · a6e5bae3
      Corey Farrell authored
      ASTERISK_REGISTER_FILE no longer has any purpose so this commit removes
      all traces of it.
      
      Previously exported symbols removed:
      * __ast_register_file
      * __ast_unregister_file
      * ast_complete_source_filename
      
      This also removes the mtx_prof static variable that was declared when
      MTX_PROFILE was enabled.  This variable was only used in lock.c so it
      is now initialized in that file only.
      
      ASTERISK-26480 #close
      
      Change-Id: I1074af07d71f9e159c48ef36631aa432c86f9966
      a6e5bae3
  6. Sep 14, 2016
    • Joshua Colp's avatar
      rtp: Preserve timestamps on video frames. · 89764f7a
      Joshua Colp authored
      Currently when receiving video over RTP we store only
      a calculated samples on the frame. When starting the video
      it can take some time for this calculation to actually yield
      a value as it requires constant changing timestamps. As well
      if a video frame passes over multiple RTP packets this calculation
      will fail as the timestamp is the same as the previous RTP
      packet and the number of samples calculated will be 0.
      
      This change preserves the timestamp on the frame and allows
      it to pass through the core. When sending the video this timestamp
      is used instead of a new one being calculated.
      
      ASTERISK-26367 #close
      
      Change-Id: Iba8179fb5c14c9443aee4baf670d2185da3ecfbd
      89764f7a
  7. Aug 24, 2016
  8. Jul 22, 2016
    • Alexander Traud's avatar
      codecs: Add iLBC 20. · 8fb80700
      Alexander Traud authored
      Asterisk already supported iLBC 30. This change adds iLBC 20. Now, Asterisk
      defaults to iLBC 20 but falls back to iLBC 30, when the remote party requests
      this.
      
      ASTERISK-26218 #close
      ASTERISK-26221 #close
      Reported by: Aaron Meriwether
      
      Change-Id: I07f523a3aa1338bb5217a1bf69c1eeb92adedffa
      8fb80700
  9. Jul 14, 2016
    • Mark Michelson's avatar
      Update support for SILK format. · 273052f4
      Mark Michelson authored
      This commit adds scaffolding in order to support the SILK audio format
      on calls. Roughly, this is what is added:
      
      * Cached silk formats. One for each possible sample rate.
      * ast_codec structures for each possible sample rate.
      * RTP payload mappings for "SILK".
      
      In addition, this change overhauls the res_format_attr_silk file in the
      following ways:
      
      * The "samplerate" attribute is scrapped. That's native to the format.
      * There are far more checks to ensure that attributes have been
        allocated before attempting to reference them.
      * We do not SDP fmtp lines for attributes set to 0.
      
      These changes make way to be able to install a codec_silk module and
      have it actually work. It also should allow for passthrough silk calls
      in Asterisk.
      
      Change-Id: Ieeb39c95a9fecc9246bcfd3c45a6c9b51c59380e
      273052f4
  10. Jun 29, 2016
    • George Joseph's avatar
      codecs: Fix ABI incompatibility created by adding format_name to ast_codec · 4045e6d8
      George Joseph authored
      Adding format_name even to the end of ast_codec caused issued with
      binary codec modules because the pointer would be garbage in asterisk
      when they registered.  So, the ast_codec structure was reverted and an
      internal_ast_codec structure was created just for use in codec.c.  A new
      internal-only API was also added (__ast_codec_register_with_format) so
      that codec_builtin could register codecs with the format_name in a
      separate parameter rather than in the ast_codec structure.
      
      ASTERISK-26144 #close
      Reported-by: Alexei Gradinari
      
      Change-Id: I6df1b08f6a6ae089db23adfe1ebc8636330265ba
      4045e6d8
  11. Jun 03, 2016
    • George Joseph's avatar
      ari/resource_channels: Add 'formats' to channel create/originate · a2f820e8
      George Joseph authored
      If you create a local channel and don't specify an originator channel
      to take capabilities from, we automatically add all audio formats to
      the new channel's capabilities. When we try to make the channel
      compatible with another, the "best format" functions pick the best
      format available, which in this case will be slin192.  While this is
      great for preserving quality, it's the worst for performance and
      overkill for the vast majority of applications.
      
      In the absense of any other information, adding all formats is the
      correct thing to do and it's not always possible to supply an
      originator so a new parameter 'formats' has been added to the channel
      create/originate functions. It's just a comma separated list of formats
      to make availalble for the channel. Example: "ulaw,slin,slin16".
      'formats' and 'originator' are mutually exclusive.
      
      To facilitate determination of format names, the format name has been
      added to "core show codecs".
      
      ASTERISK-26070 #close
      
      Change-Id: I091b23ecd41c1b4128d85028209772ee139f604b
      a2f820e8
  12. Oct 21, 2015
    • Alexander Traud's avatar
      format: Update the maximum packetization time for iLBC 30. · f9cbac73
      Alexander Traud authored
      In September 2006, the maximum packetization time (ptime) were set to such a
      low value, packetization was disabled for many codecs actually. This was fixed
      for many codecs but not for iLBC 30. This enables packetization for iLBC which
      can be enabled for example via allow=ilbc:60,gsm,alaw,ulaw in the file sip.conf.
      
      ASTERISK-7803
      
      Change-Id: I2ef90023d35efb7cb8fe96ed74f53f6846ffad12
      f9cbac73
  13. Apr 13, 2015
    • Matt Jordan's avatar
      git migration: Refactor the ASTERISK_FILE_VERSION macro · 4a582616
      Matt Jordan authored
      Git does not support the ability to replace a token with a version
      string during check-in. While it does have support for replacing a
      token on clone, this is somewhat sub-optimal: the token is replaced
      with the object hash, which is not particularly easy for human
      consumption. What's more, in practice, the source file version was often
      not terribly useful. Generally, when triaging bugs, the overall version
      of Asterisk is far more useful than an individual SVN version of a file. As a
      result, this patch removes Asterisk's support for showing source file
      versions.
      
      Specifically, it does the following:
      
      * Rename ASTERISK_FILE_VERSION macro to ASTERISK_REGISTER_FILE, and
        remove passing the version in with the macro. Other facilities
        than 'core show file version' make use of the file names, such as
        setting a debug level only on a specific file. As such, the act of
        registering source files with the Asterisk core still has use. The
        macro rename now reflects the new macro purpose.
      
      * main/asterisk:
        - Refactor the file_version structure to reflect that it no longer
          tracks a version field.
        - Remove the "core show file version" CLI command. Without the file
          version, it is no longer useful.
        - Remove the ast_file_version_find function. The file version is no
          longer tracked.
        - Rename ast_register_file_version/ast_unregister_file_version to
          ast_register_file/ast_unregister_file, respectively.
      
      * main/manager: Remove value from the Version key of the ModuleCheck
        Action. The actual key itself has not been removed, as doing so would
        absolutely constitute a backwards incompatible change. However, since
        the file version is no longer tracked, there is no need to attempt to
        include it in the Version key.
      
      * UPGRADE: Add notes for:
        - Modification to the ModuleCheck AMI Action
        - Removal of the "core show file version" CLI command
      
      Change-Id: I6cf0ff280e1668bf4957dc21f32a5ff43444a40e
      4a582616
  14. Mar 17, 2015
  15. Jul 20, 2014
Loading