Skip to main content
Known Participant
September 4, 2013
Question

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

  • September 4, 2013
  • 2 replies
  • 2830 views

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-

Thanks,

Dave

    This topic has been closed for replies.

    2 replies

    September 17, 2013

    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

    Participating Frequently
    May 20, 2014

    Did you find an answer to your question?

    Adobe Employee
    September 6, 2013

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

    Mr_DaveAuthor
    Known Participant
    September 6, 2013

    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.

    Adobe Employee
    September 9, 2013

    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.