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 ?
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 Stream.play 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 Stream.play 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.
Thanks your reply. You right, I have an application "MP4PublishonLoad"
In MP4PublishonLoad, I using stream.play and publish to client over RTMP. But it not support iOS device.
I was try multi-point publish from MP4PublishonLoad to livepkgr. It seem to be working fine.
myStream = Stream.get("myvodfile");
myStream.play("mp4:sample.mp4", 0, -1, true);
nc = new NetConnection();
ns = new NetStream(nc);
But when MP4PublishonLoad has event stream.play("mp4:sample.mp4", 0, -1, true), I want play other video immedialty, then livepkgr crash, show NetStream.Record.NoAccess and Stop in logs, can't received data transfer from MP4PublishonLoad.
How do I fix it ?
Can you please tell me how can I play this url using netstream in AS3?
myStream.play("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.
Europe, Middle East and Africa