HTTP Live Streaming

RSS for tag

Send audio and video over HTTP from an ordinary web server for playback on Mac, iOS, and tvOS devices using HTTP Live Streaming (HLS).

Posts under HTTP Live Streaming tag

200 Posts

Post

Replies

Boosts

Views

Activity

Live Streaming
Hello, I have an IP Camera that is able to do RTSP streaming. This stream would go to my server, where it will be forwarded in RTSP format to an iPhone device. I would like to know if Apple allows RTSP incoming streaming (both audio and video); are there any specific guidelines for this? NOTE : - i will use Xcode version 14.3.1 swift version 5.8 Thanks,
0
0
493
Jun ’23
I can't play m3u8 containing video with libx265 code.
I have used ffmpeg to transform a video into multiple chunks, the ffmpeg command works fine and I can play the video. I have created an index.m3u8 that contains 4 qualities, each of those qualities contains the chunks of the video, I can play each chunk, but I can't play anything when using the index.m3u8. here is my index #EXTM3U #EXT-X-VERSION:3 #EXT-X-STREAM-INF:BANDWIDTH=5000000,RESOLUTION=1920x1080 http://cdn... #EXT-X-STREAM-INF:BANDWIDTH=2800000,RESOLUTION=1280x720 http://cdn... #EXT-X-STREAM-INF:BANDWIDTH=1400000,RESOLUTION=842x480 http://cdn... #EXT-X-STREAM-INF:BANDWIDTH=800000,RESOLUTION=640x360 http://cdn... here is my quality file #EXTM3U #EXT-X-PLAYLIST-TYPE:VOD #EXT-X-TARGETDURATION:8.341667 #EXT-X-VERSION:3 #EXT-X-MEDIA-SEQUENCE:24 #EXTINF:8.341667, http://cdn.... #EXTINF:8.341667, http://cdn.... #EXTINF:8.341667, http://cdn.... #EXTINF:6.873533, http://cdn.... #EXT-X-ENDLIST
1
0
987
Jun ’23
Error 16833 and 19152
We have created a hls playback framework and lot of our client's are complaining about this error {"code": -19152, "domain": "CoreMediaErrorDomain", "localizedDescription": "The operation couldn’t be completed. (CoreMediaErrorDomain error -19152 - The operation couldn’t be completed. (CoreMediaErrorDomain error -19152.))", "localizedFailureReason": "", "localizedRecoverySuggestion": ""} We are unable to reproduce this issue on our end but we have data reflecting the same error happening at good rate. Any help/hint is welcome. Thanks
1
0
2.0k
Jun ’23
Video (HLS) quality on website does not switch on iOS 16.5
When streaming HLS files in the iPhone/iPad browser only on iOS 16.5, the bit rate does not switch. The lowest quality bitrate is always selected regardless of the communication environment. This does not occur on iOS16.4 and iOS16.6(beta) in the same communication environment and on the same device, and the bitrate switches according to network conditions. Has anyone else experienced a similar event? Also, does anyone know how to remedy this issue?
0
0
762
Jun ’23
FairPlay license auto-renewal (on SPC request)
Hi, is it possible to force/ensure an automatic license renewal in a Fairplay SPC response? I can find that feature in other DRM systems like Widevine (using specific parameters in the response) Searching in "FairPlay Streaming Server SDK 4.4.4" I can only find parameters related to lease/rental TLLs, but not an explicit renewal request. does this feature exists on FairPlay? Any information will be appreciated. Have a great day!
0
0
949
Jun ’23
SCTE-35 markers events on Safari
Hello,When streaming and playing HLS streams on Safari using <video> tag, is there way to be notified at application level (javascript) of the presence of SCTE-35 data ranges in the stream (playlist)?When using the <video> tag on Safari, it is the responsibility of the the native video element to download and parse the playlists, thus there is no way for web application to know about the presence of such tags/markers in the playlists.Does the native video element trigger some events (like cue events for example) to signal the presence of these SCTE-35 data ranges?I tried to listen for cue events but unsuccessfully.
1
0
1.6k
Jun ’23
Visualize AVPlayer track while playing a streamed m3u8 file
I am simply trying to visualize m3u8 files from my Amazon S3 server while they are playing on my AVPlayer. The basic context of my AVPlayer is that I first create AVURLAsset and attach the cookies required to access it and then subsequently create the AVPlayerItem. I then setup the AVPlayer, play it, and then setup an observer so that I can handle some logic when the audio file is done playing. I just want to be able to get the power data of the streamed file in real time or close to real time. I looked into audioTapProcessor but it does not appear to work with streamed files. I then looked into AVAudioEngine but that also does not work well with streams. Is there any solution to this?
0
0
851
May ’23
iOS safari transform to mono audio playback when microphone captured via getUserMedia
Hi, i have this problem in web app context running in safari 14.0 on Apple Iphone X device. It seems that when i capture the user's microphone via: var opts = { //audio: true, audio: true, video: true }; navigator.mediaDevices.getUserMedia(opts) This causes all audio playback within the page to be played as mono e.g. i have a file that should only be heard through the left headphone and it is heard through both headphones. Setting audio to false above means that the audio files play normally. Seems like some sort of bug where capturing the microphone seems to affect the output audio context. Any advice on what i can do to be able to get microphone input and stereo output simultaneously?
1
0
1.5k
May ’23
Channel to check HLS software licese
I want to use playback in the case of Radio (FM/DAB) reception using HLS for a commercial product that our company is developing. So I have been checking the software license for HLS for this purpose, but I couldn't find the right person in charge or someone who knows exactly. Our company only knows channels for MFi, but he recommended looking for channels for HLS contracts in this developer forum. Of course, I saw a specific Apple developer's comment through the thread below, but I would like to confirm if this answer is still valid. https://developer.apple.com/forums/thread/109953 (I already emailed to "Licensing and Trademarks", but I didn't get response)
0
0
652
May ’23
Issue playing HLS (m3u8) live stream
Has anyone else had issues live streaming HLS on XCode 14.3? I am using an IOS 16.2 simulator as it seems the bugs with streaming on the 16.4 simulators still haven't been resolved. I have been able to play on-demand videos fine, although when I try and play a live stream, I just get a black screen with a play button with a cross through it.
1
1
1.3k
May ’23
HLS discontinuity tag, playback issues with CVBR HEVC
Hello, I am trying do a playback test with content stitched together in a HLS manifest using the #EXT-X-DISCONTINUITY tag. Im testing on the AppleTV 4k with the VLC player and a hlsjs player with Safari on my MacOS (https://players.akamai.com/players/hlsjs) I get playback issues when my player hits the first discontinuity section in both players. And im not sure how to further debug the issue. The VLC player just exits, the hlsjs player stops playback. I don't get any errors in the javascript console. The hlsjs player does display stats beside the player. The only hint I get is segment length is 5s up until it stops, then it says No segment length found. I've created a stack overflow post with more details here: https://stackoverflow.com/questions/76285834/hls-discontinuity-manifest-playback-issues-hevc-fragmented-mp4s I was able to get the same test working with h264 encodes and mpeg-ts video files. Does anyone have working examples of a discontinuity manifest with HEVC encodes and fragmented mp4s?
2
0
1.4k
May ’23
HLS Multivariant Manifest not play 1st variant first
I see it lightly documented that the first variant listed in the manifest is the first variant to play, then adaptive streaming takes over to pick the next variants. When we do this we find the 3rd variant is loaded first. How can I investigate the reason for this? I've run media analyzer and there were some suggestion but nothing that made the 3d variant different from the first 2. #EXTM3U #EXT-X-VERSION:3 #EXT-X-INDEPENDENT-SEGMENTS #EXT-X-STREAM-INF:BANDWIDTH=14985704,AVERAGE-BANDWIDTH=6811200,CODECS="avc1.4d4033,mp4a.40.2",RESOLUTION=3840x2160,FRAME-RATE=29.970 clip4_2160p30-6M.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=24835374,AVERAGE-BANDWIDTH=11211200,CODECS="avc1.4d4033,mp4a.40.2",RESOLUTION=3840x2160,FRAME-RATE=29.970 clip4_2160p30-10M.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=37147462,AVERAGE-BANDWIDTH=16711200,CODECS="avc1.4d4033,mp4a.40.2",RESOLUTION=3840x2160,FRAME-RATE=29.970 clip4_2160p30-15M.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=49459550,AVERAGE-BANDWIDTH=22211200,CODECS="avc1.640033,mp4a.40.2",RESOLUTION=3840x2160,FRAME-RATE=29.970 clip4_2160p30-20M.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=74013326,AVERAGE-BANDWIDTH=33140800,CODECS="avc1.640033,mp4a.40.2",RESOLUTION=3840x2160,FRAME-RATE=29.970 clip4_2160p30-30M.m3u8
2
0
1.6k
May ’23
WebRTC Audio Is Not Playing Any Sound on Safari and IOS
I am trying to figure out why there is no audio on my iPhone or iPad, my code is working on other devices. I am on IPad iOS 15.3.1 and I test on my computer using Safari. Video is working, and both the video and audio work on Android, Chrome, etc. This is just an audio problem on iOS. From my WebRTC I have HTML5 Audio Track tracks as such: <audio muted="false" autoplay="1" id="xxxx"></audio> When debugging, I connect my IPad and have run this volume check: document.getElementById('xxx').volume And it returns the value of 1, so the volume is on its loudest (I think according to HTML5 audio tags range from 0, 0.1, 0.2, xxxx 1). document.getElementById('xxx').end The ended returns false. Next I try to run the play() function as such: $('#xxx')[0].play() .then((resp) => { console.log("Success"); console.log(resp) }) .catch(error => {console.log(error)}) And it executes the success response. But there is still no sound. What could be causing this issue on iOS and Safari only?enter code here
1
0
2.3k
May ’23
HLS EVENT Manifest Safari Player Timeline crash
We have implemented an optimization feature for HLS VOD streaming in the form of an EVENT Manifest. General manifest hour The bottom line is that on the first request, we return the HLS EVENT Manifest within 30 seconds and launch certain processin mechanisms in the background, as soon as everything has ready, on the next requests we return an EVENT Manifest with an EXT-X-ENDLIST tag What does it look like 1st request: #EXTM3U #EXT-X-PLAYLIST-TYPE: EVENT 1.ts 2.ts 3.ts 2nd req (if background completed) #EXTM3U #EXT-X-PLAYLIST-TYPE: EVENT 1.ts 2.ts 3.ts .... .... .... 1000.ts #EXT-X-ENDLIST This approach worked in VLC player and hls.js players but this thing doesn't work in native Safari player It has very strange behavior: Live is shown first in the timeline (which is okay) then, as he has already downloaded the manifest with EXT-X-ENDLIST, it shows the real duration (hour) but literally after 2 seconds it cuts the timeline and leaves only 2 minutes in the timeline by DevTools-> Network, I see that it stops downloading after 8-9 segments And now I would like to know if anyone has encountered such a safari problem and if maybe you need to somehow reconfigure the browser player.
1
0
1.1k
May ’23
AppleTV HLS player with metrics?
Hello, I am running some simple playback tests. I would like to playback content streamed via HLS manifest on my AppleTV device, ideally with playback metrics. I should be able to use something like the VLC app: https://www.videolan.org/vlc/download-appletv.html (open to suggestions) But as for metrics, im not 100%. Does anyone have experience on this topic? As for the specific metrics, Im just looking for something that I can use to objectively measure different tests. I was thinking anything related to buffer rates, error rates, and percentage of time playing back specific streams.
0
0
828
May ’23
How to stop AVPlayer to cache/download hls chunks during playback
Hi Team, I am pre-caching first 5 seconds of vidoes to improve start up playback latency. I am using AVAssetDownloadTask(AVAssetDownloadTask | Apple Developer Documentation) for pre-caching first 5 seconds in movpkg container in local. Now during playback of pre-cache vidoe from local file, AVPlayer start downloading remaining video chunks hence completely download video in local which increase space in device. Is there any way to stop AVPlayer to cache/download chunks in local during playback ?
1
0
1.8k
May ’23
LL-HLS Playback with Safari, ext-x-part tag support
I am trying to playback live content generated using Apple tools setup with Safari Browser, and having difficulty playing back. Here is more information of my Server setup: %tsrecompressor -c -O 224.0.0.50:9121 -L 224.0.0.50:9123 -P 224.0.0.50:9125 %mediastreamsegmenter --part-target-duration-ms=200 -f /usr/local/Cellar/nginx/1.23.4/html/ -t 1 224.0.0.50:9121 -D %cd /usr/local/share/hlstools %go run ll-hls-origin-example.go -dir /usr/local/Cellar/nginx/1.23.4/html -http :443 I am able to playback the content using hls.js demo player and the above Server set-up. I do see a "Failed to load resource: Plug-in handled load" error and don't see any content being played. Any ideas as to how to work around the error? Makes me wonder does Safari support ext-x-part tag at all? Thanks!
0
0
987
May ’23
On a device version 16.4, the default subtitle for the HLS video player is 'unknown'.
I am testing a video stream (HLS) using the Video.js player. After updating my iPhone's iOS to version 16.4.1, the player's subtitles default to 'unknown', and I am using the 'textTracks' function where 'track.length' is equal to 1. However, in other versions (e.g. 15.X.X), 'track.length' is equal to 2 (English and unknown). I want the subtitles to default to English on my device (version 16.4.1). Thanks in advance for your help! Example link: https://codepen.io/wendyhsiao/pen/wvYqeJx
0
0
626
Apr ’23
Live Streaming
Hello, I have an IP Camera that is able to do RTSP streaming. This stream would go to my server, where it will be forwarded in RTSP format to an iPhone device. I would like to know if Apple allows RTSP incoming streaming (both audio and video); are there any specific guidelines for this? NOTE : - i will use Xcode version 14.3.1 swift version 5.8 Thanks,
Replies
0
Boosts
0
Views
493
Activity
Jun ’23
I can't play m3u8 containing video with libx265 code.
I have used ffmpeg to transform a video into multiple chunks, the ffmpeg command works fine and I can play the video. I have created an index.m3u8 that contains 4 qualities, each of those qualities contains the chunks of the video, I can play each chunk, but I can't play anything when using the index.m3u8. here is my index #EXTM3U #EXT-X-VERSION:3 #EXT-X-STREAM-INF:BANDWIDTH=5000000,RESOLUTION=1920x1080 http://cdn... #EXT-X-STREAM-INF:BANDWIDTH=2800000,RESOLUTION=1280x720 http://cdn... #EXT-X-STREAM-INF:BANDWIDTH=1400000,RESOLUTION=842x480 http://cdn... #EXT-X-STREAM-INF:BANDWIDTH=800000,RESOLUTION=640x360 http://cdn... here is my quality file #EXTM3U #EXT-X-PLAYLIST-TYPE:VOD #EXT-X-TARGETDURATION:8.341667 #EXT-X-VERSION:3 #EXT-X-MEDIA-SEQUENCE:24 #EXTINF:8.341667, http://cdn.... #EXTINF:8.341667, http://cdn.... #EXTINF:8.341667, http://cdn.... #EXTINF:6.873533, http://cdn.... #EXT-X-ENDLIST
Replies
1
Boosts
0
Views
987
Activity
Jun ’23
Error 16833 and 19152
We have created a hls playback framework and lot of our client's are complaining about this error {"code": -19152, "domain": "CoreMediaErrorDomain", "localizedDescription": "The operation couldn’t be completed. (CoreMediaErrorDomain error -19152 - The operation couldn’t be completed. (CoreMediaErrorDomain error -19152.))", "localizedFailureReason": "", "localizedRecoverySuggestion": ""} We are unable to reproduce this issue on our end but we have data reflecting the same error happening at good rate. Any help/hint is welcome. Thanks
Replies
1
Boosts
0
Views
2.0k
Activity
Jun ’23
Native VPX Support
Hey Guys, I am looking to add VP9 support to an application and am trying to figure out how to access these APIs on iOS. Is it possible to access the VP9 encoders / decoders without using HLS? Looking for some help on this. Thanks, Norris
Replies
0
Boosts
0
Views
795
Activity
Jun ’23
Video (HLS) quality on website does not switch on iOS 16.5
When streaming HLS files in the iPhone/iPad browser only on iOS 16.5, the bit rate does not switch. The lowest quality bitrate is always selected regardless of the communication environment. This does not occur on iOS16.4 and iOS16.6(beta) in the same communication environment and on the same device, and the bitrate switches according to network conditions. Has anyone else experienced a similar event? Also, does anyone know how to remedy this issue?
Replies
0
Boosts
0
Views
762
Activity
Jun ’23
FairPlay license auto-renewal (on SPC request)
Hi, is it possible to force/ensure an automatic license renewal in a Fairplay SPC response? I can find that feature in other DRM systems like Widevine (using specific parameters in the response) Searching in "FairPlay Streaming Server SDK 4.4.4" I can only find parameters related to lease/rental TLLs, but not an explicit renewal request. does this feature exists on FairPlay? Any information will be appreciated. Have a great day!
Replies
0
Boosts
0
Views
949
Activity
Jun ’23
SCTE-35 markers events on Safari
Hello,When streaming and playing HLS streams on Safari using &lt;video&gt; tag, is there way to be notified at application level (javascript) of the presence of SCTE-35 data ranges in the stream (playlist)?When using the &lt;video&gt; tag on Safari, it is the responsibility of the the native video element to download and parse the playlists, thus there is no way for web application to know about the presence of such tags/markers in the playlists.Does the native video element trigger some events (like cue events for example) to signal the presence of these SCTE-35 data ranges?I tried to listen for cue events but unsuccessfully.
Replies
1
Boosts
0
Views
1.6k
Activity
Jun ’23
Visualize AVPlayer track while playing a streamed m3u8 file
I am simply trying to visualize m3u8 files from my Amazon S3 server while they are playing on my AVPlayer. The basic context of my AVPlayer is that I first create AVURLAsset and attach the cookies required to access it and then subsequently create the AVPlayerItem. I then setup the AVPlayer, play it, and then setup an observer so that I can handle some logic when the audio file is done playing. I just want to be able to get the power data of the streamed file in real time or close to real time. I looked into audioTapProcessor but it does not appear to work with streamed files. I then looked into AVAudioEngine but that also does not work well with streams. Is there any solution to this?
Replies
0
Boosts
0
Views
851
Activity
May ’23
iOS safari transform to mono audio playback when microphone captured via getUserMedia
Hi, i have this problem in web app context running in safari 14.0 on Apple Iphone X device. It seems that when i capture the user's microphone via: var opts = { //audio: true, audio: true, video: true }; navigator.mediaDevices.getUserMedia(opts) This causes all audio playback within the page to be played as mono e.g. i have a file that should only be heard through the left headphone and it is heard through both headphones. Setting audio to false above means that the audio files play normally. Seems like some sort of bug where capturing the microphone seems to affect the output audio context. Any advice on what i can do to be able to get microphone input and stereo output simultaneously?
Replies
1
Boosts
0
Views
1.5k
Activity
May ’23
Channel to check HLS software licese
I want to use playback in the case of Radio (FM/DAB) reception using HLS for a commercial product that our company is developing. So I have been checking the software license for HLS for this purpose, but I couldn't find the right person in charge or someone who knows exactly. Our company only knows channels for MFi, but he recommended looking for channels for HLS contracts in this developer forum. Of course, I saw a specific Apple developer's comment through the thread below, but I would like to confirm if this answer is still valid. https://developer.apple.com/forums/thread/109953 (I already emailed to "Licensing and Trademarks", but I didn't get response)
Replies
0
Boosts
0
Views
652
Activity
May ’23
Download fairplay encrypted video asset in tvOS
I need to download encrypted HLS stream in tvos and save it in local file path. But AVAssetDownloadURLSession is not available in tvOS. Is there any alternative?. Thanks
Replies
0
Boosts
0
Views
855
Activity
May ’23
Issue playing HLS (m3u8) live stream
Has anyone else had issues live streaming HLS on XCode 14.3? I am using an IOS 16.2 simulator as it seems the bugs with streaming on the 16.4 simulators still haven't been resolved. I have been able to play on-demand videos fine, although when I try and play a live stream, I just get a black screen with a play button with a cross through it.
Replies
1
Boosts
1
Views
1.3k
Activity
May ’23
HLS discontinuity tag, playback issues with CVBR HEVC
Hello, I am trying do a playback test with content stitched together in a HLS manifest using the #EXT-X-DISCONTINUITY tag. Im testing on the AppleTV 4k with the VLC player and a hlsjs player with Safari on my MacOS (https://players.akamai.com/players/hlsjs) I get playback issues when my player hits the first discontinuity section in both players. And im not sure how to further debug the issue. The VLC player just exits, the hlsjs player stops playback. I don't get any errors in the javascript console. The hlsjs player does display stats beside the player. The only hint I get is segment length is 5s up until it stops, then it says No segment length found. I've created a stack overflow post with more details here: https://stackoverflow.com/questions/76285834/hls-discontinuity-manifest-playback-issues-hevc-fragmented-mp4s I was able to get the same test working with h264 encodes and mpeg-ts video files. Does anyone have working examples of a discontinuity manifest with HEVC encodes and fragmented mp4s?
Replies
2
Boosts
0
Views
1.4k
Activity
May ’23
HLS Multivariant Manifest not play 1st variant first
I see it lightly documented that the first variant listed in the manifest is the first variant to play, then adaptive streaming takes over to pick the next variants. When we do this we find the 3rd variant is loaded first. How can I investigate the reason for this? I've run media analyzer and there were some suggestion but nothing that made the 3d variant different from the first 2. #EXTM3U #EXT-X-VERSION:3 #EXT-X-INDEPENDENT-SEGMENTS #EXT-X-STREAM-INF:BANDWIDTH=14985704,AVERAGE-BANDWIDTH=6811200,CODECS="avc1.4d4033,mp4a.40.2",RESOLUTION=3840x2160,FRAME-RATE=29.970 clip4_2160p30-6M.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=24835374,AVERAGE-BANDWIDTH=11211200,CODECS="avc1.4d4033,mp4a.40.2",RESOLUTION=3840x2160,FRAME-RATE=29.970 clip4_2160p30-10M.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=37147462,AVERAGE-BANDWIDTH=16711200,CODECS="avc1.4d4033,mp4a.40.2",RESOLUTION=3840x2160,FRAME-RATE=29.970 clip4_2160p30-15M.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=49459550,AVERAGE-BANDWIDTH=22211200,CODECS="avc1.640033,mp4a.40.2",RESOLUTION=3840x2160,FRAME-RATE=29.970 clip4_2160p30-20M.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=74013326,AVERAGE-BANDWIDTH=33140800,CODECS="avc1.640033,mp4a.40.2",RESOLUTION=3840x2160,FRAME-RATE=29.970 clip4_2160p30-30M.m3u8
Replies
2
Boosts
0
Views
1.6k
Activity
May ’23
WebRTC Audio Is Not Playing Any Sound on Safari and IOS
I am trying to figure out why there is no audio on my iPhone or iPad, my code is working on other devices. I am on IPad iOS 15.3.1 and I test on my computer using Safari. Video is working, and both the video and audio work on Android, Chrome, etc. This is just an audio problem on iOS. From my WebRTC I have HTML5 Audio Track tracks as such: <audio muted="false" autoplay="1" id="xxxx"></audio> When debugging, I connect my IPad and have run this volume check: document.getElementById('xxx').volume And it returns the value of 1, so the volume is on its loudest (I think according to HTML5 audio tags range from 0, 0.1, 0.2, xxxx 1). document.getElementById('xxx').end The ended returns false. Next I try to run the play() function as such: $('#xxx')[0].play() .then((resp) => { console.log("Success"); console.log(resp) }) .catch(error => {console.log(error)}) And it executes the success response. But there is still no sound. What could be causing this issue on iOS and Safari only?enter code here
Replies
1
Boosts
0
Views
2.3k
Activity
May ’23
HLS EVENT Manifest Safari Player Timeline crash
We have implemented an optimization feature for HLS VOD streaming in the form of an EVENT Manifest. General manifest hour The bottom line is that on the first request, we return the HLS EVENT Manifest within 30 seconds and launch certain processin mechanisms in the background, as soon as everything has ready, on the next requests we return an EVENT Manifest with an EXT-X-ENDLIST tag What does it look like 1st request: #EXTM3U #EXT-X-PLAYLIST-TYPE: EVENT 1.ts 2.ts 3.ts 2nd req (if background completed) #EXTM3U #EXT-X-PLAYLIST-TYPE: EVENT 1.ts 2.ts 3.ts .... .... .... 1000.ts #EXT-X-ENDLIST This approach worked in VLC player and hls.js players but this thing doesn't work in native Safari player It has very strange behavior: Live is shown first in the timeline (which is okay) then, as he has already downloaded the manifest with EXT-X-ENDLIST, it shows the real duration (hour) but literally after 2 seconds it cuts the timeline and leaves only 2 minutes in the timeline by DevTools-> Network, I see that it stops downloading after 8-9 segments And now I would like to know if anyone has encountered such a safari problem and if maybe you need to somehow reconfigure the browser player.
Replies
1
Boosts
0
Views
1.1k
Activity
May ’23
AppleTV HLS player with metrics?
Hello, I am running some simple playback tests. I would like to playback content streamed via HLS manifest on my AppleTV device, ideally with playback metrics. I should be able to use something like the VLC app: https://www.videolan.org/vlc/download-appletv.html (open to suggestions) But as for metrics, im not 100%. Does anyone have experience on this topic? As for the specific metrics, Im just looking for something that I can use to objectively measure different tests. I was thinking anything related to buffer rates, error rates, and percentage of time playing back specific streams.
Replies
0
Boosts
0
Views
828
Activity
May ’23
How to stop AVPlayer to cache/download hls chunks during playback
Hi Team, I am pre-caching first 5 seconds of vidoes to improve start up playback latency. I am using AVAssetDownloadTask(AVAssetDownloadTask | Apple Developer Documentation) for pre-caching first 5 seconds in movpkg container in local. Now during playback of pre-cache vidoe from local file, AVPlayer start downloading remaining video chunks hence completely download video in local which increase space in device. Is there any way to stop AVPlayer to cache/download chunks in local during playback ?
Replies
1
Boosts
0
Views
1.8k
Activity
May ’23
LL-HLS Playback with Safari, ext-x-part tag support
I am trying to playback live content generated using Apple tools setup with Safari Browser, and having difficulty playing back. Here is more information of my Server setup: %tsrecompressor -c -O 224.0.0.50:9121 -L 224.0.0.50:9123 -P 224.0.0.50:9125 %mediastreamsegmenter --part-target-duration-ms=200 -f /usr/local/Cellar/nginx/1.23.4/html/ -t 1 224.0.0.50:9121 -D %cd /usr/local/share/hlstools %go run ll-hls-origin-example.go -dir /usr/local/Cellar/nginx/1.23.4/html -http :443 I am able to playback the content using hls.js demo player and the above Server set-up. I do see a "Failed to load resource: Plug-in handled load" error and don't see any content being played. Any ideas as to how to work around the error? Makes me wonder does Safari support ext-x-part tag at all? Thanks!
Replies
0
Boosts
0
Views
987
Activity
May ’23
On a device version 16.4, the default subtitle for the HLS video player is 'unknown'.
I am testing a video stream (HLS) using the Video.js player. After updating my iPhone's iOS to version 16.4.1, the player's subtitles default to 'unknown', and I am using the 'textTracks' function where 'track.length' is equal to 1. However, in other versions (e.g. 15.X.X), 'track.length' is equal to 2 (English and unknown). I want the subtitles to default to English on my device (version 16.4.1). Thanks in advance for your help! Example link: https://codepen.io/wendyhsiao/pen/wvYqeJx
Replies
0
Boosts
0
Views
626
Activity
Apr ’23