Skip to main content
February 8, 2013
Question

#EXT-X-ENDLIST on Live Stream

  • February 8, 2013
  • 1 reply
  • 969 views

Hello,

We are trying to implement the #EXT-X-ENDLIST directive to live streams when the stream is complete.

Is there anyway to have the directive added when a stream gets unpublished?

using Flash Media Server 4.5

This topic has been closed for replies.

1 reply

Participating Frequently
February 9, 2013

Hi

FMS doesn't add this directive for live streams even on unpublish.

You can always download the m3u8, manually edit it and host it as a VoD file

February 9, 2013

Would you happen to know how to add this to the onUnPublish in the main.asc? (not very good with AS)

Participating Frequently
February 9, 2013

As per my knowledge I don't think so that's possible and that's not what I meant.

I meant that FMS can't do it. You can download the m3u8 from a browser/curl/script, add this tag manually to it and then host it locally.

You will have to also alter the TS file paths in the m3u8 (make them relative from this hosted path)