Cannot lock device when streaming to tv

iOS, iPad, iPhone, tvOS specific usage questions
Borgqueenx
New Cone
New Cone
Posts: 5
Joined: 12 Feb 2014 22:06

Cannot lock device when streaming to tv

Postby Borgqueenx » 12 Feb 2014 22:09

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^^

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

Re: Cannot lock device when streaming to tv

Postby fkuehne » 13 Feb 2014 21:46

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

Borgqueenx
New Cone
New Cone
Posts: 5
Joined: 12 Feb 2014 22:06

Re: Cannot lock device when streaming to tv

Postby Borgqueenx » 13 Feb 2014 23:06

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.

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

Re: Cannot lock device when streaming to tv

Postby fkuehne » 13 Feb 2014 23:16

Sorry, I don't have any devices to test this on. Patches from the community would be welcome :)
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

Borgqueenx
New Cone
New Cone
Posts: 5
Joined: 12 Feb 2014 22:06

Re: Cannot lock device when streaming to tv

Postby Borgqueenx » 14 Feb 2014 02:13

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.

AlexHevc
New Cone
New Cone
Posts: 2
Joined: 20 Jan 2018 19:23

Re: Cannot lock device when streaming to tv

Postby AlexHevc » 20 Jan 2018 19:50

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

Carola
Developer
Developer
Posts: 35
Joined: 27 Apr 2015 17:25

Re: Cannot lock device when streaming to tv

Postby Carola » 22 Jan 2018 11:53

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.

AlexHevc
New Cone
New Cone
Posts: 2
Joined: 20 Jan 2018 19:23

Re: Cannot lock device when streaming to tv

Postby AlexHevc » 23 Jan 2018 10:01

How can i contribute ?

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

Carola
Developer
Developer
Posts: 35
Joined: 27 Apr 2015 17:25

Re: Cannot lock device when streaming to tv

Postby Carola » 26 Jan 2018 12:25

@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.


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

Who is online

Users browsing this forum: No registered users and 19 guests