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:
and the result as the same,How can i fix it? thanks
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 !
Europe, Middle East and Africa