Skip navigation
mashghasem
Currently Being Moderated

Dynamic Video Straming Doesnt Work in iPad

Dec 25, 2011 2:38 AM

Tags: #ios #ipad2 #flex-4.6 #recorded #dynamic_stream

I am trying to create video dynamic streaming for iDevices,i tried this simple code under RTMP and HTTP protocol for recorded video. it works in Flash Builder 4.6 simulator but in iPad it does not work:

 

 

<s:VideoDisplay 
        width="500" height="300">
        <s:source>
            <s:DynamicStreamingVideoSource 
                host="rtmp://serverID/vod/">
                <s:DynamicStreamingVideoItem 
                    streamName="MP4:sample1_150.f4v"
                    bitrate="150" />
                <s:DynamicStreamingVideoItem 
                    streamName="MP4:sample2_500.f4v"
                    bitrate="500" />
                <s:DynamicStreamingVideoItem 
                    streamName="sample3_1000.f4v"
                    bitrate="1000" />
            </s:DynamicStreamingVideoSource>
        </s:source>
    </s:VideoDisplay >

 

 

also i simplify that code as below:

 

<s:VideoDisplay source="rtmp://localhost/vod/MP4:sample1_500kbps.f4v"/>

 

and the result as the same,How can i fix it? thanks

 

 


 
Replies
  • Currently Being Moderated
    Jan 2, 2012 10:30 PM   in reply to mashghasem

    Hi,

     

    Can you please cross check the following :

     

    1. The rtmp URL is edited accordingly to point to the correct FMS server instead of localhost etc.

    2. The above code snippet should be bundled as an AIR app and published for iOS.

     

    If you are using HTTP instead of RTMP, you need to follow HLS streaming for iOS which makes use of the HTML5 video tags instead of any flash/AIR based applications. Please let us know if you are looking for this.

     

    Thank you !

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points