Skip navigation
Currently Being Moderated

HLS stream cannot renew when adobe media encoder restart

Nov 27, 2013 6:23 PM

Tags: #hls #fms #streaming #reconnect #adobe_media_encoder #renew #ams #livestream



I used adobe media server 5.0 in Red Hat 4.1.2 and adobe meida encoder 3.2 to recording HLS stream(get ts file), there's no problem when first running(use jwplayer to view the steam), but when I disconnect adobe media encoder for some time(about 12 hours) and reconnect the encoder, I found hls stream cannot renew, always stay on the moment I disconnect the encoder.


I know delete adobe media server old data(f4f, f4x) solve the problem, is there a way that adobe media server can renew the stream automatically?



Thanks very much.

  • Currently Being Moderated
    Nov 27, 2013 7:01 PM   in reply to kakaleo

    If you are not concerned with your .f4f fragments (storing them), then pass "&adbe-record-mode=record" string along with your rtmp stream ID. This will erase the entire /streams/<streamid> directory and re-publish.  However, jwplayer will receive an error.. For jwplayer to cycle automatically on error, just reload the same .m3u8 below with this error function when you load the jwplayer




    jwplayer("hlsPlayer").onError(function(event) {
    jwplayer('hlsPlayer').load({file: "",duration: "27"}



    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