Wowza Community

Unable to access chunk_lists & ts files once live stream is completed

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)

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

Error messages in accesslog:

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!!

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)

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)

cupertinoMaxChunkCount 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