One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
mac m.6
9 years agoExplorer | Level 4
media link for streaming, in .net, on api 2?
I'm writing an app to play media file streamed off dropbox. I'm using the official .Net SDK, and API v2. I'm generating my media link using client.Sharing in the SDK, but the file doesn't seem to stream. Looking at my network console in Firefox, I can see the stream seems to be hanging.
After doing some reading, it seems I'm supposed to be using .Media instead of .Share, but there's no media in the official SDK. Will I have to revert to an API v1 SDK to get this to work? Do I even need media, or is share good enough for streaming?
Thanks
- Greg-DB
Dropbox Staff
The shared links you can retrieve using the SDK in the Sharing namespace, e.g., CreateSharedLinkWithSettingsAsync, are meant for sharing links to others users. These links don't return the file content directly.
If you just need to stream data to a media player, you should instead use GetTemporaryLinkAsync. That will give you a direct link to the file content you can use to stream the file in your media player.
- mac m.6Explorer | Level 4
Thanks Gregory, GetTemporaryLinkAsync was exactly what I needed!
- RodresNew member | Level 2
Hi, I'm not sure if this method is correct because I can't find it, I'm looking for an HTTP Live Streaming link to adaptive media player
- Greg-DB
Dropbox Staff
Rodres It looks like you also opened a new thread for this, so I'll follow up there:
https://www.dropboxforum.com/t5/API-support/Video-Streaming/m-p/270868#M16002
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,941 PostsLatest Activity: 2 hours ago
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 or Facebook.
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!