kevinatown / MMM-Screencast

A module to cast to the magic mirror
MIT License
166 stars 34 forks source link

Disconnecting doesn't stop the Screencast app #139

Closed EnigmaEmmy closed 2 months ago

EnigmaEmmy commented 1 year ago

Aside from some depreciation warnings and errors, I was able to get this working without much of an issue, however, after I stop casting from my phone the Screencast app on MM doesn't disappear.

Instead, it just stops the playing video and logs out to the "Who's watching?" screen.

screencast

kaiw72 commented 10 months ago

Same thing here

eduardomeier commented 6 months ago

Hi, would you know if is there a solution for this? The module works pretty good, the only issue is it not closing once the video stops. Thanks

mearkats commented 5 months ago

@kevinatown, any movement on this as this seems to be a core function of this module which isn't working as it should?

KJpi5 commented 2 months ago

I am having the same issue. Other than this its amazing!

kevinatown commented 2 months ago

This should be fixed by #132

Please pull from main and it should auto-close

dennisklad commented 1 month ago

Thank you for the pull request. I still have the same issue.

ackzell commented 2 weeks ago

First of all, thanks for working on this module!

I am unfortunately experiencing the same behavior where the app won't close after it isn't casting anymore.

~/MagicMirror/modules/MMM-Screencast $ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

You can see I am on master and my local copy is up to date.

I am not sure what logs to look for, but these looked related

[2024-11-15 19:41:19.384] [LOG]   screencast stderr: [34589:1115/194119.379341:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!

[2024-11-15 19:41:38.085] [LOG]   screencast stderr: [34589:1115/194138.083428:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!

[2024-11-15 19:41:41.511] [LOG]   screencast stderr: [34589:1115/194141.288339:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

I think it would also be worth mentioning, I never saw: the output of console.log("mmm-screencast.exited"); anywhere 🤔