You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As wished in owncloud/android#592, is there a streaming API that can be used from within the android app?
My idea would be to pass the generated url to an app that can stream, e.g. vlc?
I have searched, but could not find a valid issue or answer to my question.
Isn't video streaming to be implemented using http range requests?
In this case getting a file via webdav should work since webdav supports range requests.
Or what would the required protocol to support? THX
Activity
DeepDiver1975 commentedon Oct 21, 2015
Isn't video streaming to be implemented using http range requests?
In this case getting a file via webdav should work since webdav supports range requests.
Or what would the required protocol to support? THX
tobiasKaminsky commentedon Oct 21, 2015
:)
I think this question is a result of an old owncloud version, wrong understanding of streaming and a wrong android app.
I have now tried https://test:[email protected]/remote.php/webdav/Demo Movie OGG - Big Buck Bunny Trailer.ogg to open it in vlc on android and it works.
So this would be the way to go in the android app:
Since when is the streaming working in oc server?
Thank you!
DeepDiver1975 commentedon Oct 21, 2015
Since forever - because it relies obviously on http range request which are implemented in sabredav (the server side webdav library we use) 😉
Just send all your 🍻 and 🍕 to @evert for building SabreDAV
evert commentedon Oct 21, 2015
👯
LukasReschke commentedon Oct 21, 2015
So I suppose we can erm close this?
tobiasKaminsky commentedon Oct 21, 2015
Yes, thank you all for helping and clarifying this.
Then I can built it sooner or later into the android app. :)
And special thanks to @evert ;)
tobiasKaminsky commentedon Oct 22, 2015
A consecutive question, if you do not mind:
I am sending the webdav url to e.g. VLC like this: https://192.168.0.100/owncloud/remote.php/webdav/2/1.ogg
But this does not work as a basic authentication is missing. So I could use "https://tobi:[email protected]". But this would expose the password to potential other viewing user. (At least VLC shows the complete url while buffering).
So, as I do not know the internal: Is it possible to use a session key or something similar instead to prevent exposing the password?
Thank you!