Cameron Gutman
ac801e9bfb
Re-enable the tvOS's HEVC option (defaulted to enabled)
...
Fixes #481
2022-08-01 20:01:41 -05:00
Cameron Gutman
3a77bf3e65
Implement dynamic display mode changes for Apple TV
2022-02-13 14:27:17 -06:00
Cameron Gutman
bd582aa6c0
Switch to a pull-based renderer and render from CADisplayLink callback
2022-01-22 16:20:31 -06:00
Cameron Gutman
bd313d97cb
Clean up new audio code
2022-01-22 15:49:52 -06:00
Cameron Gutman
8391c766c7
Switch to SDL for audio output
2022-01-13 22:00:47 -06:00
Cameron Gutman
0fe84a7a1e
Remove key frame detection logic
...
Moonlight-common-c already tells us whether a frame is an IDR or not
2021-07-09 17:43:36 -05:00
Cameron Gutman
7ed6b22cac
Pass RTSP session URL to moonlight-common-c for dynamic ports
2021-07-02 17:31:45 -05:00
Cameron Gutman
2d8d176160
Disable reference frame invalidation on tvOS and always enable HEVC (for now)
...
Reference frame invalidation seems to trigger a renderer hang on tvOS 14.5 in my testing.
Since we don't have RFI to bias us toward H.264, let's use HEVC all the time now.
This may change again if the RFI issues are sorted out (perhaps we need to implement
blocking waits for invalidated frames?)
2021-05-06 23:56:08 -05:00
Cameron Gutman
1c3d072b49
Add audio stream encryption
2021-04-23 19:07:27 -05:00
Cameron Gutman
ecd3427767
Add handling for above 4K resolutions
2020-12-24 13:33:54 -06:00
Cameron Gutman
c301891ff5
Fix stats overlay being off by 1 FPS
2020-12-05 20:38:30 -06:00
Cameron Gutman
8ffee9e10f
Minor video stats improvements
2020-11-01 14:09:05 -06:00
Cameron Gutman
44f713f5c9
Add a basic stats overlay
2020-11-01 13:27:10 -06:00
Cameron Gutman
286b19d360
Add automatic network testing on connection failure
2020-08-10 22:56:47 -07:00
Cameron Gutman
c7a7fc3fbc
Add 7.1 surround sound support
2020-04-03 17:46:04 -07:00
Cameron Gutman
eceb23e1cd
Allow Moonlight audio to mix with other audio
2020-03-21 16:35:07 -07:00
Cameron Gutman
742bb7b516
Change errorCode from long to int
2020-02-25 00:00:00 -08:00
Cameron Gutman
b71f06aa04
Change audio buffer duration back to 80 ms for now
2019-12-04 18:58:36 -08:00
Cameron Gutman
32b7396070
Reduce buffering for 5 ms and 20 ms audio packets
2019-12-03 19:51:31 -08:00
Cameron Gutman
c327c5b1ec
Force remote streaming mode when a VPN is connected
2019-12-01 20:55:20 -08:00
Cameron Gutman
44d4553031
Add support for arbitrary audio duration
2019-12-01 20:51:18 -08:00
Cameron Gutman
250f6618fd
Plumb the presentation time from the server into the renderer
2019-11-11 18:42:11 -08:00
Cameron Gutman
653a72eaf8
Remove macOS port
...
We now have a proper native PC port (Moonlight Qt) and if we
wanted to bring the full iOS app over we can now use Catalyst.
2019-10-21 17:39:48 -07:00
Cameron Gutman
b0d85abfa6
Increase audio circular buffer size to reduce glitching
2019-09-22 10:20:30 -07:00
Cameron Gutman
409b262a4f
Add a hack as a possible workaround for #372
2019-09-14 11:49:09 -07:00
Cameron Gutman
fd4ede58ca
Reduce the size of the audio circular buffer to reduce peak latency
2019-08-29 22:00:27 -07:00
Cameron Gutman
42b7fd35ce
Fix surround sound audio playing back silence
2019-08-29 21:07:10 -07:00
Cameron Gutman
7699d9e574
Implement 5.1 surround sound support. Fixes #371
2019-08-26 22:46:35 -07:00
Cameron Gutman
ba4e55aac4
Add on-screen connection status warning
2019-07-23 18:43:41 -04:00
Cameron Gutman
28ff29bb96
Disable the HEVC toggle for devices that don't support HEVC
2019-06-05 18:41:30 -07:00
Cameron Gutman
63b09c5b27
Remove the old message callbacks
2019-04-27 14:00:58 -07:00
Cameron Gutman
335b5aef1f
Add rumble support
2019-02-11 19:22:18 -08:00
Cameron Gutman
a5961dd9b5
Use lower MTU for remote streaming and higher MTU for local networks
2018-11-21 21:03:08 -08:00
Cameron Gutman
98d01f7775
Ensure the C strings stay valid until connection-time. Fixes #228
2018-06-09 20:04:40 -07:00
Cameron Gutman
bfc0b89926
Add many new preferences to settings DB. Default HEVC to off due to reference frame invalidation not working
2018-06-02 17:10:52 -07:00
Cameron Gutman
a28049a58c
Plumb several new options into stream config and launch requests: optimizeGameSettings, playAudioOnPC, surround sound, and HDR
2018-06-02 13:25:53 -07:00
Cameron Gutman
23a12ed101
Actually set CAPABILITY_DIRECT_SUBMIT and fix the bug it hides
2018-06-01 17:00:02 -07:00
Cameron Gutman
04b2fccaef
Only interact with the AVSampleBufferDisplayLayer on the main thread
2018-06-01 00:31:41 -07:00
Cameron Gutman
67b08cd8b9
Use LiInterruptConnection() to terminate connection attempts more quickly
2018-05-30 22:06:20 -07:00
Cameron Gutman
aea2067e1c
Silence the firehose of debug logging statements
2018-05-29 20:17:48 -07:00
Cameron Gutman
0293df7748
Rewrite audio playback to simplify code, reduce allocations, and eliminate priority inversion on the queue lock. This completely eliminates clicks and pops in audio for me on my iPhone SE and the emulator.
2018-05-28 17:38:09 -07:00
Cameron Gutman
74283a6763
Use HEVC on iOS 11.3 and later. Fixes #296
2018-04-10 18:57:02 -07:00
Cameron Gutman
e8832ed746
Refactor new macOS code to reduce #ifs, increase shared code, and fix warnings
2018-03-27 00:34:38 -07:00
Felix Kratz
6cc165b589
Port for macOS ( #311 )
...
* merged moonlight-mac with moonlight-ios
* reverted to the original project.pbxproj
* cleaned up the code, fixed lots of unnecessary code duplications
* multicontroller support (not tested)
* new class that can be used for further modularization of the MainFrameViewController
2018-03-26 23:50:40 -07:00
Cameron Gutman
1c86c4485d
Disable HEVC until iPhone X and other issues can be sorted out. See #296
2018-02-24 21:16:02 -08:00
Cameron Gutman
4b9bd8398b
Update for video decoder API changes
2017-11-18 18:17:22 -08:00
Cameron Gutman
5434b653c7
Reduce bitrate when streaming HEVC to reduce bandwidth at better IQ than H.264
2017-10-17 01:07:41 -07:00
Cameron Gutman
da1115e529
Disable reference frame invalidation for HEVC
2017-09-14 22:03:20 -07:00
Cameron Gutman
de5377a95d
Only use HEVC if the client has hardware-accelerated decoding
2017-09-14 19:50:53 -07:00
Cameron Gutman
b99988836a
Implement HEVC decoding for iOS 11 devices
2017-09-10 00:00:40 -07:00