vlc crash in lock screen

iOS, iPad, iPhone, tvOS specific usage questions
K-Fung
Blank Cone
Blank Cone
Posts: 20
Joined: 26 Oct 2011 19:58

vlc crash in lock screen

Postby K-Fung » 06 Oct 2014 04:16

The player crash in lock screen.
It already check isAppActive, however, it still crash.
It is normal when you press the home button. Please help


if (likely([sys->glESView isAppActive]))
vout_display_opengl_Display(sys->vgl, &vd->source);

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

Re: vlc crash in lock screen

Postby fkuehne » 13 Oct 2014 19:31

This is not enough. You need to disable video decoding when the app is going to the background.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

K-Fung
Blank Cone
Blank Cone
Posts: 20
Joined: 26 Oct 2011 19:58

Re: vlc crash in lock screen

Postby K-Fung » 14 Oct 2014 08:30

Hi Felix,
Any hins to disable video decoding?

How about I want to playing the audio in the lock screen status?

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

Re: vlc crash in lock screen

Postby fkuehne » 15 Oct 2014 21:30

Check our code used in the VLC for iOS app. This part is quite well documented. You can disable video decoding while audio continues to play.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

aguirrelight
New Cone
New Cone
Posts: 1
Joined: 25 Jun 2015 09:12

Re: vlc crash in lock screen

Postby aguirrelight » 25 Jun 2015 09:16

Hi Felix,

Can you be a little more specific in what needs to be done in. how to disable video decoding?
And what do you mean by.. Check our code used in the VLC for iOS app .... i tried looking for a manual, a code, did not find anything....

Thanks in advance,
Roger.


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

Who is online

Users browsing this forum: No registered users and 14 guests