Page 1 of 1

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

Posted: 15 Feb 2017 11:04
by wildranger
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.

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

Posted: 23 Feb 2017 10:33
by sagarkrishna
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

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

Posted: 06 Mar 2017 23:11
by linked
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

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

Posted: 08 Mar 2017 11:37
by wildranger
up! Is there any solutions for self-signed certificate over https?

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

Posted: 08 Mar 2017 16:03
by linked
What i'm taking about in my previous post make self signed working.

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

Posted: 08 Mar 2017 23:23
by dfuhrmann
Well, use LetsEncrypt. ;-) Nowadays there is no excuse anymore for using selfsigning TLS certificates.