Skip navigation
Currently Being Moderated

SSAS app publish live streaming to iOS device

May 11, 2012 2:57 AM



I'm writing a SSAS application, publish live streaming to clients by RTMP protocols (eg. rtmp://localhost/toPublish/myvodfile,  myvodfile is Stream name).  And  I'm using some flash player as Jwplayer or OSFM connect my rtmp link, it good.



How do iOS device can view this live streaming ?

  • Currently Being Moderated
    May 12, 2012 5:37 AM   in reply to Huy Mai

    So if i get you right what you are doing is publishing a VOD asset as live stream - am i right and now you want the same "live publishing" to be available for iOS - right?


    I am not sure how are you doing the publish of VOD asset whether you are using or using NetStream and publishing it to different application. Basically you can use both of the option but with some changes


    If you are using method of doing things - you need to create Stream object with f4f prefix and also record the stream.

    If you are using second method of Multi-point publish of using Server-side NetStreams - just go ahead and publish to "livepkgr" application.


    Now coming to second part once recording part is done (recording part achived in above step would give on the disk f4f and other releated files). Now you need to have bundled Apache installed with you and you can "hls-live" module of Apache to get iOS Streaming done. Once you confirm your recording is working fine and i am assuming for simplicity sake you are using second option and publishing to "livepkgr"  - just use this URL "http://<server-ip>/hls-live/livepkgr/_definst_/<eventname>/<streamname>.m3u8 (since you would not be giving event name while publishing your <eventname> would be same as <eventname>


    Sorry i have written bit in hurry - plesae try out as you understand and feel free to put follow up queries.

    Mark as:
  • Currently Being Moderated
    May 21, 2012 5:27 AM   in reply to Huy Mai

    Are all your files same - i mean do they have same codec combination?

    Mark as:
  • Currently Being Moderated
    Jun 25, 2012 1:09 AM   in reply to Huy Mai



    Can you please tell me how can I play this url using netstream in AS3?


    ns.publish("livestream?adbe-live-event=liveevent", "live");


 "mp4:livestream.mp4", -2, -1, true);  This url not working but myStream.status messessage shwoing the following message








    Please suggest me how can I play this URL in Flash AS3 Netstream video player.


    Please suggest me for same url how can I play in HTML5 video Player.




    Mark as:
  • Currently Being Moderated
    Jun 25, 2012 4:44 AM   in reply to Sunil Kumar



    While trying to playback you don't require to add 'mp4'. Just try with"livestream", -2, -1, true).


    Hope this helps.




    Mark as:
  • Currently Being Moderated
    Jun 25, 2012 5:31 AM   in reply to Apurva Udaykumar

    Hi Apurva,


    Thanks a lot for your prompt response. It is working fine.


    Best regards,

    Sunil Kumar

    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