• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Trying to play cloud front stream in share pod

New Here ,
Jan 07, 2014 Jan 07, 2014

Copy link to clipboard

Copied

I am developing a Flash Project to be loaded into a share pod in Adobe Connect with the goal of playing Amazon Cloudfront live multibitrate streams in AC. I have a project developed in Flash Builder 4.6 using Flex sdk 4.1 and OSMF.swc 1.5, tagetting Flash Player 10.1. The best I have been able to accomplish is to play the stream locally in Flash Player but not when the swf is loaded into Adobe Connect. I have also successfully played an f4m stream hosted by Adobe when the player IS loaded in Adobe Connect. This stream is, I believe, for a video on demand rather than a live stream (the url is http://mediapm.edgesuite.net/osmf/content/test/manifest-files/dynamic_Streaming.f4m).

Any suggestions are welcome.

The code for this project is:

package

{

          import flash.display.Sprite;

          import org.osmf.media.MediaPlayerSprite;

          import org.osmf.media.URLResource;

          [SWF(width='680', height='382', backgroundColor='#000000', frameRate='30')]

          public class OSMF extends Sprite

          {

                    private var mps:MediaPlayerSprite;

                    private var track:Sprite;

                    private var progress:Sprite;

                    public function OSMF()

                    {

                              init();

                    }

                    private function init():void

                    {

                              mps = new MediaPlayerSprite();

                              addChild(mps);

  // cloud front stream that plays locally in flash player but not when loaded into AC:

                              mps.resource = new URLResource([cloudfront stream URL]);

  // non cloud front stream for VOD that DOES play when loaded into AC:

  //mps.resource = new URLResource("http://mediapm.edgesuite.net/osmf/content/test/manifest-files/dynamic_Streaming.f4m");

                    }

          }

}

Views

704

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Jan 08, 2014 Jan 08, 2014

Adobe Connect is based on Flex SDK 3.5B. Some of the features in your code are newer than the one for Connect. As a result when you load your swf to the share pod, Flash player is unable to play certain features as they are newer than the SDK of the loading Swf (3.5B for Connect). However when you run it locally you run it as a standalone Flex 4 application.

Votes

Translate

Translate
Jan 08, 2014 Jan 08, 2014

Copy link to clipboard

Copied

Adobe Connect is based on Flex SDK 3.5B. Some of the features in your code are newer than the one for Connect. As a result when you load your swf to the share pod, Flash player is unable to play certain features as they are newer than the SDK of the loading Swf (3.5B for Connect). However when you run it locally you run it as a standalone Flex 4 application.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 08, 2014 Jan 08, 2014

Copy link to clipboard

Copied

OSMF.swc v1.0 appears to require Flex SDK 4.1.

So how would someone play Amazon Cloudfront live streams in an Adobe Connect share pod?

Is there a way other than using OSMF 1.0? Or, alternately, is there a way to get OSMF 1.0 to be compatible with SDK 3.5?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Jan 08, 2014 Jan 08, 2014

Copy link to clipboard

Copied

I don't think you would be able to do it. But I am not sure. I shall get back to you after digging more into it.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 13, 2014 Jan 13, 2014

Copy link to clipboard

Copied

LATEST

I actually was finally successful in getting the stream to play in AC. It appears to have been a cross-domain issue that we fixed. However, I did have to make the share pod use flex SDK 4.1, though it still target's flash player 10.1.

What potential issues could I encounter by using flex sdk 4.1?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines