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

How to get metadata from Amazon Kinesis Video Streams via Video.js and http-streaming?

Now, I am working on client-side of Amazon Kinesis Video Streams, using video.js and http-streaming to display video. However, on stream server there are some metadata (text only) for each fragment (as this link:…
huynhtuanh
  • 327
  • 1
  • 5
  • 17
0
votes
1 answer

EventSource addEventListener callback method is not called when event comes from Django server

EventSource addEventListener callback is not called when event comes Settings: Django 2.0.7 Chrome 67.0.3396.99 MacOSX 10.13.6 (17G65) Source code: In my chat.html:
0
votes
1 answer

Cannot catch HttpWebRequest exception when streaming file to MVC controller

I have an MVC controller action to which I am posting a file stream: - public ActionResult Upload() { try { HttpPostedFileBase files = Request.Files[0]; Stream fileStream = files.InputStream; String url =…
Meeple
  • 156
  • 4
0
votes
0 answers

WCF REST Failed Network Error when writing directly to HttpResponse

I am creating a WCF REST webservice that will be used to download large files (potentially more than 2GB). The files are csv files that are not stored on a hard drive, instead they are formed in runtime when the request is made. Because of that I…
Mykhailo Seniutovych
  • 3,527
  • 4
  • 28
  • 50
0
votes
1 answer

java parsing json messages in http stream

import aiohttp import requests listen_url = "https://somehttpstreamingurl" headers = {"User-Agent": "stream client"} async def async_listen(): with aiohttp.ClientSession() as session: async with await session.get(url=listen_url,…
TMJnoob
  • 13
  • 3
0
votes
1 answer

Stream File to Chome Broken, Firefox Working

I wrote an ASP.Net web page that will take a QueryString and stream a file to the client. The file is stored in a SQL Server database. Everything works great when I'm running the web site locally during development. When I run it in production from…
cjbarth
  • 4,189
  • 6
  • 43
  • 62
0
votes
1 answer

Odata naming file return error message of the

I have this custom Odata function to download pdf from download pdf database. I have some issues 1.with Pdf name does not name "reportname.pdf" it is named response.pdf as 2.return error message of reportBinary is null [HttpGet] …
NinjaDeveloper
  • 1,620
  • 3
  • 19
  • 51
0
votes
0 answers

Docker swarm - docker.sock slowdown

I have a docker swarm where I deploy 3 copies of my microservice. The job of the microservice is to let a client download files. I am currently testing with large files of up to 3GB in size and multiple such downloads in parallel. I am on…
0
votes
1 answer

Mixed Video Type Content queued in an AVQueuePlayer on iPhone

I'd like to start of by apologizing for this ridiculously long post, but I tried to provide as much code and data as possible for you to refer to. I am working on a video project where I will need the flexibility of the AVQueuePlayer (foremost the…
jollyCocoa
  • 691
  • 7
  • 20
0
votes
0 answers

Make Server Stream Videos Faster

I have a video on demand platform hosted in a server with 1GB Bandwidth / 11GB RAM / 4 CPU Cores. I'm reaching now 10.000 users/day and the stream start being slow. I'm using nodeJS on server-side with send module for streaming. I want to provide…
0
votes
0 answers

Memory churn when using WebSocket fallback (HTTP streaming using XMLHttpRequest)

In a WebSocket fallback using HTTP streaming I can see that XmlHttpRequest#responseText is invoked each time the readystate changes (and is >= 3). The WHATWG living standard says that the text response is ...the result of running decode on received…
Ben Aston
  • 53,718
  • 65
  • 205
  • 331
0
votes
0 answers

Get HTTP server-push data stream

An external application provides me data with HTTP server-push. I call the API function and then I'm constantly receiving event notifications. API send me XML data stream like below: HTTP/1.1 200 OK MIME-Version: 1.0 Content-Type: multipart/mixed;…
smontoya
  • 91
  • 10
0
votes
0 answers

android - mediaplayer not sending range headers

I have an android app which uses the MediaPlayer. I want to stream wav PCM audio to the app, so I am using MediaPlayer. My problem is that the MediaPlayer does not send the Range header so the server returns the whole file instead of small parts of…
barisdad
  • 515
  • 7
  • 19
0
votes
1 answer

Can http send a streamed response without it being a "Range" response/request?

Can an http server respond with data bit by bit - without it being in response to a "Range" request? For example, say I want to continually stream text data back to a client - an almost never ending http stream of textual data, which is received by…
Brad Parks
  • 66,836
  • 64
  • 257
  • 336
0
votes
0 answers

python-requests iter_content implementation using pycurl

I want to replace requests with pycurl in my existing code base. Is it possible to write interface similar to that of requests? In particular I am looking for a drop in replacement for requests .iter_content() method.
Amit
  • 712
  • 2
  • 13
  • 26