# Live Streaming on IOS Devices

**URL:** <https://community.wowza.com/t/live-streaming-on-ios-devices/37433>\
**Category:** Wowza Streaming Engine\
**Created:** [October 16, 2011, 3:27pm UTC](https://community.wowza.com/t/live-streaming-on-ios-devices/37433 "2011-10-16T15:27:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mufaddal\_Mohammed](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@Mufaddal\_Mohammed](https://community.wowza.com/u/Mufaddal_Mohammed)\
**Post date:** [October 16, 2011, 3:27pm UTC](https://community.wowza.com/t/live-streaming-on-ios-devices/37433/1 "2011-10-16T15:27:10Z")

</div>

Dears,

Recently i have installed and setup wowza 2.2.4 for our video content for an ondemand delivery and i was able to do great and scenario is working fine.

now i am working on providing LIVE Stream for our website visitors for which i use Adobe Flash Media Live Encoder 3.2 and stream RTMP to a live application on Wowza, all seems to be working great when on desktop browsers with flash support (using flowplayer to play the live content)

for IOS devices i am using a fallback method where by generating a HTML Video tag and using the http streaming link for the same live stream

[http://127.0.0.1:1935/live/livestream.sdp/playlist.m3u8](http://127.0.0.1:1935/live/livestream.sdp/playlist.m3u8)

the problem is the stream starts but stops in 2-3 second, what could be the cause for this.

note: the other video contents (non-live) are working fine on ios as well as normal desktop browsers.

---

<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:** [October 17, 2011, 9:28pm UTC](https://community.wowza.com/t/live-streaming-on-ios-devices/37433/2 "2011-10-17T21:28:25Z")

</div>

Make sure Format is set to “h.264”, then click the little wrench icon next to

that and select Baseline 3.0 and 2 second key frame frequency.

If you are using MP3, select Stereo 44100Hz 128kbs.

iOS 5 on some devices we have tested has increased the range of MP3 encodings that work, but those are safe.

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:** [December 29, 2011, 3:10pm UTC](https://community.wowza.com/t/live-streaming-on-ios-devices/37433/3 "2011-12-29T15:10:22Z")

</div>

It should be h.264 video and AAC or MP3 audio.

It is best to use h.264 Baseline 3 profile.

If it is MP3 audio, try stereo, 44100Hz, 128kbs. (Newer devices running recent version of iOS are able to play mp3 at lower bitrates)

Richard

---

<div class="post-metadata">

**Author:** ![Kelly\_Rinne](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@Kelly\_Rinne](https://community.wowza.com/u/Kelly_Rinne)\
**Post date:** [December 26, 2011, 11:46pm UTC](https://community.wowza.com/t/live-streaming-on-ios-devices/37433/4 "2011-12-26T23:46:23Z")

</div>

ok, I’m trying this as well.

Using the following link:

[http://IPADDRESS:1935/simplevideostreaming/NAMEOFFILE/playlist.m3u8](http://IPADDRESS:1935/simplevideostreaming/NAMEOFFILE/playlist.m3u8)

testers say they get a black screen and nothing.

The file that records to the server shows as an f4v when using the H.264 settings.

What am I doing wrong?

Could someone who has gotten this to work post a detailed tutorial of some sort?

---

<div class="post-metadata">

**Author:** ![Kelly\_Rinne](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@Kelly\_Rinne](https://community.wowza.com/u/Kelly_Rinne)\
**Post date:** [December 29, 2011, 12:29pm UTC](https://community.wowza.com/t/live-streaming-on-ios-devices/37433/5 "2011-12-29T12:29:11Z")

</div>

ok, I’m trying this as well.

Using the following link for live:

[http://IPADDRESS/livevideo/test-iOSv3-2011.mp4/playlist.m3u8](http://IPADDRESS/livevideo/test-iOSv3-2011.mp4/playlist.m3u8)

testers say they get a black screen and nothing.

Using the following link for VOD:

[http://IPADDRESS:1935/vod/test-iOSv3-2011.mp4/playlist.m3u8](http://IPADDRESS:1935/vod/test-iOSv3-2011.mp4/playlist.m3u8)

This works.

The file created during live records to the server properly.

What am I doing wrong?

Could someone who has gotten this to work post a detailed tutorial of some sort?

---

<div class="post-metadata">

**Author:** ![Kelly\_Rinne](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@Kelly\_Rinne](https://community.wowza.com/u/Kelly_Rinne)\
**Post date:** [December 30, 2011, 10:24pm UTC](https://community.wowza.com/t/live-streaming-on-ios-devices/37433/6 "2011-12-30T22:24:16Z")

</div>

I did get it to work, so I am going to provide a step-by-step since no one else has…

LIVE

In the encoder:

I use Flash Media Live Encoder

on the left:

Video

Format: H.264

(click on the wrench)

Profile: Baseline

Level: 3.0

Keyframe: 1

Audio:

mp3

Stereo

44.1

128 (although I used 96 and it worked just fine)

On the right:

URL: rtmp://IPADDRESS/live/ (or whatever you have named your application for live)

Stream: mp4:NAMEOFFILE

Link you give to your viewers:

[http://IPADDRESS:1935/live/NAMEOFFILE/playlist.m3u8](http://IPADDRESS:1935/live/NAMEOFFILE/playlist.m3u8)

For Video On Demand:

Use this link to play your recorded file:

[http://IPADDRESS.50:1935/vod/NAMEOFFILE/playlist.m3u8](http://IPADDRESS.50:1935/vod/NAMEOFFILE/playlist.m3u8)

I can’t take credit for this, a great Wowza consultant named Andrew Kennedy figured this out for me.

I’m just creating a sticky.

🙂

---

<div class="post-metadata">

**Author:** ![Mark\_Nguyen](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@Mark\_Nguyen](https://community.wowza.com/u/Mark_Nguyen)\
**Post date:** [December 24, 2011, 4:55pm UTC](https://community.wowza.com/t/live-streaming-on-ios-devices/37433/7 "2011-12-24T16:55:05Z")

</div>

Confirming that the above settings work a treat.

Thanks Richard!
