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
10
votes
2 answers

Reduce HLS latency from +30 seconds

Ubuntu 12.04 nginx 1.2.4 avconv -version avconv version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers built on Feb 6 2014 20:56:59 with gcc 4.6.3 avconv 0.8.10-4:0.8.10-0ubuntu0.12.04.1 libavutil 51. 22. 2 /…
Rick
  • 563
  • 3
  • 6
  • 24
10
votes
1 answer

How to send the video captured from iPhone's camera to a server for live streaming?

I have got some code online which captures video from the camera of iPhone and then stores it to a video file and it is working fine. But my purpose is not to save it in the memory, but to send it to a sever. I have found out that there is a free…
MK Singh
  • 706
  • 1
  • 13
  • 36
10
votes
1 answer

AVPlayer fails to send a cookie for the same domain after 302 redirect

I am using iOS AVPlayer to play a HLS stream. In the beginning of the HLS session, when I receive index.m3u8 URL in response to create AVPlayerItem, the response also sets a cookie which is required for session based auth. Say this cookie name is…
indiantroy
  • 1,503
  • 1
  • 15
  • 25
10
votes
1 answer

HTTP live streaming server on iPhone

I am trying to run a HTTP live streaming server on iPhone, which captures the video stream from the camera and feed it to the HTML5 client (which supports HTTP Live Streaming). So far, I've got following working. HTTP Live streaming server on iOS…
10
votes
2 answers

VideoView triggers OnPreparedListener too early for HLS

I want to show user some ProgressDialog while he waits for VideoView to start play HLS. I try to use OnPreparedListener for this, but he triggers to early (after player downloaded m3u8 file, not when video started). VideoView player = (VideoView)…
Michael
  • 4,635
  • 7
  • 25
  • 33
10
votes
0 answers

HTTP Live Streaming duration less than 10 seconds allowed?

We're trying to do low latency video on iOS while complying with Apple's HLS guidelines for video over cellular. From a technical perspective we can set our EXT-X-TARGETDURATION: to N seconds where N is less than 10 (think 2 or 3 seconds).…
Robert
  • 101
  • 5
10
votes
1 answer

How to switch among alternate audio streams using AVPlayer

I have a test application that uses AVPlayer to play video specified by an m3u8 HLS playlist. The playlist specifies several alternate audio streams, similar to the "Listing 10" sample playlist provided by Apple found here: …
Marc Zehngut
  • 157
  • 1
  • 6
9
votes
1 answer

Parse and Play a .pls file in Android

can anybody help me how to parse and play this .pls file in android [playlist] NumberOfEntries=1 File1=http://stream.radiosai.net:8002/
user1048958
  • 371
  • 2
  • 5
  • 18
9
votes
3 answers

Displaying AVPlayer content on two views simultaneously

I am creating an HTTP Live Streaming Client for Mac that will control video playback on a large screen. My goal is to have a control UI on the main screen, and full screen video on the secondary screen. Using AVFoundation, I have successfully been…
kcharwood
  • 2,501
  • 19
  • 22
9
votes
0 answers

Embed custom meta-data (bounding boxes) into HLS video stream

I'd like to embed bounding boxes, labels, etc. into live video stream to optionally draw them thereafter on the client-side in web-browser and looking for a way how to do. Could you please give me a hint how to insert the meta-data "on fly" and…
9
votes
2 answers

Stream AWS S3 HLS Videos in iOS Browsers

How can I stream HLS(.m3u8) in iOS Safari Browsers? My videos are stored in AWS S3 Bucket and the only way to access the video and audio .m3u8 is to pass a signed URL. I am using videojs to stream videos. videojs.Hls.xhr.beforeRequest is not…
monkeydluffy
  • 229
  • 1
  • 7
  • 22
9
votes
2 answers

HTTP Live Streaming with audio files of varying lengths

I am trying to stream audio to iOS and Safari clients using Apple's HTTP Live Streaming protocol. Unlike many common implementations of HTTP Live Streaming, my goal is to use short audio clips that by nature are of varying lengths, mostly in the…
pix0r
  • 31,139
  • 18
  • 86
  • 102
9
votes
0 answers

How FFmpeg multi-threaded download ts segment in m3u8 file?

I am using ffmpeg to download the ts in the m3u8 file and merge them into an mp4 file,Use the following command line: ffmpeg -i -c copy target.mp4 Although it can work, but I found the download speed is very slow, bandwidth…
xichun lin
  • 99
  • 1
  • 3
9
votes
2 answers

HLS Metadata ID3 tag not working

I have a list of audio URLs in a TableView, so every time I tapped on each cell on didSelectRowAt this method will be called func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { // Prepare Audio URL let audioUrl =…
Lawrence Gimenez
  • 2,662
  • 4
  • 34
  • 52
9
votes
5 answers

Play HLS with HTML5

So i'm trying to play HLS streams on HTML5 without using Flash. We've tried many video players but they all relay on a flash player. My question, is it possible to play HLS streams (any) on HTML5 without using Flash? (I know of the…
Dallox
  • 487
  • 5
  • 8
  • 19