Wowza Community

hls live stream freezes on IOS devices

Hello, i am using Wowza for WebRtc broadcasts with html5 hls. The problem is it is not working well on ios devices. (seems to work well everywere else)
Stream strarts playing normally, but eventually freezes. It goes like:

  1. load chunklist the first time
  2. load all media segments
  3. load chunklist the second time
  4. stream sreezes

playlists looks ok to me:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:13
#EXT-X-MEDIA-SEQUENCE:1
#EXTINF:12.472,
media_w1245802030_1.ts
#EXTINF:6.024,
media_w1245802030_2.ts
#EXTINF:11.642,
media_w1245802030_3.ts

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:13
#EXT-X-MEDIA-SEQUENCE:2
#EXTINF:6.024,
media_w1988418941_2.ts
#EXTINF:11.642,
media_w1988418941_3.ts
#EXTINF:9.264,
media_w1988418941_4.ts

packetizers is set:

<LiveStreamPacketizers>cupertinostreamingpacketizer, mpegdashstreamingpacketizer, sanjosestreamingpacketizer, smoothstreamingpacketizer</LiveStreamPacketizers>

cupertinoStreamingPacketizer pros is default

tested on IPad IOS9 IPhone5s IOS10

Spent some time on this one. Can you suggest something?

Thanks

So the trouble was that in my playlist.m3u8 chunklist had no session id part, and every chunklist.m3u8 was requested it had new session id part in media.ts names(as you can see above). And it seems that this is indeed confuses native players when players like hls.js hanldes it ok. So if someone reading this post stumble upon similar problem u can try:

  1. use standart playlist.m3u8 generated by wowza (i waz using custom one)
  2. add fake session id part to chunklist like chuncklist_w312312.m3u8
  3. switch to live http origin application

Mikhael, how did you set the session id?

Does anyone resolve this issue??

Hi there … has anyone solved this issue without having to set up Wowza as a http origin?