Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-14093

NCManager parseURL() enhancement

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK Previous
    • None
    • mx: Video
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Create a VideoDisplay component
      2. Set the source property to a RTMP path in this format rtmp://myserver/appname/streamfolder/streamname

      Actual Results:
      By default the source initiates the autoplay. When NCManager creates the stream it initially parses the source string in the following manner:
      protocol: "rtmp:/"
      serverName: "myserver"
      appName: "appname/streamfolder"
      streamName: "streamname"

      THIS IS INCORRECT. The stream name is actually "streamfolder/streamname"

      Expected Results:
      This case is covered in the connectAgain() method where is swaps out the appended portion of the appName. The issue is that anytime a folder structure is used on FMS (a common case) there will always be a failed connection before the successful one from connectAgain(). This is a performance hit.

      Workaround (if any):
      Commenting out lines 691 to 704 of NCManager's parseURL method makes the alternate case the default. It is also feasible to set a flag in NCManager to specify which format should be used.

      Performance Analysis:

      Before After Diff. %∆
      Milliseconds to completion: 577 243 334 42%
      Bytes Transferred: 25952 10085 15867 39%

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: