Wowza Community

Live Streaming on IOS Devices

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

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.

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

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

ok, I’m trying this as well.

Using the following link:

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?

ok, I’m trying this as well.

Using the following link for live:

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

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?

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

For Video On Demand:

Use this link to play your recorded file:

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.

:slight_smile:

Confirming that the above settings work a treat.

Thanks Richard!