Url scheme doesn't work in new version(2.6.0)

iOS, iPad, iPhone, tvOS specific usage questions
navy1978
Blank Cone
Blank Cone
Posts: 10
Joined: 01 Jul 2015 08:03

Url scheme doesn't work in new version(2.6.0)

Postby navy1978 » 01 Jul 2015 08:11

Hi guys,
I was using the url schema with the previous version without problem, with this syntax:
vlc-x-callback://x-callback-url/stream?url=<MYURL>&x-source=Safari&x-success=<CALLBACK_URL>&x-error=<ERROR_URL>

VLC was called correctly the video was visualized in Full screen mode and clicking on "DONE" I was able to go back to the URL specified.

with new version: 2.6.0 installed this morning, everything is changed:

video starts in small windows on bottom of the screen and if I click "DONE" nothing happens...

Are there new specs for URL schema? or is a bug in the new version?

Please let me know.

Thank you
have a nice day

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

Re: Url scheme doesn't work in new version(2.6.0)

Postby fkuehne » 02 Jul 2015 11:28

In fact, we didn't adapt the URL handler in the correct way. Will fix in 2.6.2.

This is covered by the following ticket on trac. https://trac.videolan.org/vlc/ticket/14984
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

navy1978
Blank Cone
Blank Cone
Posts: 10
Joined: 01 Jul 2015 08:03

Re: Url scheme doesn't work in new version(2.6.0)

Postby navy1978 » 02 Jul 2015 20:02

Ok,
Thanks!
I look forward for the new release, Do you have already a date for the 2.6.2?
Please let me know.
Thank you

navy1978
Blank Cone
Blank Cone
Posts: 10
Joined: 01 Jul 2015 08:03

Re: Url scheme doesn't work in new version(2.6.0)

Postby navy1978 » 02 Jul 2015 20:04

Sorry! I have just seen on the ticket (clicking on the release version) that the date should be 12/lug/2015 ...

Thank you again

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

Re: Url scheme doesn't work in new version(2.6.0)

Postby fkuehne » 04 Jul 2015 13:19

Yes, we are waiting for 2.6.1 to be approved by Apple and hope to submit 2.6.2 for review immediately after. It should be around that date, but keep in mind that review waiting times can be up to a week or more.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

navy1978
Blank Cone
Blank Cone
Posts: 10
Joined: 01 Jul 2015 08:03

Re: Url scheme doesn't work in new version(2.6.0)

Postby navy1978 » 14 Jul 2015 12:32

Hi Guys,
First of all thanks for your effort to make VLC the best player.

I see now the problem with URL scheme is solved, BUT now all the stream urls that I pass are not played, I can hear the sound but nothing is displayed (a black video in full screen with sound but without video)

Please note that doesn't matter which type of codec is used...

:(

Thank you
Have a nice day

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

Re: Url scheme doesn't work in new version(2.6.0)

Postby fkuehne » 15 Jul 2015 23:33

Thanks for the follow-up. We will check that :)
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

navy1978
Blank Cone
Blank Cone
Posts: 10
Joined: 01 Jul 2015 08:03

Re: Url scheme doesn't work in new version(2.6.0)

Postby navy1978 » 17 Jul 2015 07:28

Thank you!

Can I ask if it is possible to prioritize a little bit this check? My web app uses a lot the vlc URL scheme and is more or less 1 month that is not usable anymore... :!:

Thank you again

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Url scheme doesn't work in new version(2.6.0)

Postby Jean-Baptiste Kempf » 17 Jul 2015 10:21

Thank you!

Can I ask if it is possible to prioritize a little bit this check? My web app uses a lot the vlc URL scheme and is more or less 1 month that is not usable anymore... :!:

Thank you again
Then file a bugreport.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

navy1978
Blank Cone
Blank Cone
Posts: 10
Joined: 01 Jul 2015 08:03

Re: Url scheme doesn't work in new version(2.6.0)

Postby navy1978 » 17 Jul 2015 12:26

How can I do that?

P.s. I'm a Java developer, with basic knowledges of Objective C, can I help you?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Url scheme doesn't work in new version(2.6.0)

Postby Jean-Baptiste Kempf » 17 Jul 2015 12:58

Use the bugreport tool.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

navy1978
Blank Cone
Blank Cone
Posts: 10
Joined: 01 Jul 2015 08:03

Re: Url scheme doesn't work in new version(2.6.0)

Postby navy1978 » 19 Jul 2015 21:02


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

Re: Url scheme doesn't work in new version(2.6.0)

Postby fkuehne » 26 Jul 2015 10:20

Thanks a lot for your ticket. I was able to isolate and reproduce your issue. A fix is included in version 2.6.3, which was submitted for review 2 days ago. I have no way to tell when Apple will approve it, though, hopefully next week.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

navy1978
Blank Cone
Blank Cone
Posts: 10
Joined: 01 Jul 2015 08:03

Re: Url scheme doesn't work in new version(2.6.0)

Postby navy1978 » 01 Aug 2015 08:18

Hi Felix,
Thank you, I have tested it, and now part of the problem is fixed but not completely... I will try to explain:

before 2.6.0:
failure opening a stream --> you were redirect to che calling app (specified url)
clicching on done (after a failue or during play)--> you were redirect to che calling app (specified url)
all thes treams except AC3 were opened without problem

version 2.6.3:
failure opening a stream --> you ramain in VLC app
clicching on done (after a failue or during play)--> you ramain in VLC app
a lot of streams ar not opene anymore (mmsh for example)--> error message appairs on the screen and if you click OK you are not redirect to the calling app


So, I can resume them in: It seeems that the stream urls specified in the url scheme uri don't work and VLC is not able anymore to play a lot of streams that before were working

I hope is clear.
If you need I open a defect for that just let me know.


P.S. in order to help you more, there is a way to enable log files? or better can I test the VLC IOS APP on mac without having to pay the 99 dollars to Apple , please let me know, I wuld like to help... ;)

P.P.S. if you need some urls for testing purpose, I can send you in private message, please let me know.

Thank you
Have a nice day

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

Re: Url scheme doesn't work in new version(2.6.0)

Postby fkuehne » 01 Aug 2015 13:37

Thanks a lot for the follow-up and further details. Please PM me your URLs. If you include your email (and in case you run iOS 8 or later), I can include you in our private beta, too.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

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

Re: Url scheme doesn't work in new version(2.6.0)

Postby fkuehne » 01 Aug 2015 19:00

Random side question, are you encoding your URLs? You need to do so in recent releases..
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

navy1978
Blank Cone
Blank Cone
Posts: 10
Joined: 01 Jul 2015 08:03

Re: Url scheme doesn't work in new version(2.6.0)

Postby navy1978 » 03 Aug 2015 20:45

I have sent you a private message. For encoding urls, what do you mean to escape the special chars like "/" or space or whatever?
Please let me know.

Thank you

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

Re: Url scheme doesn't work in new version(2.6.0)

Postby fkuehne » 04 Aug 2015 12:15

Yes, you always need to encode the URLs you provide by escaping all non-ascii characters. Most toolchains provide a convenience function to do so. I can highly recommend this page to test your encoding: http://meyerweb.com/eric/tools/dencoder/
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

navy1978
Blank Cone
Blank Cone
Posts: 10
Joined: 01 Jul 2015 08:03

Re: Url scheme doesn't work in new version(2.6.0)

Postby navy1978 » 07 Aug 2015 07:19

yes I'm using the escape method in Js. Anyway I have sent you my email address in private message, please add me to the test release. Thank you.


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

Who is online

Users browsing this forum: No registered users and 31 guests