moonlight-stream / moonlight-ios

GameStream client for iOS/tvOS
GNU General Public License v3.0
990 stars 247 forks source link

[iPadOS/iOS] Moonlight crashes when a Bluetooth keyboard reconnect during streaming #616

Open languede opened 2 months ago

languede commented 2 months ago

READ ME FIRST! If you're here because something basic is not working (like gamepad input, video, or similar), it's probably something specific to your setup, so make sure you've gone through the Troubleshooting Guide first: https://github.com/moonlight-stream/moonlight-docs/wiki/Troubleshooting

If you still have trouble with basic functionality after following the guide, join our Discord server where there are many other volunteers who can help (or direct you back here if it looks like a Moonlight bug after all). https://moonlight-stream.org/discord

Describe the bug Moonlight crashes when a Bluetooth keyboard reconnect during streaming

Steps to reproduce

  1. Pair a keyboard through Bluetooth and connect it to ipad
  2. wait until wireless keyboard going to sleep
  3. run moonlight on ipad
  4. connect to host and start streaming.
  5. now active the keyboard, it should now reconnect to the device automatically from sleeping.
  6. the moonlight will crash, back to home screen

Screenshots NA

Affected games all of the streaming session

Other Moonlight clients

Moonlight settings (please complete the following information)

Gamepad-related issues (please complete if problem is gamepad-related)

Device details (please complete the following information)

Server PC details (please complete the following information)

Additional context Anything else you think may be relevant to the issue or special about your specific setup.

The crash will not happen If you connect the keyboard before start streaming, it occurred if you reconnect the keyboard during the streaming session.