Skip navigation
Currently Being Moderated

Oddness with iPad/HTTP live streaming

Apr 28, 2012 5:42 AM

I have a live stream running 24/7 via ALME to FMS 4.5 that works perfectly and shows in real-time when viewing on a PC or an Android phone (via RTMP).  But when I view it on an iPad (via HTTP Live Streaming)  all I get is a small chuck (a few seconds) of a video that would have been from many hours before (i.e viewed the stream at 10pm and all I saw was a few-second clip of daylight).

 

I am on a tight deadline to complete this project and am totally baffled with what I am seeing.

 

Any ideas from anyone?

 
Replies
  • Currently Being Moderated
    Apr 28, 2012 5:54 AM   in reply to daswerve

    Can you request the m3u8 file and let know the content you are seeing in it?

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 28, 2012 6:25 AM   in reply to daswerve

    The m3u8 file looks fine to me.

     

    Can you request the playback once from ipad and check the contents of apache logs (access_log and error_log) in Apache2.2 logs dir.

    Also check the core.00.log file in FMS logs dir for any errors or warnings (x-status fields starting with (e) or (w) )

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 28, 2012 6:38 AM   in reply to daswerve

    I didn’t play the stream. Don’t have an iDevice with me right now ☹

     

    We can do one more thing, check the HDS playback.

    Can you play this URI http://66.118.69.146/hds-live/livepkgr/_definst_/liveevent/camera1.f4m

    using this player http://www.osmf.org/configurator/fmp/#

    and see if its fine?

    You will have to provide a crossdomain.xml in your webroot dir to allow osmf.org

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 28, 2012 6:44 AM   in reply to daswerve

    In core.00.log, any warning or error entry. It can be identified with the x-status field starting with (e) or (w).

     

    In Apache logs,

    error_log file entries containing Re: Oddness with iPad/HTTP live streaming

    access_log file entries with status code other than 200 or 304

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 28, 2012 6:49 AM   in reply to daswerve

    Most probably it is looking for crossdomain.xml file.

     

    Can you create one with following content,

    <?xml version="1.0" encoding="UTF-8"?>

    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">

    <cross-domain-policy>

      <allow-access-from domain="*.osmf.org" secure="false"/>

    </cross-domain-policy>

     

    and place in webroot folder please and check the playback again?

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 28, 2012 7:05 AM   in reply to daswerve

    File is not accessible.

    Try this URI http://66.118.69.146/crossdomain.xml . It’s not working.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 28, 2012 7:13 AM   in reply to daswerve

    If you didn’t change any default settings on server then the location should be fine.

     

    Check for “File does not exist: ” errors in your Apache2.2\logs\error_log file please. Here it should be resolving to a local path of crossdomain.xml file.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 28, 2012 7:17 AM   in reply to daswerve

    Playback is not working.

    It’s not recommended but just for debugging this, can you change the crossdomain.xml file to read domain="" instead of domain=".osmf.org" and check once.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 28, 2012 7:24 AM   in reply to daswerve

    Ahh I see now.

     

    Looks like you restarted the recording. When did you do that?

    Can you set   to bigger value than 2 days, reload the app and restart the recording and see if it works?

     

    Also please let know the version of FMS you are using.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 28, 2012 7:37 AM   in reply to daswerve

    Yes. I wanted to know if you restarted your Flash Media live Encoder.

     

    Recording is no more happening on server and that’s why you are not able to play the stream anymore.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 28, 2012 7:48 AM   in reply to daswerve

    I would suggest removing the old content from server if you don’t need them.

    This would require clearing the livepkgr\streams\_definst_\camera1 directory of all files (*.f4f, f4x, bootstrap etc)

     

    Once you do that, you should be able to record once again and should be able to play also.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 28, 2012 7:58 AM   in reply to daswerve

    Cannot suggest you a good value but have seen errors which says,

    “Restarting the recording after 10.000000 days is not allowed.”

     

    A little bigger value should be more safer.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 28, 2012 8:52 AM   in reply to daswerve

    Please go ahead and add the entry to the file.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 28, 2012 9:07 AM   in reply to daswerve

    Good to know it’s working in strobe media player.

    As long as HDS is playing, HLS should also work fine. Do let know if you face any issues.

     

    Thanks

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points