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

iOS, iPad, iPhone, tvOS specific usage questions
wshenk
New Cone
New Cone
Posts: 2
Joined: 02 Mar 2015 16:25

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

Postby wshenk » 02 Mar 2015 17:03

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

fkuehne
Developer
Developer
Posts: 7175
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

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

Postby fkuehne » 02 Mar 2015 22:11

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.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

wshenk
New Cone
New Cone
Posts: 2
Joined: 02 Mar 2015 16:25

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

Postby wshenk » 06 Mar 2015 17:39

#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

fkuehne
Developer
Developer
Posts: 7175
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

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

Postby fkuehne » 06 Mar 2015 20:04

perfect, thanks a lot!
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 2 guests