Questions tagged [http-content-range]

35 questions
26
votes
2 answers

Chrome issue - video stream & session conflict

I have a problem with the implementation of videos in javascript and PHP. index.php session_start() // do other stuff include ‘video.php’ video.php
akio
  • 851
  • 9
  • 29
13
votes
1 answer

How to serve http partial content with Go?

I have a webserver written in go and I'm serving some audio files from different sources (local, other servers, S3). I want to enable serving partial content for this files so the HTML audio tags are able to seek and loop. How can I achive this? I…
Topo
  • 4,783
  • 9
  • 48
  • 70
7
votes
2 answers

ffmpeg seek calculating wrong byte range?

I'm running into an issue while trying to extract thumbnails from a movie file at a specific timestamp. Generally I've had no issues with this, but I've come across a set of movie files that are getting an error about the byte range requested (416…
user4455
  • 89
  • 1
  • 3
4
votes
1 answer

ERR_CONTENT_LENGTH_MISMATCH when loading video in chrome

So I get this error when some of the video plays. When Chrome completely downloads the video, it stops playing with this error. Also the status of the request changes from 206 to (failed) and then Chrome sends some other requests with…
3
votes
0 answers

Http partial content (206) size increase for Internet Explorer

Our website is serving pdf documents to our clients. The pdfs are 25MB a piece and they are linearized (fast web view). Our site is using jsp pages to deliver the content. In the initial get we include the following headers. The key header is…
Milhous
  • 14,473
  • 16
  • 63
  • 82
3
votes
1 answer

Mixing request origins in

TL;DR When an
3
votes
2 answers

Is using the HTTP Content-Range header appropriate when sending a file in chunks using the POST method?

I am working on an existing Silverlight file uploader that breaks files into multiple chunks and transmits the file using multiple HTTP requests. Currently, it sends the start and total byte information on the querystring, but as learning exercise,…
Daniel Schaffer
  • 56,753
  • 31
  • 116
  • 165
3
votes
0 answers

Content-Range working in Safari but not in Chrome

I'm streaming audio files from a Node.js Express server with Content-Range headers plus no caching headers. This works ok in latest Safari instead, but it does not in Chrome. While when streaming the full audio file with HTTP 200, my headers were {…
loretoparisi
  • 15,724
  • 11
  • 102
  • 146
3
votes
1 answer

C# download file with resume (Content-Range)

Do we have some C# library or class which can download big file by parts and if connection fails resume download? I have tried use some build-in WebClient class by it doesn't support resume downloading. WebClient webClient = new…
Duke
  • 1,844
  • 2
  • 16
  • 26
3
votes
1 answer

Duplicate headers in response / browsers failing intermittently

This problem seems to have started a few days ago without any code changes, my local tomcat server would just stop responding. My main filter breakpoints don't get hit, and only some resources get loaded. The ones that do fail, seems to have…
epoch
  • 16,396
  • 4
  • 43
  • 71
3
votes
1 answer

Serving audio data from a Java servlet for an HTML5 audio control

This may be a Servlets question or an HTML5 question, depending on what the solution turns out to be... :) I've got a (Tomcat) Servlet serving up short clips of audio which are then picked up in an HTML5 audio element. The audio correctly plays, but…
Neil Coffey
  • 21,615
  • 7
  • 62
  • 83
2
votes
1 answer

Microsoft Graph's createUploadSession, Content-Range Header error

I'm trying to use the Microsoft Graph API's createUploadSession endpoint with the JavaScript SDK and attempting to test the upload with a small file that's just over 3MB. Whenever send a PUT request, I receive the following error response: { …
2
votes
0 answers

Rails ActiveStorage audio Content range

It started as a simple use for ActiveStorage, just store some audio files in mp3 format (done easily) and display it on the site: <%= audio_tag url_for(recording.audio_file), controls: true, preload: "none" %> I tested on Chrome and Firefox and it…
2
votes
0 answers

How do I stream a video of initially unknown size to the HTML5 video tag?

I am attempting to write a web service (using C# and WebAPI, thought the actual server technology likely isn't important) that hosts dynamic video files for consumption by a basic HTML5 video element. Here is my situation and my requirements: The…
2
votes
3 answers

OneDrive API Node.js - Can´t use :/createUploadSession Content-Range Error

My problem was that I couldn´t upload files bigger than 4MB so I used the createuploadsession according to createuploadsession I successfully get the uploadUrl value from the createuploadsession response. Now I try to make a PUT request with this…
t33n
  • 270
  • 1
  • 3
  • 17
1
2 3