Skip navigation
Currently Being Moderated

start/stop/restart live stream - do stream files need to be removed first?

Sep 4, 2013 6:11 AM

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-0409:02:213960(s)2641173onPublish : cfhsstream4-
2013-09-0409:02:213960(s)2641173Stream name is: cfhsstream4 and live event is: cfhs-
2013-09-0409:02:213960(i)2611173Event 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-0409:02:213960(s)2641173f4f:cfhsstream4 - NetStream.Publish.Start-
2013-09-0409:02:213960(s)2641173f4f:cfhsstream4 - NetStream.Play.Reset-
2013-09-0409:02:213960(s)2641173f4f:cfhsstream4 - NetStream.Data.Start-
2013-09-0409:02:223960(s)2641173f4f:cfhsstream4 - NetStream.Record.Start-
2013-09-0409:02:233960(s)2641173f4f:cfhsstream4 - NetStream.Record.NoAccess-
2013-09-0409:02:233960(s)2641173f4f:cfhsstream4 - NetStream.Record.Stop-
2013-09-0409:02:233960(s)2641173f4f:cfhsstream4 - NetStream.Record.NoAccess-




  • Currently Being Moderated
    Sep 6, 2013 11:53 AM   in reply to Mr.Dave

    Which encoder are you using? Is Absolute TimeCode set at encoder side?

    Mark as:
  • Currently Being Moderated
    Sep 9, 2013 6:29 AM   in reply to Mr.Dave

    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.

    Mark as:
  • Currently Being Moderated
    Sep 17, 2013 9:06 AM   in reply to Mr.Dave

    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






    Message was edited by: asaweb2013

    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