简体   繁体   中英

How to use 'Dropbox API' for streaming video in android?

I want to make application that can streaming video from dropbox server.

so I use coreAPI and refered documents, tutorial but can't find example about streaming video. only find download picture, upload picture...

So I have no idea that how to start this project! TT What I only understand is how to get authentication, but doesn't know how to access my uploaded video, and download or streaming play.

Should I make mediaplayer class? surfaceView?

Is there some example about this?

I really desire want to get some solution.

Just create a media link. See the Core HTTP docs: https://www.dropbox.com/developers/core/docs#media .

Here's the Android call: https://www.dropbox.com/static/developers/dropbox-android-sdk-1.6-docs/com/dropbox/client2/DropboxAPI.html#media(java.lang.String , boolean).

That will give you back a temporary URL to the file, which you should be able to pass to whatever video player element you use.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM