Cameron Gutman
d4bd29b320
Properly deal with battery saver mode in capped FPS mode
2022-05-17 00:14:55 -05:00
Cameron Gutman
41ef292b82
Fix frame rate cap not taking effect with the unlock FPS option enabled
2022-05-14 21:19:51 -05:00
Cameron Gutman
aa60671c88
Return the selected refresh rate now that the capped FPS mode is not default
2022-05-14 20:53:42 -05:00
Cameron Gutman
f1ccba39e8
Don't raise refresh rate above stream FPS except in min latency mode
2022-05-14 20:53:07 -05:00
Cameron Gutman
dc85ddb3f9
Reintroduce option of using old frame pacing algorithm using capped FPS
2022-05-08 15:20:08 -05:00
Cameron Gutman
c25faf6426
Replace frame pacing hack with Choreographer-based rendering
...
This mimics the frame pacing logic now present in the iOS client.
2022-02-17 23:48:02 -06:00
Cameron Gutman
7552181e24
Plumb setHdrMode callback into MediaCodecDecoderRenderer
2022-02-12 14:31:25 -06:00
Cameron Gutman
530b48de71
Move recapture on focus gain logic to InputCaptureProvider
2022-02-12 13:58:55 -06:00
Cameron Gutman
8b692269c1
Remove per-app HDR support check
...
It doesn't seem to make a difference anymore whether it's supported or not.
GFE seems happy to enter HDR mode anyway.
2022-02-07 20:23:11 -06:00
Cameron Gutman
da45cba2ff
Send fractional scroll events properly
2021-12-08 22:11:44 -06:00
Cameron Gutman
04545ecbb0
Avoid tons of redundant calls to InputEvent.getSource()
2021-07-17 14:01:12 -05:00
Cameron Gutman
f2e2e28419
Fix NPE if we receive a SOURCE_CLASS_POSITION event with no associated device
2021-07-17 13:15:57 -05:00
Cameron Gutman
b6e7c425c6
Fix input from SOURCE_TRACKPAD devices
2021-07-16 20:44:01 -05:00
Cameron Gutman
fc4fdd5ee2
Implement seamless PiP entry on Android 12
2021-07-14 20:00:53 -05:00
Cameron Gutman
394ce458a0
Add additional native resolution options on Android 10+ with display insets included
...
Fixes #956
Fixes #986
2021-06-22 23:56:45 -05:00
Cameron Gutman
8ac5768f4f
Change H.265 to HEVC to match other clients
2021-06-12 11:00:30 -05:00
Cameron Gutman
72f37c9df4
Enable audio stream encryption
2021-04-23 19:38:24 -05:00
Cameron Gutman
e74517543d
Update common-c for initial GFE 3.22 compatibility
2021-04-09 19:32:39 -05:00
Cameron Gutman
0045c54d8e
Reapply a portion of 1d3e42f that should not have been reverted
2021-03-20 11:11:12 -05:00
Cameron Gutman
523f1df98b
Remove superfluous simulated shift key up/down events
...
Setting the shift modifier flag alone is sufficient for current GFE versions
2021-03-20 10:38:15 -05:00
Cameron Gutman
5843dff278
Apply new fix for #840
2021-03-20 10:24:06 -05:00
Cameron Gutman
7f24f47978
Revert "Use a global set of modifier flags rather than per-device flags"
...
This reverts commit 1d3e42f92edd5e3431fb8df7d227c69cad625dce.
2021-03-20 10:08:58 -05:00
Cameron Gutman
1d3e42f92e
Use a global set of modifier flags rather than per-device flags
...
Fixes #840
2021-02-28 11:26:35 -06:00
Cameron Gutman
20ced841dd
Handle pointer capture on SOURCE_TOUCHPAD devices
2021-02-27 15:48:37 -06:00
Cameron Gutman
364afff860
Allow display resolution adjustment when streaming at a native resolution
2021-01-09 19:24:21 -06:00
Cameron Gutman
35201b69f6
Add specific error text for an early termination
2020-12-24 11:32:10 -06:00
Cameron Gutman
7cc7953879
Display failing ports when the connection is unsuccessful
2020-12-23 14:30:24 -06:00
Cameron Gutman
1aae65575c
Add warning if no key frames can be received in 10 seconds
2020-08-29 21:27:44 -07:00
Cameron Gutman
a413dc81c1
Avoid doing client connectivity tests on the main thread
2020-08-09 16:22:50 -07:00
Cameron Gutman
9669da026f
Test network when the connection terminates due to lack of video traffic
2020-08-06 22:01:45 -07:00
Cameron Gutman
6b30ee4593
Change connection test domain name
2020-08-06 20:31:15 -07:00
Cameron Gutman
17c47a15da
Improve display mode selection algorithm
...
- Allow the refresh rate to drop if it results in a better match for the stream frame rate
- Allow the resolution to drop for > 60 FPS streams to allow matching a higher refresh rate
2020-08-06 20:14:56 -07:00
Cameron Gutman
f361265d70
Add automatic network test for failed connection stages
2020-08-01 22:56:32 -07:00
Cameron Gutman
770f1a1ca0
Add network connection test
2020-08-01 22:19:40 -07:00
Cameron Gutman
6de370b82f
Update for Android 11
2020-06-10 20:31:32 -07:00
Cameron Gutman
45781666b8
Disable the latency toast by default
...
It causes crashes on the MiBox
2020-06-06 18:24:34 -07:00
Cameron Gutman
efd076bc6c
Ignore absolute touch events from outside the stream view
2020-05-12 00:20:07 -07:00
Cameron Gutman
cc877480ff
Add an option for absolute touch mode
2020-05-11 23:53:49 -07:00
Cameron Gutman
15aa7ecc2e
Add a friendly error message when no video traffic is received
2020-05-01 21:54:26 -07:00
Cameron Gutman
5b86e99138
Improve dead zone precision for stylus input
2020-04-22 22:46:05 -07:00
Cameron Gutman
0c72910eb7
Fix tap location for styluses without hover support
2020-04-22 22:00:25 -07:00
Cameron Gutman
9cd4d5e2aa
Implement a post-tap deadzone for stylus input
2020-04-18 01:03:49 -07:00
Cameron Gutman
c3b81554f4
Add absolute mouse support for styluses and mice prior to Oreo
2020-04-18 00:02:36 -07:00
Cameron Gutman
49a1524f4f
Refactor audio configuration in preparation for 7.1 surround sound
2020-04-03 17:47:57 -07:00
Cameron Gutman
2f4f53b048
Fix mouse back button closing the app with mouseNavButtons enabled
2020-03-21 15:34:03 -07:00
Cameron Gutman
d113878613
Use current display refresh rate only for non-TV devices
2020-03-21 13:43:59 -07:00
Cameron Gutman
f7ed7e06db
Revert "Calculate FPS using the actual display refresh rate rather than the requested one"
...
This breaks refresh rate detection on the Shield Android TV.
This reverts commit af5e7a0e3320e19e21061bd78d1ab22a1f270456.
2020-03-21 13:31:48 -07:00
Cameron Gutman
8f91fe4cd1
Revert "Repeat key down events are needed for proper key repeating"
...
This key repeat filtering seems to be needed now. See #800 .
This reverts commit 53dccbde2a5b04d9cb1b9833386f9baf85bb9b89.
2020-03-20 23:49:52 -07:00
Cameron Gutman
4a9a881c1f
Add missing else block
2020-02-25 22:26:52 -08:00
Cameron Gutman
a4b86eefe2
Change errorCode from long to int to fix 32-bit platforms
2020-02-24 23:24:22 -08:00