SMB streaming stops after switching focus

​VLC for Windows Store​ specific questions

This includes WinRT, Windows RT, Windows Phone, Windows Mobile and Xbox 1
cfbob
New Cone
New Cone
Posts: 3
Joined: 10 Jul 2016 11:02

SMB streaming stops after switching focus

Postby cfbob » 11 Jun 2018 15:42

I'm on a Windows Phone, VLC set on ''always allowed'' on the OS battery management. I can connect and browse my network share alright, but whenever i switch app or turn off the screen, VLC stops streaming the song/movie. The instant i bring VLC back to focus it continues normally. Android VLC behaves normally under the exact same situation.
Any ideas on what is going wrong?

mfkl
Developer
Developer
Posts: 739
Joined: 13 Jun 2017 10:41

Re: SMB streaming stops after switching focus

Postby mfkl » 12 Jun 2018 05:23

Hi cfbob,

Which Windows Mobile OS are you running, 8.1 or 10?
What's your app version?
https://mfkl.github.io

cfbob
New Cone
New Cone
Posts: 3
Joined: 10 Jul 2016 11:02

Re: SMB streaming stops after switching focus

Postby cfbob » 15 Jun 2018 01:31

Hi! it's the latest in both, Vlc 3.0.3 and Windows Mobile 10 (15254.489 version from 3-4 days ago). The exact same behavior was present in all previous app and OS version though. I also had a hard reset done at some point - and reinstalled everything from scratch: no difference.

mfkl
Developer
Developer
Posts: 739
Joined: 13 Jun 2017 10:41

Re: SMB streaming stops after switching focus

Postby mfkl » 21 Jun 2018 07:08

Hi cfbob,

Yes I can reproduce. But weirdly it's fine with the debugger attached.

Anyhow, the thing is that the UWP (Windows 10) platform blocks network communication by default when backgrounding/switching apps/locking the screen.
I could work around that with a regular app with networking code written in C#, but UWP does not offer a way to allow native C (libvlc) code in the background so I'm out of luck, as far as I can tell.

The chromecast feature suffers from the same issue, I'm afraid.

I don't know how to fix this right now.
https://mfkl.github.io


Return to “​VLC for Windows Store​”

Who is online

Users browsing this forum: No registered users and 7 guests