# HLS With discontinuity stuck in buffer

**URL:** https://community.wowza.com/t/hls-with-discontinuity-stuck-in-buffer/54988
**Category:** Wowza Streaming Engine
**Created:** [April 16, 2020, 3:33pm UTC](https://community.wowza.com/t/hls-with-discontinuity-stuck-in-buffer/54988 "2020-04-16T15:33:46Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![MARIO\_ROSSI1](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@MARIO\_ROSSI1](https://community.wowza.com/u/MARIO_ROSSI1)
#### Post date: [April 16, 2020, 3:33pm UTC](https://community.wowza.com/t/hls-with-discontinuity-stuck-in-buffer/54988/1 "2020-04-16T15:33:46Z")

</div>

We are using JWPlayer 8.9.0 and we are trying to insert advertisements in our videos. We are using EXT-X-DISCONTINUITY but apparently, when we get to the point of starting our advertising, the player stops showing a buffer status.

This is an example of our playlist:

`
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-TARGETDURATION:16
#EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:14.557178,
https://slave2.example.com/hls/output1/output_000.ts
#EXTINF:1.376467,
https://slave3.example.com/hls/output1/output_001.ts
#EXT-X-DISCONTINUITY
#EXTINF:8.050244,
https://slave2.example.com/hls/HLSad/output_000.ts
#EXTINF:4.880200,
https://slave2.example.com/hls/HLSad/output_001.ts
#EXTINF:7.090889,
https://slave2.example.com/hls/HLSad/output_002.ts
#EXTINF:5.881267,
https://slave2.example.com/hls/output1/output_002.ts
#EXTINF:5.672711,
https://slave3.example.com/hls/output1/output_003.ts
#EXT-X-DISCONTINUITY
#EXTINF:8.050244,
https://slave2.example.com/hls/HLSad/output_000.ts
#EXTINF:4.880200,
https://slave2.example.com/hls/HLSad/output_001.ts
#EXTINF:7.090889,
https://slave2.example.com/hls/HLSad/output_002.ts
#EXTINF:5.714422,
https://slave2.example.com/hls/output1/output_004.ts
#EXTINF:4.755067,
https://slave3.example.com/hls/output1/output_005.ts
[...]
#EXT-X-ENDLIST`

This is what the JS console tells us:

`[log] > audio sampling rate : 48000
9512e6e5-eff6-4f75-806f-a367785315b7:1 [log] > manifest codec:undefined,ADTS data:type:2,sampleingIndex:3[48000Hz],channelConfig:2
9512e6e5-eff6-4f75-806f-a367785315b7:1 [log] > parsed codec:mp4a.40.5,rate:48000,nb channel:2
9512e6e5-eff6-4f75-806f-a367785315b7:1 [log] > audio sampling rate : 48000
9512e6e5-eff6-4f75-806f-a367785315b7:1 [log] > AVC:59 ms overlapping between fragments detected
9512e6e5-eff6-4f75-806f-a367785315b7:1 [log] > Video/PTS/DTS adjusted: 15958/15933,delta:-59 ms`

While the Chrome Media console says:

[CODE]1.414 kPlay  
{}

17.280 kBufferingStateChanged  
{audio\_buffering\_state: {reason: “DEMUXER\_UNDERFLOW”, state: “BUFFERING\_HAVE\_NOTHING”}}

17.280 kBufferingStateChanged  
{,…}  
pipeline\_buffering\_state: {for\_suspended\_start: false, reason: “DEMUXER\_UNDERFLOW”, state: “BUFFERING\_HAVE\_NOTHING”}  
for\_suspended\_start: false  
reason: “DEMUXER\_UNDERFLOW”  
state: “BUFFERING\_HAVE\_NOTHING”[/CODE]

Considering that the two videos that we are going to “merge” in the playlist have the same audio / video characteristics (codecs, bitrate, resolution etc.), why is this not working? Thank you

---

<div class="post-metadata">

### Author: ![Cassidy\_Reilly](https://avatars.discourse-cdn.com/v4/letter/c/c67d28/32.png) [@Cassidy\_Reilly](https://community.wowza.com/u/Cassidy_Reilly)
#### Post date: [April 17, 2020, 2:04pm UTC](https://community.wowza.com/t/hls-with-discontinuity-stuck-in-buffer/54988/2 "2020-04-17T14:04:46Z")

</div>

In order to debug this, we’ll need full access to your config and logs through a support ticket. It’ll require some testing on our end to find the issue. Thanks

[https://www.wowza.com/support/open-ticket](https://www.wowza.com/support/open-ticket)
