# Unable to access chunk\_lists & ts files once live stream is completed

**URL:** https://community.wowza.com/t/unable-to-access-chunk-lists-ts-files-once-live-stream-is-completed/45341
**Category:** Wowza Streaming Engine
**Created:** [May 20, 2015, 5:51pm UTC](https://community.wowza.com/t/unable-to-access-chunk-lists-ts-files-once-live-stream-is-completed/45341 "2015-05-20T17:51:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Steve\_Robinson](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@Steve\_Robinson](https://community.wowza.com/u/Steve_Robinson)
#### Post date: [May 20, 2015, 5:51pm UTC](https://community.wowza.com/t/unable-to-access-chunk-lists-ts-files-once-live-stream-is-completed/45341/1 "2015-05-20T17:51:21Z")

</div>

We’re facing an issue while trying to play a live HLS stream using JWPlayer from our Wowza Streaming Engine instance on EC2 to which we are streaming from our encoder.

Playback is fine but when we stop the encoder after few minutes of streaming - JWPlayer is unable to finish playback of the entire video. In a few seconds after the encoder is stopped, the video just stalls ( **does not run to completion - delay between encoder and viewer** ) and we see 404 errors for chunklist\_xxxx.m3u8 and for xxxxxxx.ts files in the browser’s console and these errors keep coming. (attached screenshot of console)

![](https://trello-attachments.s3.amazonaws.com/5553412b285bf74eae2bb876/1070x210/d480e2094af1af9abe7f566bdad39599/chunklist-404.png)

Wowza Streaming Engine version: 4.0.4 (build 11775)

Last four digits of license key: Mike can you add this?

OS: Linux (amd64)

Java version: 1.7.0\_60

Application.xml for live app - [https://gist.github.com/steverob/43ef7dfd49036ca9d149](https://gist.github.com/steverob/43ef7dfd49036ca9d149)

Error messages in accesslog:

```auto
2015-05-19 12:31:07 UTC comment server WARN 200 - HTTPStreamerAdapterCupertinoStreamer.onPlaylist: Stream not found [live/P_HP8N9w_360p/chunklist_w1870982928.m3u8]: P_HP8N9w_360p - - - 3215.688 - - - - - - - - - - - - - - - - - - - - - - - - -
2015-05-19 12:31:10 UTC comment server WARN 200 - HTTPStreamerAdapterCupertinoStreamer.onPlaylist: Stream not found [live/P_HP8N9w_360p/chunklist_w1080508476.m3u8]: P_HP8N9w_360p - - - 3217.743 - - - - - - - - - - - - - - - - - - - - - - - - -
2015-05-19 12:31:10 UTC comment server WARN 200 - HTTPStreamerAdapterCupertinoStreamer.onPlaylist: Stream not found [live/P_HP8N9w_360p/chunklist_w1870982928.m3u8]: P_HP8N9w_360p - - - 3217.958 - - - - - - - - - - - - - - - - - - - - - - - - -
2015-05-19 12:31:12 UTC comment server WARN 200 - HTTPStreamerAdapterCupertinoStreamer.onPlaylist: Stream not found [live/P_HP8N9w_360p/chunklist_w1870982928.m3u8]: P_HP8N9w_360p - - - 3220.361 - - - - - - - - - - - - - - - - - - - - - - - - -
2015-05-19 12:31:12 UTC comment server WARN 200 - HTTPStreamerAdapterCupertinoStreamer.onPlaylist: Stream not found [live/P_HP8N9w_360p/chunklist_w1080508476.m3u8]: P_HP8N9w_360p - - - 3220.659 - - - - - - - - - - - - - - - - - - - - - - - - -
2015-05-19 12:31:14 UTC comment server WARN 200 - HTTPStreamerAdapterCupertinoStreamer.onPlaylist: Stream not found [live/P_HP8N9w_360p/chunklist_w1870982928.m3u8]: P_HP8N9w_360p - - - 3222.66 - - - - - - - - - - - - - - - - - - - - - - - - -
2015-05-19 12:31:15 UTC comment server WARN 200 - HTTPStreamerAdapterCupertinoStreamer.onPlaylist: Stream not found [live/P_HP8N9w_360p/chunklist_w1080508476.m3u8]: P_HP8N9w_360p - - - 3222.94 - - - - - - - - - - - - - - - - - - - - - - - - -

```

Is it possible to keep the live stream alive or something until the viewers complete viewing of the stream? Is there a way to reduce the delay between the viewer and encoder? Are there any workarounds for this problem?

Thanks in advance!!

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [May 26, 2015, 6:55am UTC](https://community.wowza.com/t/unable-to-access-chunk-lists-ts-files-once-live-stream-is-completed/45341/2 "2015-05-26T06:55:16Z")

</div>

Hello.

HTTP streaming sends chunks to the client. The client needs 3 chunks cached before it starts playing.

By default Wowza is set to send 3, 10 second chunks in each packet sent to the client. You can modify this behavior by editing the Application.xml file.

This guide explains how to control how the Cupertino (iOS device) segmenter segments an incoming live stream:

[How to configure Apple HTTP Live Streaming packetization (cupertinostreaming)](https://www.wowza.com/docs/how-to-configure-apple-hls-packetization-cupertinostreaming%28cupertinostreaming%29)

Chunks must start on a key frame. So it is best to use a key frame interval that is factor of the cupertinoChunkDurationTarget setting.

Try 2 second key frame frequency and cupertinoChunkDurationTarget “2000” (2 seconds)

**cupertinoMaxChunkCoun** t is the total number of chunks that are maintained. So as the stream moves a bit further off of live, the player will start to request segments from further in the past. Having a larger list of chunks in reserve will insure this does not lead to a missing chunk error.

Regards,

Salvadore
