iOS-Can't play the video with VLC over https protocol on iOS 10 enabled ATS

iOS, iPad, iPhone, tvOS specific usage questions
wildranger
New Cone
New Cone
Posts: 2
Joined: 15 Feb 2017 10:53

iOS-Can't play the video with VLC over https protocol on iOS 10 enabled ATS

Postby wildranger » 15 Feb 2017 11:04

Can't play the video with VLC over https protocol on iOS 10 enabled ATS
I have integrated VLC framework into my project. The application plays the local video with vlc player will be fine.but there's not the same to play streaming videos over https.
I don't know what should i do now.Is there anyone who can tell me the reason ?
Everybody knows that iOS 10 has been forced enabled https protocol.So I just create a self-signed certificate for the test.
BTW,it's possible to play the video over http.

sagarkrishna
New Cone
New Cone
Posts: 2
Joined: 23 Feb 2017 10:26

Re: iOS-Can't play the video with VLC over https protocol on iOS 10 enabled ATS

Postby sagarkrishna » 23 Feb 2017 10:33

I am facing the same issue too. HTTPS in MobileVLCKit 2.2.7 isn't working with a self-signed certificate. I event tried the ATS, but still, nothing improved. Has anyone faced a similar issue? your help would be much appreciated.

Thanks in advance

linked
Blank Cone
Blank Cone
Posts: 41
Joined: 28 Nov 2014 09:12

Re: iOS-Can't play the video with VLC over https protocol on iOS 10 enabled ATS

Postby linked » 06 Mar 2017 23:11

I have compiled myself the 2.7 branch with securetransport.c modification that disable the question (that don't appear in 2.7) about insecure site around line 326. Just remove the if line that check for answer to force it like a always YES.
Looks like this hack works until now.

Version 3.0pre2 force close with this hack because of some closing bug that is fixed by later commit.
Version 3.0pre3 display 1 picture and say buffering forever but is just stuck somewhere.
Version 2.7 is the only that works.
Version 2.8 not tested.

If you need some help about the last compilation step, here is a link:
https://forum.videolan.org/viewtopic.php?t=137795

wildranger
New Cone
New Cone
Posts: 2
Joined: 15 Feb 2017 10:53

Re: iOS-Can't play the video with VLC over https protocol on iOS 10 enabled ATS

Postby wildranger » 08 Mar 2017 11:37

up! Is there any solutions for self-signed certificate over https?

linked
Blank Cone
Blank Cone
Posts: 41
Joined: 28 Nov 2014 09:12

Re: iOS-Can't play the video with VLC over https protocol on iOS 10 enabled ATS

Postby linked » 08 Mar 2017 16:03

What i'm taking about in my previous post make self signed working.

dfuhrmann
Developer
Developer
Posts: 1183
Joined: 02 Jul 2012 11:09

Re: iOS-Can't play the video with VLC over https protocol on iOS 10 enabled ATS

Postby dfuhrmann » 08 Mar 2017 23:23

Well, use LetsEncrypt. ;-) Nowadays there is no excuse anymore for using selfsigning TLS certificates.


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

Who is online

Users browsing this forum: No registered users and 5 guests