# HLS stream keeps crashing

**URL:** https://community.wowza.com/t/hls-stream-keeps-crashing/40336
**Category:** Wowza Streaming Engine
**Created:** [April 30, 2013, 7:45am UTC](https://community.wowza.com/t/hls-stream-keeps-crashing/40336 "2013-04-30T07:45:38Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Joe\_Wolford](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@Joe\_Wolford](https://community.wowza.com/u/Joe_Wolford)
#### Post date: [April 30, 2013, 7:45am UTC](https://community.wowza.com/t/hls-stream-keeps-crashing/40336/1 "2013-04-30T07:45:38Z")

</div>

I am pulling streams from 2 RTSP IP cameras and pushing them out via Wowza using 2 streams: source and 360p. I am using Flowplayer to play the rtsp-to-rtmp “source” stream and it works fine. I am streaming the 360p profile out via .m3u8 files for mobile devices and it simply crashes all the time when viewing it on iPad, iPhone and Android devices. Sometimes it will play for 5 minutes then crash, while other times it either never connects or it plays for a few seconds then crashes.

I’ve been testing out Wowza now for only a couple weeks, and with these issues I can’t comfortably tell my client that this server is the way to go, so I really need to get some answers.

Much thanks in advance.

---

<div class="post-metadata">

### Author: ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)
#### Post date: [April 30, 2013, 1:15pm UTC](https://community.wowza.com/t/hls-stream-keeps-crashing/40336/2 "2013-04-30T13:15:16Z")

</div>

Hi,

Are you using Flowplayer to play the Cupertino/Apple HLS compatible stream?

If you play the stream directly from the IP camera using VLC does the stream crash at any time?

Are you using Wowza to transcode the stream?

Do you get any error in the logs when the stream crashes?

Can you provide the links so I can see the stream playback? (optional)

Jason

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [May 1, 2013, 3:26am UTC](https://community.wowza.com/t/hls-stream-keeps-crashing/40336/3 "2013-05-01T03:26:48Z")

</div>

reference ticket #55500

---

<div class="post-metadata">

### Author: ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)
#### Post date: [April 30, 2013, 1:40pm UTC](https://community.wowza.com/t/hls-stream-keeps-crashing/40336/4 "2013-04-30T13:40:47Z")

</div>

Hi,

I had a look at your other post but will submit the answer here.

To remove this error I suggest adding this property to the Application.xml

rtspValidationFrequency

0

Integer

This can be found in the IP camera tutorial here,

[https://www.wowza.com/docs/how-to-re-stream-video-from-an-ip-camera-rtsp-rtp-re-streaming](https://www.wowza.com/docs/how-to-re-stream-video-from-an-ip-camera-rtsp-rtp-re-streaming)

I’ll take a look at the stream in a moment and get back to you.

Jason

---

<div class="post-metadata">

### Author: ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)
#### Post date: [April 30, 2013, 1:53pm UTC](https://community.wowza.com/t/hls-stream-keeps-crashing/40336/5 "2013-04-30T13:53:59Z")

</div>

Hi,

I’ve had a look and I could be the validation that’s causing problems which will be tuned off using the property above.

If the above does’t work you could try using jitter buffer and logging to help determine the problem,

[https://www.wowza.com/docs/how-to-turn-on-an-rtp-jitter-buffer-and-packet-loss-logging-rtp-and-mpeg-ts](https://www.wowza.com/docs/how-to-turn-on-an-rtp-jitter-buffer-and-packet-loss-logging-rtp-and-mpeg-ts)

What version of Wowza are you using?

Jason

---

<div class="post-metadata">

### Author: ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)
#### Post date: [April 30, 2013, 2:33pm UTC](https://community.wowza.com/t/hls-stream-keeps-crashing/40336/6 "2013-04-30T14:33:23Z")

</div>

Hi,

I think you may have added the property block in the wrong place in the Application.xml.

If you open up a ticket by sending an email to support@wowza.com we can take a closer look.

Attach a zipped copy of the /conf and /logs in the email and a link to this thread for reference.

Jason

---

<div class="post-metadata">

### Author: ![Joe\_Wolford](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@Joe\_Wolford](https://community.wowza.com/u/Joe_Wolford)
#### Post date: [April 30, 2013, 8:23am UTC](https://community.wowza.com/t/hls-stream-keeps-crashing/40336/7 "2013-04-30T08:23:50Z")

</div>

> Are you using Flowplayer to play the Cupertino/Apple HLS compatible stream?

- No sir, Flowplayer is using rtmp stream

> If you play the stream directly from the IP camera using VLC does the stream crash at any time?

- Never

> Are you using Wowza to transcode the stream?

- Yes

> Do you get any error in the logs when the stream crashes?

- Yes. I have tons of errors like this : RTSPRequestMessage.parseHeader[rtsp://[server-ip]/primarystream/]: missing parameters: [large string here]

> Can you provide the links so I can see the stream playback? (optional)

- HLS Stream: 66.118.69.146:1999/live/camera.stream\_360p/playlist.m3u8

Thanks Jason

---

<div class="post-metadata">

### Author: ![Joe\_Wolford](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@Joe\_Wolford](https://community.wowza.com/u/Joe_Wolford)
#### Post date: [April 30, 2013, 9:22am UTC](https://community.wowza.com/t/hls-stream-keeps-crashing/40336/8 "2013-04-30T09:22:33Z")

</div>

I made the change you mentioned above to Application.xml, restarted Wowza, set up the cameras to stream and nothing worked after the change (all streams could not be found). Removed it, restarted and now everything works again. Any ideas??

---

<div class="post-metadata">

### Author: ![Joe\_Wolford](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@Joe\_Wolford](https://community.wowza.com/u/Joe_Wolford)
#### Post date: [April 30, 2013, 9:41am UTC](https://community.wowza.com/t/hls-stream-keeps-crashing/40336/9 "2013-04-30T09:41:06Z")

</div>

I changed:

interleave

streamTimeout

0

Integer

To read:

interleave

streamTimeout

0

Integer

rtspValidationFrequency

0

Integer

Is that not correct?

---

<div class="post-metadata">

### Author: ![Joe\_Wolford](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@Joe\_Wolford](https://community.wowza.com/u/Joe_Wolford)
#### Post date: [April 30, 2013, 9:45am UTC](https://community.wowza.com/t/hls-stream-keeps-crashing/40336/10 "2013-04-30T09:45:56Z")

</div>

NOTE: I made the above change to the file: C:\Program Files (x86)\Wowza Media Systems\Wowza Media Server 3.5.2\conf\live\Application.xml
