Page 1 of 1

Cannot lock device when streaming to tv

Posted: 12 Feb 2014 22:09
by Borgqueenx
When playing a file from vlc for ios to the apple tv it works fine. However when locking the device the video stops within 2 seconds.
Is there not a fix for this or fixable? It sucks up my battery life very fast when the screen must be on to stream...

Thanks^^

Re: Cannot lock device when streaming to tv

Posted: 13 Feb 2014 21:46
by fkuehne
Regrettably, VLC can't stream to the Apple TV with the devices locked due to the way Apple implemented AirPlay mirroring and since they decided to not publish the video protocol part of AirPlay, which allows the default player to stream content in the background or with a locked screen.
There are ways to work-around this, but since this would require the use of private APIs, we may not publish such a version on the App Store.

Re: Cannot lock device when streaming to tv

Posted: 13 Feb 2014 23:06
by Borgqueenx
That is a shame. Thanks for the answer anyway. Stopid that apple decided that their own apps must always be better.

Is releasing a cydia tweak wich fixes this not an option?

Edit: just see that youre main developper? Nice to get a answer straight from the coder himself:)

Imo: just release a second version in cydia :-) probaly even more thing you can add then.

Re: Cannot lock device when streaming to tv

Posted: 13 Feb 2014 23:16
by fkuehne
Sorry, I don't have any devices to test this on. Patches from the community would be welcome :)

Re: Cannot lock device when streaming to tv

Posted: 14 Feb 2014 02:13
by Borgqueenx
I think the best chance we have on playing on apple tv in standby is you^^
I don't know how hard it will be to make it with a work around or private api but it could be as easy as copying you current build with the private api or whatever to cydia. Then command cydia to copy replace it with the from-app store build.

Re: Cannot lock device when streaming to tv

Posted: 20 Jan 2018 19:50
by AlexHevc
Hi,

This is critical issue on iphone-x because of amoled screen.

This image is shown while TV is connected:
Image

After one duration of any movie screen burn-in is visible. Official warning: https://support.apple.com/en-us/HT208191.

The problem is when screen locks then audio continues to play but video does not.
Regrettably, VLC can't stream to the Apple TV with the devices locked
Is it possible to change ^^^ above mentioned background image to complete black ? Because after movie shadow corresponding to that TV-icon is always visible on the screen :(

Thanks,
Alex

Re: Cannot lock device when streaming to tv

Posted: 22 Jan 2018 11:53
by Carola
hey Alex,

I created a ticket for this issue.
I agree we should fix the playback if possible for the case that the phone is locked.
We're gonna look into it but I can't promise that we get around to this in the near future.

Re: Cannot lock device when streaming to tv

Posted: 23 Jan 2018 10:01
by AlexHevc
How can i contribute ?

If there is someone to guide me i can make changes and test.

Re: Cannot lock device when streaming to tv

Posted: 26 Jan 2018 12:25
by Carola
@AlexHevc Awesome!! okay here is where you need to sign up and request access
https://code.videolan.org/videolan/vlc-ios. I help you with the rest once your all set.