Bug 427028 - Phonecalls not pausing VLC during phonecall
Summary: Phonecalls not pausing VLC during phonecall
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-27 13:14 UTC by voncloft
Modified: 2020-10-19 01:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description voncloft 2020-09-27 13:14:27 UTC
SUMMARY
When having vlc play a video and I get a phonecall one of two things will happen.

1) The video will pause but once the phonecall is over the video will not resume.

2) The video will not pause at all

STEPS TO REPRODUCE
1. Watch VLC Video
2. Make/Receive Phonecall
3. Wait and see what happends

OBSERVED RESULT
Get a phonecall and VLC/KDEconnect does not work properly.

EXPECTED RESULT
Get a phone call during VLC playing, have vlc pause while on the phone....then when I am finished have the video resume.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.19.4 
KDE Frameworks Version: 5.73
Qt Version: 5.15.1

ADDITIONAL INFORMATION
I have an Android Galaxy note 9 - not sure if that helps.
Comment 1 voncloft 2020-10-05 12:33:44 UTC
Works in 1.4 but the github version fails to play nicely.
Comment 2 Anjani Kumar 2020-10-10 20:40:07 UTC
(In reply to voncloft from comment #0)
> SUMMARY
> When having vlc play a video and I get a phonecall one of two things will
> happen.
> 
> 1) The video will pause but once the phonecall is over the video will not
> resume.
> 
> 2) The video will not pause at all
> 
> STEPS TO REPRODUCE
> 1. Watch VLC Video
> 2. Make/Receive Phonecall
> 3. Wait and see what happends
> 
> OBSERVED RESULT
> Get a phonecall and VLC/KDEconnect does not work properly.
> 
> EXPECTED RESULT
> Get a phone call during VLC playing, have vlc pause while on the
> phone....then when I am finished have the video resume.
> 
> SOFTWARE/OS VERSIONS
> Windows: 
> macOS: 
> Linux/KDE Plasma: 
> (available in About System)
> KDE Plasma Version: 5.19.4 
> KDE Frameworks Version: 5.73
> Qt Version: 5.15.1
> 
> ADDITIONAL INFORMATION
> I have an Android Galaxy note 9 - not sure if that helps.

I'm pretty sure that's a bug in VLC itself. KDEConnect uses MPRIS over dbus to send signals. But VLC returns wrong values that's why resume doesn't happen. Here is the bug report. https://trac.videolan.org/vlc/ticket/22785
Comment 3 voncloft 2020-10-10 21:01:44 UTC
Ok....not sure why

https://github.com/voncloft/kdeconnect-kde/tree/c17972881b68a5979f4cc9c33dc09087b0dedece

works with VLC 3.0.11.1

I'll just toss it up to luck at this point
Comment 4 voncloft 2020-10-18 19:51:35 UTC
Happens with youtube on firefox as well......
Comment 5 Nicolas Fella 2020-10-18 21:23:59 UTC
After some debugging we found that the information that the call is finished is sent with some large delay (30s). Possiblity due to the Android system sending it with delay, but hard to tell without talking a closer look at the Android app
Comment 6 voncloft 2020-10-19 01:49:25 UTC
(In reply to Nicolas Fella from comment #5)
> After some debugging we found that the information that the call is finished
> is sent with some large delay (30s). Possiblity due to the Android system
> sending it with delay, but hard to tell without talking a closer look at the
> Android app

Seems to be the cause after using it more often.