# Iphone won't play live stream, but will play recorded file after stream stops

**URL:** <https://community.wowza.com/t/iphone-wont-play-live-stream-but-will-play-recorded-file-after-stream-stops/34514>\
**Category:** Wowza Streaming Engine\
**Created:** [March 24, 2010, 6:32pm UTC](https://community.wowza.com/t/iphone-wont-play-live-stream-but-will-play-recorded-file-after-stream-stops/34514 "2010-03-24T18:32:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Woodward](https://avatars.discourse-cdn.com/v4/letter/d/8baadc/32.png) [@Daniel\_Woodward](https://community.wowza.com/u/Daniel_Woodward)\
**Post date:** [March 24, 2010, 6:32pm UTC](https://community.wowza.com/t/iphone-wont-play-live-stream-but-will-play-recorded-file-after-stream-stops/34514/1 "2010-03-24T18:32:08Z")

</div>

I am having some difficulty getting the live streaming to work with the iphone. I can stream via either rtmp and rtp to a flash player and by prepending the stream to mp4:filename.sdp get it to record it, which will play back fine on the iphone. But during the broadcast the iphone will not access the stream. As soon as I stop the stream and refresh the link in iphone safari, it will play the recorded file. Am I doing something wrong?

the link to the file I am accessing on the iphone looks like this:

[http://services.sagu.edu:1935/live/liveiphone.sdp/playlist.m3u8](http://services.sagu.edu:1935/live/liveiphone.sdp/playlist.m3u8)

It will also play vod files fine using this

[http://services.sagu.edu:1935/vod/liveiphone.sdp/playlist.m3u8](http://services.sagu.edu:1935/vod/liveiphone.sdp/playlist.m3u8)

and also will play the recording once the broadcast stops, but during the broadcast it throws the “this movie could not be played” error

I am assuming I have something wrong in the application?

Thanks!

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [March 25, 2010, 1:31am UTC](https://community.wowza.com/t/iphone-wont-play-live-stream-but-will-play-recorded-file-after-stream-stops/34514/2 "2010-03-25T01:31:34Z")

</div>

Check /conf/live/Application.xml /Streams /LiveStreamPacketizers

It should be:

```auto
<LiveStreamPacketizers>cupertinostreamingpacketizer</LiveStreamPacketizers>

```

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [March 25, 2010, 2:26pm UTC](https://community.wowza.com/t/iphone-wont-play-live-stream-but-will-play-recorded-file-after-stream-stops/34514/3 "2010-03-25T14:26:14Z")

</div>

You’re welcome. Thanks for the update and nice comment. Glad it’s working.

Richard

---

<div class="post-metadata">

**Author:** ![Daniel\_Woodward](https://avatars.discourse-cdn.com/v4/letter/d/8baadc/32.png) [@Daniel\_Woodward](https://community.wowza.com/u/Daniel_Woodward)\
**Post date:** [March 25, 2010, 7:40am UTC](https://community.wowza.com/t/iphone-wont-play-live-stream-but-will-play-recorded-file-after-stream-stops/34514/4 "2010-03-25T07:40:32Z")

</div>

That worked! Awesome, needs some tuning (about a 30 second lag) but that worked, you are amazing.

---

<div class="post-metadata">

**Author:** ![Daniel\_Woodward](https://avatars.discourse-cdn.com/v4/letter/d/8baadc/32.png) [@Daniel\_Woodward](https://community.wowza.com/u/Daniel_Woodward)\
**Post date:** [March 25, 2010, 9:08am UTC](https://community.wowza.com/t/iphone-wont-play-live-stream-but-will-play-recorded-file-after-stream-stops/34514/5 "2010-03-25T09:08:46Z")

</div>

Well, it’s because that really made my day. That was the last tech hurdle for us to roll out our new system. Test run tonight and live next week!
