We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Aristide
4 years agoHelpful | Level 7
Incorrect duration of some streamed audio files.
Hello, I have a problem with some audio files. To be able to read them correctly on an audio player (in my case on android) you have to be able to determine the duration. for some files the duratio...
Greg-DB
Dropbox Community Moderator
4 years agoThanks for following up. I can't offer any details on the implementation of the Dropbox Android app itself, but I'll follow up with any updates on the reports you linked to.
Greg-DB
Dropbox Community Moderator
4 years agoUpdate: in order to temporarily accommodate clients that don’t properly support automatically handling “Transfer-Encoding: chunked”, we’re temporarily rolling back this change, so that these links will no longer use “Transfer-Encoding: chunked” and will instead return “Content-Length” on HTTP/1.1. We will begin rolling that out starting around 2/17. That will be in place until around 3/1. At that point, we will begin using “Transfer-Encoding: chunked” and no longer returning “Content-Length” on HTTP/1.1 again.
Going forward, please ensure that your clients are able to automatically handle both chunked encoding and non-chunked encoding automatically.
- Aristide4 years agoHelpful | Level 7
Thanks Greg-DB for the follow up.
But there will therefore be a problem with Android because at this stage, I don't see how it is possible to force the client integrated into the mediaPlayer to handle both chunked encoding and non-chunked encoding automatically, it is not accessible, or so by a method that I do not know.
It is possible to partially circumvent the duration problem by calculating with file size and bitrate (for MP3 files with CBR) but not to circumvent the ability to seek .
Is there a way to get feedback from the developers of the DropBox app for android?
- Greg-DB4 years ago
Dropbox Community Moderator
Thanks for the additional context. I cannot provide support for third party clients unfortunately though, so please refer to the documentation/support resources for the client.
Also, no, I can't offer a way to get help from the developers of the official Dropbox Android app itself.
Apologies I can't be of more help in that regard!
- Greg-DB4 years ago
Dropbox Community Moderator
Update: the team has been able to complete some further updates to our infrastructure to be able to support the previous non-chunked behavior going forward indefinitely. That means that we plan to continue returning Content-Length (and not 'Transfer-Encoding: chunked') in the future and will not be reverting this as previously planned. (Regardless, for HTTP compatibility in general, we still recommend you make sure your HTTP clients support both types.) Hope this helps!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!