# HLS playback issues with JWPlayer 6.8

**URL:** <https://community.wowza.com/t/hls-playback-issues-with-jwplayer-6-8/34153>\
**Category:** Wowza Streaming Engine\
**Created:** [June 9, 2014, 12:29pm UTC](https://community.wowza.com/t/hls-playback-issues-with-jwplayer-6-8/34153 "2014-06-09T12:29:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vijay\_J](https://avatars.discourse-cdn.com/v4/letter/v/d78d45/32.png) [@Vijay\_J](https://community.wowza.com/u/Vijay_J)\
**Post date:** [June 9, 2014, 12:29pm UTC](https://community.wowza.com/t/hls-playback-issues-with-jwplayer-6-8/34153/1 "2014-06-09T12:29:21Z")

</div>

Hello,

We’ve received complaints from our customers using JW Player for delivery of HLS streams. Playback starts fine but after a period of time (anywhere from 15 minutes to a couple of hours), the player loses the active session to the edge server and initiates a new session for the subsequent chunk requests. Our wowza edge servers are load balanced and as a result, the new session ends up hitting a different edge. The new edge, having no knowledge of the chunks or the session id, rejects the session thus stopping playback. Is there anything that can be done on the server side to help resolve this issue? Have you received similar complaints from other wowza users? We’re running a Live Repeater Origin Edge configuration with both the Origin and the Edge running 3.6.4.01.

Thanks!

---

<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:** [June 9, 2014, 4:49pm UTC](https://community.wowza.com/t/hls-playback-issues-with-jwplayer-6-8/34153/2 "2014-06-09T16:49:39Z")

</div>

Hi there,

Are you packetizing on the origin or edge? If packetizing on the origin and repeating on the edges then the chunk list request should trigger the mediaCaster to reconnect on the new edge.

Also, if the user pauses the player then restarts, it may be requesting a ts chunk that has already expired which would cause an error, even with a single server setup.

What sort of load balancer are you using? You should probably be using some sort of persistence setting with the load balancer, as the player will change port number every so often which could cause the load balancer to think it is a new connection. Which could also cause an issue.

Salvadore

---

<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:** [June 12, 2014, 1:39pm UTC](https://community.wowza.com/t/hls-playback-issues-with-jwplayer-6-8/34153/3 "2014-06-12T13:39:53Z")

</div>

Hi,

You can [redirect an HTTP session](https://www.wowza.com/docs/how-to-redirect-an-http-or-rtsp-session-through-server-side-code) with IHTTPStreamerSession.redirectSession(url)

Richard

---

<div class="post-metadata">

**Author:** ![Vijay\_J](https://avatars.discourse-cdn.com/v4/letter/v/d78d45/32.png) [@Vijay\_J](https://community.wowza.com/u/Vijay_J)\
**Post date:** [June 9, 2014, 5:11pm UTC](https://community.wowza.com/t/hls-playback-issues-with-jwplayer-6-8/34153/4 "2014-06-09T17:11:29Z")

</div>

We are packetizing on the origin. We’re seeing the issue occur without pausing the player. Our load balancers are already configured to be sticky but will confirm again. We don’t see this behavior when viewing the HLS stream on an iOS device.

---

<div class="post-metadata">

**Author:** ![Vijay\_J](https://avatars.discourse-cdn.com/v4/letter/v/d78d45/32.png) [@Vijay\_J](https://community.wowza.com/u/Vijay_J)\
**Post date:** [June 11, 2014, 10:32am UTC](https://community.wowza.com/t/hls-playback-issues-with-jwplayer-6-8/34153/5 "2014-06-11T10:32:54Z")

</div>

Hi Salvadore,

Is it possible to issue a redirect for an hls request? We’ve implemented the onHTTPCupertinoStreamingSessionCreate() method but getHTTPStreamerSession().doSessionRedirect() doesn’t seem to work. The idea here is that if an edge gets a request for a chunk or a child playlist that it doesn’t recognize, it redirects the request to the master playlist instead.

Thanks.

---

<div class="post-metadata">

**Author:** ![Vijay\_J](https://avatars.discourse-cdn.com/v4/letter/v/d78d45/32.png) [@Vijay\_J](https://community.wowza.com/u/Vijay_J)\
**Post date:** [June 16, 2014, 10:54am UTC](https://community.wowza.com/t/hls-playback-issues-with-jwplayer-6-8/34153/6 "2014-06-16T10:54:08Z")

</div>

Thanks Richard. Will take a look.
