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

Making mod_rtmp compatible with Adobe Media Server

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.20
    • Fix Version/s: 1.6
    • Component/s: mod_rtmp
    • Labels:
      None
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Ubuntu
    • Distribution Version:
      Ubuntu 14.04 LTS
    • lsb_release:
      Hide
      Distributor ID: Ubuntu
      Description: Ubuntu 14.04.1 LTS
      Release: 14.04
      Codename: trusty
      Show
      Distributor ID: Ubuntu Description: Ubuntu 14.04.1 LTS Release: 14.04 Codename: trusty
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      FreeSWITCH Version 1.4.20+git~20150703T1642152~b95362f965~64bit (git b95362f 2015-07-03 16:42:152 64bit)
    • GIT Master Revision hash::
      d098166dbf84ba3dc468cdf1fcc8cad6ea17f6ed
    • Target Version:
      1.6

      Description

      I have modified mod_rtmp so that it can be used with Adobe Media Server. This requires minor changes, including the addition of a handler for the "initStream" message and changes to the "publish" handler's onStatus response to include an object with "level", "code", "description" etc. The initStream handler is the minimal change required to ensure that the publish and play streams have different stream IDs. I have been testing this with multiple clients connected to an AMS application that relays calls between Freeswitch and Flash Player and it is working very well. I have also changed the transaction IDs of a few responses to be 0 instead of 1 so that they meet the RTMP specification. Additionally, I have tested that these changes allow Flash Player to still work correctly when it is connected directly to Freeswitch and have had no issues there either.

      I hope these patches seem reasonable, please let me know what you think. I hope the patch file is of a suitable format too, it is just a simple diff output.

      cheers,
      Paul

        Attachments

          Activity

            People

            • Assignee:
              quentusrex William King
              Reporter:
              paulcuttler Paul Cuttler
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: