Page 1 of 1

Further feature requests on x-callback-url with start position and http headers such as user-agent

Posted: 02 Mar 2015 17:03
by wshenk
Hi team,

vlc for iOS 2.4.1 brought a new feature on x-callback-url, it made me really excited. May I request more features on the x-callback-url? I believe vlc for iOS will be a must-have app. :-)

The goal is to make vlc a shared app / component.

From other apps to vlc:

- The following 2 parameters are currently supported:
* Action: download / stream
* Query: url

- The new query parameters:
* HTTP Header: User-Agent (this parameter is to be used in all streaming requests)
* HTTP Header: Cookie (this parameter is to be used in all streaming requests)
* HTTP Header: Referer (this parameter is to be used in all streaming requests)
* Initial playback start position
* Video title to display


From vlc back to the caller:
- The new results:
* Resume position (-1 means end)
* Whole video duration


I found vlc 2.4.1 won't back to the caller in case video playback error occurred by x-callback-url 'stream' action. Is it by design or expected?

Thank you so much for your efforts and wonderful app!

Will

Re: Further feature requests on x-callback-url with start position and http headers such as user-agent

Posted: 02 Mar 2015 22:11
by fkuehne
Thanks for your feedback!

Please file 2 feature requests on http://trac.videolan.org/vlc - one for HTTP headers, one for the rest (component "Port: iOS"). If you don't want to sign-up for trac, click on "OpenID" to use your Google or Yahoo login.

Why 2 tickets? Right now, you cannot set arbitrary http headers through libvlc, which is the interface we use to communicate from the iOS UI to the core VLC functionality - this will come, but maybe not soon. Depends.

For "we have an error but don't return", please file a "defect" ticket against the "iOS 2.5" milestone so we fix it for the next update.

Re: Further feature requests on x-callback-url with start position and http headers such as user-agent

Posted: 06 Mar 2015 17:39
by wshenk
#14092 new defect
VLC for iOS 2.4.1 doesn't back to the app by x-callback-url in case playback error
https://trac.videolan.org/vlc/ticket/14092

#14093 new enhancement
x-callback-url delivers start position and video title, and back with resume position and duration
https://trac.videolan.org/vlc/ticket/14093

#14094 new enhancement
HTTP Headers support for User-Agent, Cookie and Referer, then x-callback-url can accept them
https://trac.videolan.org/vlc/ticket/14094

Re: Further feature requests on x-callback-url with start position and http headers such as user-agent

Posted: 06 Mar 2015 20:04
by fkuehne
perfect, thanks a lot!