Results 1 to 7 of 7

Thread: Live Streaming on IOS Devices

  1. #1
    Join Date
    Oct 2011
    Posts
    1

    Default 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.

  2. #2
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    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

  3. #3
    Join Date
    Dec 2011
    Posts
    22

    Default

    Confirming that the above settings work a treat.

    Thanks Richard!

  4. #4

    Default

    ok, I'm trying this as well.

    Using the following link:

    http://IPADDRESS:1935/simplevideostr.../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?

  5. #5

    Default VOD works, live does not on iOS devices

    ok, I'm trying this as well.

    Using the following link for live:

    http://IPADDRESS/livevideo/test-iOSv.../playlist.m3u8

    testers say they get a black screen and nothing.

    Using the following link for VOD:
    http://IPADDRESS:1935/vod/test-iOSv3.../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?

  6. #6
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    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

  7. #7

    Default

    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.

Similar Threads

  1. Live streaming to iOS devices, without delay
    By zibrnp in forum General Forum
    Replies: 3
    Last Post: 07-07-2014, 05:32 PM
  2. Live streaming to both Desktops & iOS Devices using Flash Live Media Encoder
    By tropeakito in forum Live Streaming and Encoders
    Replies: 9
    Last Post: 03-10-2014, 07:25 PM
  3. iOS live streaming disconnects right away other devices are fine
    By vladworks in forum Live Streaming and Encoders
    Replies: 1
    Last Post: 02-17-2014, 12:56 PM
  4. Live streaming to non-IOS devices not using Flash
    By barryb in forum Live Streaming and Encoder Discussion
    Replies: 2
    Last Post: 11-08-2012, 05:25 AM
  5. Live Streaming to IOS and Android Devices Latency
    By GameDayXtra in forum Performance Tuning Discussion
    Replies: 2
    Last Post: 06-20-2012, 11:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •