# Inject EXT-X-DISCONTINUITY in Video on Demand or Live Stream

**URL:** <https://community.wowza.com/t/inject-ext-x-discontinuity-in-video-on-demand-or-live-stream/36008>\
**Category:** Wowza Streaming Engine\
**Created:** [January 21, 2011, 12:24am UTC](https://community.wowza.com/t/inject-ext-x-discontinuity-in-video-on-demand-or-live-stream/36008 "2011-01-21T00:24:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rasputin\_Jones](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@Rasputin\_Jones](https://community.wowza.com/u/Rasputin_Jones)\
**Post date:** [January 21, 2011, 12:24am UTC](https://community.wowza.com/t/inject-ext-x-discontinuity-in-video-on-demand-or-live-stream/36008/1 "2011-01-21T00:24:16Z")

</div>

Hi,

I’d like to investigate if it’s possible to inject EXT-X-DISCONTINUITY tags into a HTTP Live Streaming VOD or LiveStream using Wowza for an application I’m building. Does anyone know if this is possible?

This would be part of a module I have in mind that would also make Wowza query a video ad-server for the stream to inject.

Please advise.

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [January 21, 2011, 12:25pm UTC](https://community.wowza.com/t/inject-ext-x-discontinuity-in-video-on-demand-or-live-stream/36008/2 "2011-01-21T12:25:18Z")

</div>

If you use the server-side Stream class to publish a live stream we will automatically send EXT-X-DISCONTINUITY markers in the playlist.m3u8 data if the encoding parameters of the stream have changed. So this should just work. Be sure you are running Wowza version 2.2.3 or greater to get this functionality.

Charlie

---

<div class="post-metadata">

**Author:** ![Rasputin\_Jones](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@Rasputin\_Jones](https://community.wowza.com/u/Rasputin_Jones)\
**Post date:** [January 21, 2011, 11:21am UTC](https://community.wowza.com/t/inject-ext-x-discontinuity-in-video-on-demand-or-live-stream/36008/3 "2011-01-21T11:21:44Z")

</div>

Thanks. Is there any future plan for such a feature. It seems there are quite a few people asking for this on threads in one way or the other.

---

<div class="post-metadata">

**Author:** ![carlos\_rios1](https://avatars.discourse-cdn.com/v4/letter/c/f0a364/32.png) [@carlos\_rios1](https://community.wowza.com/u/carlos_rios1)\
**Post date:** [September 5, 2019, 2:30am UTC](https://community.wowza.com/t/inject-ext-x-discontinuity-in-video-on-demand-or-live-stream/36008/4 "2019-09-05T02:30:51Z")

</div>

Is not if wowza is sending the markers it is about any player finds this tag on the manifest… isn´t it?

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [September 5, 2019, 4:36pm UTC](https://community.wowza.com/t/inject-ext-x-discontinuity-in-video-on-demand-or-live-stream/36008/5 "2019-09-05T16:36:45Z")

</div>

This was added in Engine version 4.6.0 and is enabled by adding “cupertino.addEndListOnDisconnect”:“true” to the map file entry (default is false).

Currently when a live source stream is unpublished, the HLS packetizer will just timeout after a set period. From a player POV, it is not aware that the source stream has ended and it keeps requesting the chunklist until it receives a 404 response. There are some cases where even after receiving the 404 response, the player still doesn’t stop requesting the chunklist for some time.

By having an option to add the EXT-X-ENDLIST tag when the source stream is unpublished, this will allow the players to react correctly and stop requesting the chunklist.

---

<div class="post-metadata">

**Author:** ![carlos\_rios1](https://avatars.discourse-cdn.com/v4/letter/c/f0a364/32.png) [@carlos\_rios1](https://community.wowza.com/u/carlos_rios1)\
**Post date:** [September 5, 2019, 6:51pm UTC](https://community.wowza.com/t/inject-ext-x-discontinuity-in-video-on-demand-or-live-stream/36008/6 "2019-09-05T18:51:18Z")

</div>

ok… thank you!
