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

ColdFusion and Streaming APIs... (i.e. Twitter)

Has anyone had any luck using ColdFusion as a way to collect data via streaming APIs? i.e. - https://dev.twitter.com/docs/streaming-api I know the best option is to use an app that literally sits on the server monitoring these portals. Just…
TheJason
  • 494
  • 6
  • 18
3
votes
1 answer

HTTP streaming on Heroku (upload lots of data)

I have one app hosted on Heroku and this app saving lots of data information to database (it takes about 70 seconds). Heroku after 30 seconds period of every request display the error page H12 about timeout, how could I display some info-message…
user984621
  • 46,344
  • 73
  • 224
  • 412
3
votes
0 answers

Currently I have VLC media player streaming a video file out through http on port 8082. I have a webserver running a page with the below code: Test
3
votes
1 answer

EventMachine/em-http-request Detect when http stream connection is stalled

I'm using EventMachine + em-http-request to request Twitter streaming API. It works perfectly, but now I would like to get it error proof. What would be the best way to detect that the connection is stalled? (in order to try an auto-reconnect). I…
Chris
  • 2,744
  • 3
  • 24
  • 39
3
votes
2 answers

PHP consuming JSON stream

I have a client/server app in which the client sends objects in the form of JSON to the server which runs a PHP script and then places this data into a database. The problem is that decoding is done with the json_decode function which seems to work…
bluphoenix
  • 338
  • 2
  • 6
  • 12
3
votes
1 answer

Debugging Memory Leak, PHP and MySQL Blob Streaming File Download

using MAMP v2.0 on Mac __ Apache/2.0.64 (Unix) -- PHP/5.3.5 -- DAV/2 mod_ssl/2.0.64 -- OpenSSL/0.9.7l -- MySQL 5.5.9 I have a script I am trying to run and It appears to be giving me major memory leaks, which I have attempted to debug and cannot…
Quantico773
  • 253
  • 1
  • 2
  • 7
3
votes
1 answer

streaming views in ruby on rails 3.1

I am new to rails, and ruby for that matter. I have built up a rails app based on ruby 1.9.2 and rails 3.1 I have run into an issue, probably with my understanding of the streaming implementation in rails. It seems to me that before rails will…
3
votes
0 answers

Android Record raw bytes into WAVE file for Http Streaming

So I am using AudioRecord from Android to record raw bytes and for writing them into a .wav file. Since Android has no support for this I had to write the .wav file headers manually with the following code: …
Ovidiu Latcu
  • 71,607
  • 15
  • 76
  • 84
3
votes
1 answer

Is http stream actually implemented by http chunk?

At first, I thought http stream is actually implemented http chunk. So I did a test to learn. Here is a django view def test_stream(request): return StreamingHttpResponse(func) func return iterable Here is the output using curl to access the…
Kramer Li
  • 2,284
  • 5
  • 27
  • 55
3
votes
1 answer

Use Fetch Streams API to consume chunked data asynchronously without using recursion

I'm using the JavaScript fetch streams API to consume chunked JSON asynchronously like in this answer. My application may be receiving up to 25 small JSON objects per second (one for each frame in a video) over the span of an hour. When the incoming…
QA Collective
  • 2,222
  • 21
  • 34
3
votes
1 answer

Official standard document for HTTP Streaming specification

Is there any official standard for HTTP Streaming? IIS Smooth Streaming refers to a technical overview document here: http://learn.iis.net/page.aspx/626/smooth-streaming-technical-overview/ Apples has a proposal for HTTP Live Streaming…
Samuel Neff
  • 73,278
  • 17
  • 138
  • 182
3
votes
1 answer

Scala read continuous http stream

How can I connect to and read a continuous (chunked) http stream in scala? For example, if I have this simple service written in python/bottle: from gevent import monkey; monkey.patch_all() import gevent from bottle import route,…
Caballero
  • 11,546
  • 22
  • 103
  • 163
3
votes
1 answer

Establish a WebSocket connection in HTTP server (Sinatra Stream) in Ruby

I write a HTTP server (A) using Sinatra::Streaming (I use Ruby). It needs to read data from a WebSocket server (B) and forward it to a client (C). The data flow is "B-->A-->C". The read and write operations should be in real time. As a possible…
Hangchen Yu
  • 325
  • 3
  • 12
3
votes
1 answer

How to optimize the FFMPEG h264/aac conversion while generating HLS segments too

I am generating HLS segments using FFMPEG. Here is the command that I am using : ffmpeg -i "rtmp://localhost/oflaDemo/33/hlsopt3 live=1" -y -c:v libx264 -b:v 1000k -vprofile baseline -preset medium -x264opts level=41 -threads 4 -s 480x360 -map 0:v…
Arjun Thakur
  • 635
  • 8
  • 21
3
votes
0 answers

How to build a java client to read streaming response from JAX RS based REST service?

I'm building a REST service using JAX RS StreamingOutput to stream chunks of data as soon as they become available. Now the problem is on my java client calling this service. What's the best way to make it works in a event driven model - as soon…