Can you request the m3u8 file and let know the content you are seeing in it?
Here's the HTTP stream link:
And here's the link for the same stream via RTMP:
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) )
When you viewed the m3u8 files, did you see a guy on a riding lawn mower cutting a baseball field, or did you ONLY see the baseball field?
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://188.8.131.52/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
I won't have access to an iPad until Monday, but will try then. What kinds of things should I be looking for in these logs?
Have you seen this sort of behavior before?
Just tried, and the Strobe player reads: "We are having problems with playback. We apologize for the inconvenience".
So I don't know if that means their page or my stream is having "problems"
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">
<allow-access-from domain="*.osmf.org" secure="false"/>
and place in webroot folder please and check the playback again?
Ok, I created the file and placed it in "drive letter:\Program Files\Adobe\Flash Media Server 4.5\webroot", but Strobe still won't play it
Did I put it in the wrong place?
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.
From the core.00.log file:
2012-04-28 10:07:09 4272 (w)2611173 This is a rollover scenario - 2012-04-28 10:07:10 4272 (e)2611178 Error from libf4f.dll: [Utils] [camera1] [camera1] Restarting the recording after 2.000000 days is not allowed. Stopping the recording. Please change the config parameter<MaxRestartGap> under <Recording> in event.xml if you would like to increase this . - 2012-04-28 10:07:10 4272 (e)2611178 Error from libf4f.dll: f4fAdaptor::record failed. Error: Failed to push media message. - 2012-04-28 10:07:10 4272 (e)2611082 Failed to record camera1. - 2012-04-28 10:07:10 4272 (e)2611178 Error from libf4f.dll: f4fAdaptor::record failed. Error: Failed to push media message. -
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.
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.
Ok, made the change to crossdomain.xml and now Strobe plays it. But, I am seeing the same thing I saw on the iPad (i.e small chunk of old video, not in real time)
When ask about restarting the recording, do you mean exactly? If I restarted the encoder?
Not sure I understand "can you set to bigger value than 2 days" - set what? And how much bigger should it be?
I'm using FMS 4.5.2
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.
Yes, we have the encoder running on a VM and for some reason it just dies every couple of days and we have to restart it.
If recording is not happening anymore, then how do I fix it? What were you refering to in the earlier post about changing something to more than "2 days"?
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.
Should I also add something like <MaxRestartGap>10</MaxRestartGap> to my Event file so this won't happen again?
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.
Like maybe <MaxRestartGap>4</MaxRestartGap>?
Also, my Event file currently doesnt have the <MaxRestartGap> tag in it. Is it OK to simply add it?
Here's what my current Event file looks like:
Is it safe to add <MaxRestartGap>4</MaxRestartGap> to the above?
I also read on another post to append this into the stream path in LME:
...so it will start a fresh recording on every encoder restart instead of "appending" to the old recording. Good idea to do this?
Please go ahead and add the entry to the file.
Done. I added it and I also appended this into the stream path in LME: &adbe-record-mode=record. Restarted everything, stream back up and working via RTMP and in the remote Strobe player. Guess we'll just have to wait and see if this fixes the issue.
Can't thank you enough for all your help, vijay.das. MUCH appreciated!
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.
HLS is good, for I called a friend with an iPad and he verified he is now seeing the real-time stream.