Copy link to clipboard
Copied
When streaming a live event if something happens and we need to stop our encoder and then restart it again.
Do we need to delete the stream files created in the 'application/event/' directory and also delete the f4f stream,bootstrap, etc... files too?
If we don't delete the stream files before restarting the live stream. It will only play about 10 seconds of the stream then just hang buffering.
What is causing this?
My application log shows no access when I restarted the stream.
2013-09-04 | 09:02:21 | 3960 | (s)2641173 | onPublish : cfhsstream4 | - |
2013-09-04 | 09:02:21 | 3960 | (s)2641173 | Stream name is: cfhsstream4 and live event is: cfhs | - |
2013-09-04 | 09:02:21 | 3960 | (i)2611173 | Event level recording configuration: General[flags: 3, keyframe interval: 60000, max size: -1, max length: -1, io buffer size: 0], Fragment[frag duration: 4000, seg duration: 0, duration precision: 0, allowed drift: 1000, frame rate: 0.000000, frames per interval: 0, intervals per frag: 1, frame precision: 1, disk management duration: 0.000000], ContentProtection[enabled=false(overridable)] | - |
2013-09-04 | 09:02:21 | 3960 | (s)2641173 | f4f:cfhsstream4 - NetStream.Publish.Start | - |
2013-09-04 | 09:02:21 | 3960 | (s)2641173 | f4f:cfhsstream4 - NetStream.Play.Reset | - |
2013-09-04 | 09:02:21 | 3960 | (s)2641173 | f4f:cfhsstream4 - NetStream.Data.Start | - |
2013-09-04 | 09:02:22 | 3960 | (s)2641173 | f4f:cfhsstream4 - NetStream.Record.Start | - |
2013-09-04 | 09:02:23 | 3960 | (s)2641173 | f4f:cfhsstream4 - NetStream.Record.NoAccess | - |
2013-09-04 | 09:02:23 | 3960 | (s)2641173 | f4f:cfhsstream4 - NetStream.Record.Stop | - |
2013-09-04 | 09:02:23 | 3960 | (s)2641173 | f4f:cfhsstream4 - NetStream.Record.NoAccess | - |
Thanks,
Dave
Copy link to clipboard
Copied
Which encoder are you using? Is Absolute TimeCode set at encoder side?
Copy link to clipboard
Copied
Viewcast Niagara 4100 encoding appliance which uses an embedded command line version of FMLE.
I have an option to embed timecode but it's not checked/enabled. It was turned off to make the encoder work correctly per support at Viewcast.
Copy link to clipboard
Copied
I am not aware of " Viewcast Niagara 4100 encoding appliance" much so dont know what thier embed timecode does. Basically HDS recording which is base of HTTP Streaming expects Absolute timecodes in an incoming stream and by default record mode is "append". If you do not care about old data and is okay to delete it, you can change your mode to "record", it will automatically delete old data and start recording fresh data.
Copy link to clipboard
Copied
I have a similar issue like Mr Dave explained. If need to stop, start, stop and restart again, the encoder is sending, but in player not shows nothing. Then we need to stop and disconnect in encoder, and remove the stream file in /event and the cache files in livestream folder for after then restart the streaming. Only after this action, the streaming works fine and the streaming shows again in player.
Have other way to solve this issue without need all that actions? Note that I use the Adobe FME to live streaming and encoding in HDS http streaming
I hope for a help
Thanks
Pedro
Message was edited by: asaweb2013
Copy link to clipboard
Copied
Did you find an answer to your question?