Questions tagged [http-streaming]

HTTP server push (also known as HTTP streaming) is a mechanism for sending data from a web server to a web browser.

HTTP server push (also known as HTTP streaming) is a mechanism for sending data from a web server to a web browser.

More details at Wikipedia page on Push Technology

232 questions
8
votes
1 answer

I need to upload lot of files (up to 100) to server using AFNetworking in a single streaming request that can provide me upload progress

There are couple of challenges I am facing with streaming request using AFNetworking 2.0. I want to upload lot of files (~50MB) to server and the request HAVE TO BE STREAMING. (otherwise app will crash due to memory pressure) I have tried various…
7
votes
1 answer

Node.js HTTP Get stream freezes inside docker container

I have following code written in nodejs using http module. It's basically listens to event stream (so the connection is permanent). http.get(EVENT_STREAM_ADDRESS, res => { res.on('data', (buf) => { const str = Buffer.from(buf).toString(); …
JJ23
  • 111
  • 8
7
votes
2 answers

How to play audio from an http data stream in swift

I have an audio data stream coming in from a http response. I receive packets of bytes using the URLSessionDataDelegate method: urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) I have successfully played the…
Peza
  • 1,347
  • 1
  • 11
  • 23
6
votes
4 answers

em-http stream with basic auth and gzip hangs

I'm attempting to consume the Gnip PowerTrack API which requires me to connect to an HTTPS stream of JSON with basic auth. I feel like this should be fairly trivial so I'm hoping some rubyist who is smarter than me can point out my obvious…
Eric Wendelin
  • 43,147
  • 9
  • 68
  • 92
6
votes
1 answer

Flash HTTP Streaming - Multiple Files

With Flash 10.1+ and the ability to use appendBytes on a NetStream, its possible to use HTTP streaming in Flash for video delivery. But it seems that the delivery method requires the segments to be stored in a single file on disk, which can only be…
sixones
  • 1,953
  • 4
  • 21
  • 25
6
votes
4 answers

http adaptive streaming

Is there any open source streaming solution supports Http Adaptive Streaming? Based on my research VLC is not supporting adaptive streaming. I am not sure about Darwin Streaming Server. Any ideas?
Ananth Duari
  • 2,859
  • 11
  • 35
  • 42
6
votes
2 answers

Rails 3.1.1 HTTP streaming with Apache + Passenger

In the Railscasts about HTTP streaming some commenters have confirmed that one can do http streaming with Apache + Passenger but strangely I can't find any instructions via Google. Also the Rails doc did not provide any instructions. All detailed…
allesklar
  • 9,506
  • 6
  • 36
  • 53
6
votes
3 answers

Rails 3.1 http streaming -- js in head or bottom of body?

In Rails 3.1 there's the option to enable HTTP streaming so that your page can be brought down in chunks. In the Railscast on this feature, Ryan recommended that it would be a good idea to enable this so that your CSS and JavaScript can be pulled…
Paul
  • 4,422
  • 5
  • 29
  • 55
6
votes
1 answer

Consuming chunked data asyncrhonously in javascript

I have a (GET) endpoint that sends data in chunks (Transfer-Encoding: chunked). The data is JSON encoded and sent line by line. Is there a way to consume the data sent by this endpoint in an asynchronous manner in JavaScript (or using some…
Damian Nadales
  • 4,907
  • 1
  • 21
  • 34
6
votes
3 answers

Private HTTP Live Streaming via CloudFront

I am working on an iOS app which allows downloading and HTTP live streaming of private videos. The videos are stored in an Amazon S3 bucket (as mp4 and segmented as m3u8/ts files). Also CloudFront is turned on and connected to the bucket. Since the…
6
votes
1 answer

switch between video streaming

I am struggling with switching between multiple live streams. For example, I have five live streaming servers streaming(HTTP or RTSP) and I want to put some broker between those (five) streaming sources and destination so that output to the…
5
votes
1 answer

EventMachine and Twitter streaming API

I am running an EventMachine process using the Twitter streaming API. I always have an issue if the content of the stream is not frequently. Here is the minimal version of the script: require 'rubygems' require 'eventmachine' require…
tomsoft
  • 4,448
  • 5
  • 28
  • 35
5
votes
3 answers

Alternative Server Push/ Comet implementation for Android browser without sending 4KB messages?

I am developing a web application that uses Comet Hidden iFrame technique to push data from server to mobile browser. Everything works fine on Mobile Safari but Android is a lot more painful. It seems to require 4 KB messages to be sent from the…
seb
  • 425
  • 5
  • 16
5
votes
1 answer

HTTP streaming in rails not working when using Rack::Deflater

I've setup unicorn in rails 3.1 and http streaming works until I enable Rack::Deflater. I've tried both with and without use Rack::Chunked. In curl I can see my response while in chrome I get the following errror: ERR_INVALID_CHUNKED_ENCODING The…
Baversjo
  • 3,656
  • 3
  • 34
  • 47
5
votes
1 answer

Ktor response streaming

I am trying to call a twitter endpoint that gives you a constant streams of json results back to the client https://documenter.getpostman.com/view/9956214/T1LMiT5U#977c147d-0462-4553-adfa-d7a1fe59c3ec I try to make a call to the endpoint like this …
tyczj
  • 71,600
  • 54
  • 194
  • 296
1
2
3
15 16