Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
iggypop
10 months agoNew member | Level 2
Slow playback when streaming with AVPlayer
We’re building an iOS App that streams mp4 video files from DropBox. We use SDK’s getTemporaryLink method and feed the returned URL to AVPlayer(url: …). The streaming doesn’t start until after a few seconds/minutes depending on the size of the file. Same issue when opening this link in a regular Safari tab. When opening the file directly in Dropbox website the video plays fine.
17 Replies
Replies have been turned off for this discussion
- DB-Des10 months ago
Dropbox Community Moderator
Hi iggypop,
There are several factors that could affect playback speed on external platforms. Since playback speed on external platforms is beyond our control, we recommend checking:
- Network connection issues (bandwidth limitations, ISP throttling, congestion, etc.)
- Platform-specific playback optimizations or limitations
- Browser or device performance
- Resolution and file size impacting buffering times
You may want to try testing playback on different networks, clearing your browser cache, or lowering the resolution settings on the platform you're using.
- iggypop10 months agoNew member | Level 2
Hello
thank you for you answer! We are accessing the video from an own OS app. If we access the same video through the official dropbox app, then it runs fine. What do we need to consider? Can we somehow affect the playback quality (eg just 480p)? Many thanks
- DB-Des10 months ago
Dropbox Community Moderator
iggypop, as previously mentioned, it’s important to note that the official Dropbox app may use different mechanisms and infrastructure for various pieces of functionality compared to other platforms. As such, comparing the behavior between these platforms may not always provide an accurate or reliable source of truth.
That said, besides the previously suggested troubleshooting steps, you could always reach out to the other platforms' support teams for further guidance on optimizing performance.
- iggypop10 months agoNew member | Level 2
Hello
thank you for your answer!
What do you mean with „you could always reach out to the other platforms' support teams for further guidance on optimizing performance“? Our iOS App is not really able to play most of videos with acceptable quality, however the official dropbox app is. Therefore we need some kind of guidance to solve this problem.
- DB-Des10 months ago
Dropbox Community Moderator
Since video playback is working as expected on our platform, the issue may be related to the iOS app's implementation. We recommend further troubleshooting on your end, as we are not iOS developers and cannot provide specific guidance for Apple development.
The only other thing we can suggest from our end is making edits to the shared links, as described in: https://help.dropbox.com/share/force-download
Additionally, you may want to check factors such as:
- How the video is being loaded and played within your app
- Any platform-specific restrictions or optimizations in iOS
- Network conditions or caching behaviors affecting playback
If needed, consulting Apple’s developer documentation or seeking guidance from iOS development resources may be helpful.
- iggypop9 months agoNew member | Level 2
The problem is not only in the app but also in Safari when opening the links obtained with getTemporaryLink. rlkey=YYY&st=dop7lgeglong time to load.
https://XXXXX.dl.dropboxusercontent.com/cd/0/get/ZZZZZZZZZZZ/file
When we use links obtained through the usual sharing mechanism and add “raw=1” to them they display the same behavior. Video loads slowlyhttps://www.dropbox.com/scl/fi/XXXX/ZZZ.MP4?rlkey=YYY&st=dop7lgeg&dl=0&raw=1
- iggypop9 months agoNew member | Level 2
eg we used this link, but it is slow....
https://www.dropbox.com/scl/fi/3kv1n4r0d9odx4gtbornr/GX010667.MP4?rlkey=ufmmjtu9c49ah0c7pvogc8d92&st=dop7lgeg&dl=0&raw=1
(VLC takes long time to load as well)
- DB-Des9 months ago
Dropbox Community Moderator
I tested the link you provided across multiple environments, including Chrome, Safari (both regular and private browsing), VLC, a test iOS app, and a test React web app, but I wasn’t able to replicate the loading issue you described. The video played without any delays in my testing.
One thing I noticed—although it doesn’t appear to make a difference—is that you’re adding both dl=0 and raw=1 to the shared URL when it should be one or the other.
- iggypop9 months agoNew member | Level 2
Please test this
https://uc50d65f08fef20931cddc0fc937.dl.dropboxusercontent.com/cd/0/get/Clt6g4ydXcBg9C3W7b0Y82en3P3vx7e0r-oMcikRgCLnKx3pzS65GXUmED6pYZXFR5ji7gHIjzXSqKWad45aRGLw8xKWFtkxoyjCPDzhOrmrpBI-6hyENDti8QzxutZo_-OFOAf7XUdee47LsibUD-dwrtn3CnoxIh4PIEIN6TNBZg/file
- DB-Des9 months ago
Dropbox Community Moderator
Hi iggypop, looks like the link has expired.
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!