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

[OSMF 1.0 Integration] DynamicStreamingVideoItem does not support http streaming

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK Previous
    • None
    • Spark: VideoPlayer
    • None
    • Affected OS(s): All OS Platforms
      Browser: Safari
      Language Found: English

    Description

      Currently our DynamicStreamingVideoItem does not support http streaming.

      Here is a test case that

      <?xml version="1.0" encoding="utf-8"?>
      <s:Application width="1000" height="1000"
      xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      xmlns:s="library://ns.adobe.com/flex/spark"
      >

      <fx:Script>
      <![CDATA[

      protected function btnSetVidPlayerSource_clickHandler(type:Object):void
      {

      switch(type.id)

      { case "rtmp": trace("type: " + type.id); this.testPlayer.source = this.streamingRTMPVid; this.testPlayer.play(); break; case "http": trace("type: " + type.id); this.testPlayer.source = this.streamingHTTPVid; this.testPlayer.play(); break; default: this.testPlayer.source = this.streamingRTMPVid; this.testPlayer.play(); break; }

      }
      ]]
      >
      </fx:Script>

      <fx:Declarations>
      <s:DynamicStreamingVideoSource id="streamingRTMPVid" host="rtmp://10.59.8.148/vod/">
      <s:DynamicStreamingVideoItem streamName="mp4:sample1_150kbps.f4v"/>
      </s:DynamicStreamingVideoSource>
      <s:DynamicStreamingVideoSource id="streamingHTTPVid" host="http://10.60.147.127/vod/">
      <s:DynamicStreamingVideoItem streamName="mp4:sample1_150kbps.f4m"/>
      </s:DynamicStreamingVideoSource>

      </fx:Declarations>

      <s:VideoPlayer id="testPlayer" x="10" y="10" autoPlay="true"/>
      <s:VideoPlayer id="vid" source="http://10.60.147.127/vod/sample1_150kbps.f4m" x="182" y="220"/>

      <s:Button label="Set VP source prop to rtmp" id="rtmp" click="btnSetVidPlayerSource_clickHandler(event.target)" x="10" y="227"/>
      <s:Button label="Set VP source prop to http" id="http" click="btnSetVidPlayerSource_clickHandler(event.target)" x="10" y="256"/>
      </s:Application>

      Actual Results:

      endpoint not reached and no vid stream is established

      Expected Results:

      would work like rtmp does

      Workaround (if any):

      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: