Questions tagged [multipart-mixed-replace]

Questions in the context of the multipart/x-mixed-replace Mime type which allows to push e.g. image content from a server. This way the images behave as if they were videos.

Links

34 questions
9
votes
2 answers

Using Twisted's twisted.web classes, how do I flush my outgoing buffers?

I've made a simple http server using Twisted, which sends the Content-Type: multipart/x-mixed-replace header. I'm using this to test an http client which I want to set up to accept a long-term stream. The problem that has arisen is that my client…
Hans Sjunnesson
  • 21,745
  • 17
  • 54
  • 63
8
votes
2 answers

Extracting other data from an mjpeg stream via http

I'm getting an mjpeg stream via http and viewing it using the tag. Pretty standard and no problem there, everything is streaming correctly. However, along with the encoded jpg data there's a UTC timestamp in the http response that I'd like to…
EMH
  • 81
  • 4
6
votes
3 answers

Save JPEG images from HTTP multipart/x-mixed-replace keep-alive stream to ubuntu server

I have a camera which sends JPEG images to a webserver through a continuous multipart http stream. When I visit the IP address of the stream, the browser reads this stream as a series of images which mimics a video. I am wanting to download the…
4
votes
1 answer

Making HTTP request and receiving multipart/x-mixed-replace response in Node.js

I need to make a HTTP GET request to foreign server to start receiving events. After request I immediately get multipart/x-mixed-replace response. When an event occurs, it's sent as XML message together with boundary indicating the end of this part.…
Forseti
  • 2,587
  • 6
  • 21
  • 32
4
votes
3 answers

Does multipart/x-mixed-replace wait for client requests?

I'm trying to figure out if it's possible to slow down the server when it's sending multipart/xmixed-replace responses. I want my client to try to rate limit a motion jpeg stream. I've found a lot of documentation about what the server sends in an…
Adam
  • 335
  • 6
  • 17
4
votes
2 answers

Using multipart/x-mixed-replace with XMLHttpRequest

Multipart/x-mixed-replace is a MIME-type for content with multiple parts, each replacing the previous part. This can be used to implement server push / reverse ajax / comet, and apparently should work at least in Firefox. To test this out, I have…
Bemmu
  • 17,849
  • 16
  • 76
  • 93
4
votes
1 answer

Live video stream player for HTTP streaming server

I have a video streaming server that provides an HTTP API for live video streams. A stream is sent as multipart/x-mixed-replace so each video frame is delimited with a certain boundary string like --DigifortBoundary for instance. Also each frame…
Célio
  • 563
  • 7
  • 16
3
votes
2 answers

Twisted: notify client when server-side process completes

I'm using Twisted to write a web server. One of the tasks that this server performs takes a long time (~5 minutes). I would like to be able to efficiently notify the client that this task has completed. I have looked into using Comet/long polling,…
3
votes
1 answer

video stream issue with multipart/x-mixed-replace content-type

Good day, I use an esp8266 module as server, with a camera module to stream jpeg images continuously through wifi. I want to have streaming video , text, and buttons all in the same browser window simultaneously . So I created the webpage in HTML…
Sparky
  • 141
  • 1
  • 1
  • 6
3
votes
5 answers

streaming binary data over http

I am looking into streaming binary data into a browser (through http). I am looking for opinions as to good ways to go about doing this. Ultimately I will have a real time data source and I would like to manipulate this data and display it (in…
Jeffrey Martinez
  • 4,384
  • 2
  • 31
  • 36
3
votes
2 answers

Making a HTTP server response with boundary delimiters

Using Poco, I'm trying to emulate an AXIS camera web-server, that sends jpeg frames on clients request. Each web response should be encoded with Content-Type: multipart/x-mixed-replace and a predefined boundary. How can I do it with Poco? Thanks.
Cesar Ortiz
  • 884
  • 1
  • 8
  • 25
3
votes
1 answer

Android Phone as Realtime MJPEG Video Server

I'm trying to use my phone as a realtime MJPEG video source. So far, capturing frames and converting them into JPEGs is no big deal. My real issue is sending the multipart response properly. There's tons of documentation about sending multipart…
mercurytw
  • 93
  • 1
  • 8
3
votes
1 answer

In which browsers is Content-Type: Multipart/X-Mixed-Replace supported?

Please could somebody list the browsers and versions for which the Content-Type: Multipart/X-Mixed-Replace is supported for creating an application based on comet principles. I have read conflicting accounts of its support in Chrome and Internet…
Jasdeep Khalsa
  • 6,740
  • 8
  • 38
  • 58
2
votes
4 answers

Sending RGB image data from Python numpy to a browser HTML page

I need to send realtime image RGB data (in Numpy format) to a HTML page in a browser (web-based GUI), through HTTP. The following code works with the well-known multipart/x-mixed-replace trick: run this and access http://127.0.0.1:5000/video_feed:…
Basj
  • 41,386
  • 99
  • 383
  • 673
2
votes
0 answers

How to parse/download multiple files using spring boot post web service in angular 10

For consuming single file data return by the rest API, I have written below code in Angular, this._httpClient.post(getUrl,this.sampleGenerateRequestBody, {responseType: 'blob' }) .subscribe((response: Blob) => { fileSaver.saveAs(response,…
1
2 3