HLS freeze in Safari

HLS freeze in Safari

Support ForumCategory: Usage and FeaturesHLS freeze in Safari
Laurent Cogné asked 8 years ago
Hi, I have problem with an HLS stream, that correctly plays in VLC, some internet players (such a hlsplayer.net, even on Safari), chrome on Android, but freeze on Safari, either on Mac and iOS. The stream is pulled from a raw RTP using a SDP file, RTMP and RTSP streams are OK, Dash also and as I said HLS is OK in most players I tested. I found that when I play it simultaneously in 2 Safari instances (one on Mac, one on iOS) both freeze a the same frame, making me suggest that the browser doesn\’t jump to next segment or doesn\’t refresh the playlist. Here are my API calls :
pullStream uri=file:///streams/demo1234-video.sdp localStreamName=demo-video
createHLSStream localStreamNames=demo-video targetFolder=/var/evo-webroot groupname=hls-video playlistType=rolling keepAlive=1
I do not master m3u8 file format and tags, here is the content of the one generated by EMS :
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-ALLOW-CACHE:NO
#EXT-X-TARGETDURATION:11
#EXT-X-MEDIA-SEQUENCE:2
#EXT-X-PROGRAM-DATE-TIME:2016-11-17T15:48:33.361+00:00
#EXTINF:10.200,
segment_1479397702681_2.ts
#EXTINF:10.167,
segment_1479397702681_3.ts
#EXTINF:10.133,
segment_1479397702681_4.ts
#EXTINF:10.167,
segment_1479397702681_5.ts
#EXTINF:10.200,
segment_1479397702681_6.ts
#EXTINF:10.100,
segment_1479397702681_7.ts
#EXTINF:10.100,
segment_1479397702681_8.ts
#EXTINF:10.133,
segment_1479397702681_9.ts
#EXTINF:10.134,
segment_1479397702681_10.ts
#EXTINF:10.133,
segment_1479397702681_11.ts
any advice ? Laurent



1 Answers
ian Staff answered 8 years ago
Hi Laurent, The playlist and the API call seems right. However, there isn’t enough information to help. Can you send EMS logs around the time you’ve encountered this?

Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.