Questions tagged [http-live-streaming]

HTTP Live Streaming is a method of media streaming that consists of downloading segments of a mpeg2ts file, containing video (H.264) and/or audio (AAC or MP3). The specification was introduced by Apple and is widely used in iOS.

HTTP Live Streaming is a way to send audio and video over HTTP from a web server to client software on the desktop or to iOS-based devices.

HTTP Live Streaming sends audio and video as a series of small files, typically of about 10 seconds duration, called media segment files. An index file, or playlist, gives the clients the URLs of the media segment files. The playlist can be periodically refreshed to accomodate live broadcasts, where media segment files are constantly being produced.

References:

2691 questions
14
votes
5 answers

Android HLS video mime type

I would like to fire an Intent to play a HLS (HTTP Live Stream) video. What should I put in the type field to fire just the video players that support HLS? I tried unsuccessfully the following:…
14
votes
2 answers

Http Live Streaming with the Apache web server

Is it possible to do HLS with an Apache web server? Would it be enough to "put here the playlist with data chunks"? Is it that simple? Or is there some module, which can be used for that purpose? Thanks a lot for the reply
STeN
  • 6,262
  • 22
  • 80
  • 125
14
votes
1 answer

NGINX open() failed (20: Not a directory) hls vod with secure link module

I have a problem with nginx config for hls streaming. I use kaltura nginx vod module and try to add ngx_http_secure_link_module to protect the stream. The strange thing is I have 404 error if I enable ngx_http_secure_link_module (logs below). I…
Klimbo
  • 1,308
  • 3
  • 15
  • 34
14
votes
2 answers

Play audio file stream using HTTP Live Streaming on iOS client without losing UI to Quick Time

I have a HTTP Live streaming server setup that serves segmented mp3 audio content (the URL points to playlist.m3u8 index file). I need to build an iOS client application to consume this audio stream without using any standard Apple controls/UI. It…
bhavinb
  • 3,278
  • 2
  • 28
  • 26
14
votes
3 answers

How to get the accurate time position of a live streaming in avplayer

I'm using AVPlayer to play a live streaming. This stream supports one hour catch-up which means user can seek to one hour ago and play. But I have one question how do I know the accurate position that the player is playing. I need to display current…
RayChen
  • 1,417
  • 2
  • 17
  • 36
14
votes
1 answer

How can I find out the current TS segment during a HLS(m3u8) playback in iOS?

An HLS (m3u8) file references mpeg-ts files. During its playback in iOS' AVPlayer, how can i determine the currently playing mpeg-ts URI?
tommy chheng
  • 9,108
  • 9
  • 55
  • 72
13
votes
3 answers

Live Video Chat for iPhone and HTTP Live Streaming

So generally, I want to make an app which has video chat functionality for iPhone. But after many searches, I am still not able to find any successful results. Is there any public or even for that matter, private API available for doing this on…
mayuur
  • 4,736
  • 4
  • 30
  • 65
13
votes
3 answers

dyld not found AVAssetDownladTask

Trying to add offline HLS (a new ios 10 feature) to an app. I'm trying the following in swift in order for the app to still function on ios 9 without the offline HLS Functionality. Works fine on ios10 and compiles for ios9 too. @available(iOS…
NickDK
  • 999
  • 10
  • 24
13
votes
0 answers

Android Exoplayer unsupported profile 4 for video/mp4-es

This is a strange issue. When a video is transcoding a mpeg2 recording to HLS on the backend, it plays fine in the Exoplayer Demo player. However, once that has HLS transcode is complete, the video can no longer be played. Here is the error in the…
dmfrey
  • 1,230
  • 1
  • 17
  • 33
13
votes
4 answers

Using openssl encryption for Apple's HTTP Live Streaming

Has anyone had any luck getting encrypted streaming to work with Apple's HTTP Live Streaming using openssl? It seems I'm almost there but my video doesn't play but I don't get any errors in Safari either (like "Video is unplayable" or "You don't…
Rob
  • 231
  • 1
  • 2
  • 9
13
votes
4 answers

How to create byte-range m3u8 playlist for HLS?

Apple gives an example of support for byte-range segments in m3u8 files for…
biomancer
  • 1,284
  • 1
  • 9
  • 20
13
votes
1 answer

HTTP Live Streaming detection on mobiles

I want to detect if a mobile phone/tablet can play HTTP Live Streaming (m3u8). I'm currently testing with this script: function isHLSEnabled() { var videoElement = document.createElement('video'), canPlayAppMpeg =…
JoeyKozinsky
  • 131
  • 3
12
votes
2 answers

How to enable LHLS in FFMPEG 4.1?

I am trying to create a low latency CMAF video stream using FFMPEG. To do so, I would like to enable the lhls option in FFMPEG in order to have the #EXT-X-PREFETCH tag written in the HLS manifest. From the FFMPEG doc…
mehdi.r
  • 386
  • 1
  • 4
  • 20
12
votes
2 answers

Why exactly doesn't HTML5 Media Source video work on IOS?

It seems both (HLS and MPEG-DASH) use the same the Media Source Extension API. So why does HLS video only work on IOS. Why doesn't MPEG-DASH work on IOS? What is the core difference making this…
aman
  • 307
  • 21
  • 48
12
votes
3 answers

Extracting ID3 tags from MP3 over HTTP Live Streaming

I've been having quite a difficult time extracting ID3 information from an MP3 being streamed over Live HTTP Streaming (using the Wowza media server, if anyone is curious). I know that the tags (right now the album tag and the album artwork tag) are…
Marc W
  • 19,083
  • 4
  • 59
  • 71