Posts

Es werden Posts vom September, 2012 angezeigt.

Play M3U8 HTTP Stream through Flash Player using apple-http-osmf

Tried getting my video player to play back Apple m3u8 formatted dynamic stream. After some hassle with the apple-http-osmf component which reads in m3u8 files and prepares them for playback with OSMF I ended up hearing the sound, not the seeing video. I had been using the MediaPlayer and MediaPlayerSprite classes so far. After reading this issue I switched to using the HTTPNetStream class, as dani at electroteque.net used that to successfully build a HLS plugin for the Flowplayer . Now my stream is played back through a regular flash.net.NetConnection. In order to make it work you need the latest sources from apple-http-osmf and the osmf player 2.0 If you get the "Error: Quality level cannot be set at this time." - just comment that line out in HTTPStreamSource.as:330. Also you want to make sure that within at.matthew.httpstreaming.HTTPStreamingM3U8Handler.as the RATES_READY event is fired before the INDEX_READY event. See the working source below or do...