[vlc-devel] [PATCH] VLC for iOS integration patch: call VLC via well formed URL, omit download/stream question, specify switch-back URL to return to caller
ulrich.trampe at googlemail.com
Sat Oct 4 14:08:47 CEST 2014
VLC for iOS integration patch: call VLC via well formed URL, omit download/stream question, specify switch-back URL to return to caller
This patch allows VLC for iOS to be a seamlessly integrated in other apps, to stream a video from a given URL and then automatically return to the calling app when the user presses "Done". The other app calls VLC for iOS with a well-formed app-URL call:
The path "stream" is telling VLC to stream something. Knowing that, it can omit the "download or stream" question introduced recently. The parameter "url" gives the location of the video to stream. The parameter "switchback" tells VLC what app-URL to call when the user presses "Done". Both the "url" and the "switchback" parameter have to be encoded with percent escapes, to not mess up the well-formed URL scheme of the whole call.
The new mechanism does not compromise the "old" way of calling VLC with app-URLs like
These calls, although not well-formed, will still work as before.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3895 bytes
Desc: not available
More information about the vlc-devel