Commit Graph
100 Commits
Author SHA1 Message Date
Cameron Gutman 69ba5a709b Flushing the decoder seems to hang when the software fallback is in use, so let the destructor abort callbacks instead 2016-06-09 13:25:18 -05:00
Cameron Gutman 6c13c9b67d Only show the NaCl plugin when a frame has been rendered 2016-06-09 13:22:27 -05:00
Cameron Gutman 1f3f4bd0aa Implement fallback to software when hardware decoding is unavailable 2016-06-09 12:23:23 -05:00
Cameron Gutman f2d9bce746 Update common-c to get the MTU fix in ENet 2016-05-21 18:33:14 -05:00
Cameron Gutman d08d1f3132 Fix the GL error assert macro 2016-05-10 01:33:04 -04:00
Cameron Gutman 64d9f18c39 Unbind the graphics context when exiting the stream 2016-05-09 22:54:07 -04:00
Cameron Gutman 0d8f82a5f9 Revert "Clear the display when tearing down the decoder. This closes #50"
This reverts commit 68aecaeed5.
2016-05-09 22:35:12 -04:00
Cameron Gutman e90fe56f2b Generate a unique remote input key per connection. This closes #54 2016-05-09 19:19:26 -04:00
Cameron Gutman 83e6627025 Multiply bitrate by 1000 rather than 1024 to match other GameStream clients 2016-05-09 18:44:45 -04:00
Cameron Gutman 23b152e71a Disable connection persistence and enable a 5 second connect timeout 2016-05-09 18:31:40 -04:00
Cameron Gutman 1278277d46 Use a new curl easy instance per request 2016-05-09 18:21:10 -04:00
Cameron Gutman 68aecaeed5 Clear the display when tearing down the decoder. This closes #50 2016-05-09 17:02:16 -04:00
Cameron Gutman b236632ce0 Add a progress message with the indeterminate loading bar 2016-05-09 15:41:04 -04:00
Cameron Gutman ce8c8c9983 Various UI and UX improvements to match other Moonlight clients 2016-05-09 15:09:31 -04:00
Cameron Gutman f0d974bb73 Add profiling code to the video renderer 2016-05-09 14:26:23 -04:00
Cameron Gutman dd3cf77bee Improve profiling code 2016-05-09 14:25:58 -04:00
Cameron Gutman 2c2c90ef94 Merge branch 'master' of github.com:moonlight-stream/moonlight-chrome 2016-05-09 13:57:18 -04:00
Cameron Gutman 9eaed3029f Add profiling infrastructure (currently unused) 2016-05-09 13:57:08 -04:00
Cameron Gutman c31ae71566 Bump version to 0.3 2016-05-08 12:36:25 -04:00
Cameron Gutman 47dfce2c71 Update common-c 2016-05-08 12:10:49 -04:00
Cameron Gutman fcc4edb556 Use larger video packets to offset the higher packet reception overhead of NaCl 2016-05-08 11:48:18 -04:00
Cameron Gutman f0b8604147 Only filter keyboard events to ensure Esc still works when mouse lock is disabled 2016-05-06 14:51:43 -04:00
Cameron Gutman 474c0c05e1 Update common-c to fix 4K streaming 2016-05-06 14:47:37 -04:00
Cameron Gutman 7030576f80 Make the default window size a little bigger 2016-05-06 13:36:10 -04:00
Cameron Gutman 97052591ba Modifiers are passed with every input event so we don't need to track them ourselves 2016-05-06 13:22:50 -04:00
Cameron Gutman ea80c6e3ef Don't request filtering on input events. It needlessly increases CPU usage. 2016-05-06 13:18:42 -04:00
Cameron Gutman d22495955c Update common-c 2016-05-05 17:13:30 -04:00
Cameron Gutman 8817df3f58 Use direct submit mode for better performance at higher CPU load 2016-05-05 17:09:49 -04:00
Cameron Gutman 33a19a52f4 Use the same context attributes as the video_decode sample 2016-05-05 17:03:05 -04:00
Cameron Gutman 5b71aa0ce2 Merge branch 'master' of github.com:moonlight-stream/moonlight-chrome 2016-05-05 16:57:42 -04:00
Cameron Gutman 21dd55566e Decouple renderer from decoder and remove associated workarounds 2016-05-05 16:57:26 -04:00
Cameron Gutman 25062b99b1 Fix resolution and FPS terminology to be consistent with other clients 2016-05-05 15:41:35 -04:00
Cameron Gutman 278824fea5 Update moonlight-common-c to fix ENet-related bugs 2016-04-18 16:39:03 -04:00
Cameron Gutman e16941703d Increment version 2016-04-17 17:17:32 -04:00
Cameron Gutman 8c258c3eb5 Skip counting controllers that haven't received a single event yet. This closes #38 2016-04-16 15:36:51 -04:00
Cameron Gutman dda060acb9 Override default handling of Esc. Closes #31 2016-04-16 13:25:39 -04:00
Cameron Gutman ed138f10a2 Update moonlight-common-c 2016-04-07 19:20:07 -04:00
Cameron Gutman ebb5e16a17 Merge pull request #33 from dead/master
Clean pairing, simple cache app list, added mDNS support
2016-04-07 19:00:48 -04:00
Cameron Gutman 034d2ebf9d Add forgotten rikey parametres to resume app 2016-03-31 12:00:49 -04:00
Cameron Gutman 6ca202581d Update common-c submodule to stream from Gen 7 2016-03-31 11:54:59 -04:00
Cameron Gutman f18dbd88e0 Implement NaCl-side of pairing with Gen 7 servers 2016-03-31 11:54:06 -04:00
Cameron Gutman 392c6f140a Clear the shaders after destroying them. This closes #22 2016-03-13 19:08:12 -05:00
Cameron Gutman fe50bfce25 Remove usage of sendmsg and recvmsg in ENet 2016-03-11 00:30:50 -08:00
Cameron Gutman bc8f2eec62 Build common-c's ENet submodule 2016-03-10 23:52:19 -08:00
Cameron Gutman 2ef3089eae Update common-c 2016-03-10 23:35:25 -08:00
Cameron Gutman 5d17ee2bae Merge branch 'master' into nacl_pairing 2016-03-10 23:29:16 -08:00
Cameron Gutman 0fe15be7b6 If the server is available, ignore the current game in serverinfo 2016-03-10 23:21:51 -08:00
Cameron Gutman f45ecb9edc Actually stream the new session instead of just starting it 2016-03-10 23:21:06 -08:00
Cameron Gutman 147b4cf9f3 Add support for starting a new stream of Steam Big Picture 2016-03-10 23:10:08 -08:00
Cameron Gutman b796b496dd Use the server major version pulled from serverinfo when starting a stream 2016-03-10 22:37:26 -08:00
Cameron Gutman 02341e85e2 Add basic logic for resuming an existing stream 2016-03-10 22:29:00 -08:00
Cameron Gutman 8ce558f701 Uniqueid should be a 64-bit hex number, not a UUID 2016-03-10 22:07:04 -08:00
Cameron Gutman baa3a1a68c Fix handling empty text boxes 2016-03-10 21:45:35 -08:00
Cameron Gutman a8022f3187 Fix makefile and add libraries required for building 2016-03-10 21:40:17 -08:00
Cameron Gutman 47ede93af0 Update common submodule 2016-03-03 21:15:48 -05:00
Cameron Gutman be7f316c50 Reduce usage of g_Instance 2016-02-29 13:37:53 -05:00
Cameron Gutman 62df62f857 Update common to disable dynamic resolution switching 2016-02-29 13:36:46 -05:00
Cameron Gutman 4832237a11 Pairing is working 2016-02-28 00:25:49 -05:00
Cameron Gutman 59e461cad3 Add includes for required libs 2016-02-27 22:01:23 -05:00
Cameron Gutman b26869e93b Merge branch 'master' into js
Conflicts:
	moonlight.hpp
2016-02-26 23:10:31 -05:00
Cameron Gutman 1aff99d5e8 Fix the accent menu showing up on OS X. This closes #1 2016-02-26 22:26:36 -05:00
Cameron Gutman abe66c7e21 Set some nicer Graphics3D context attributes to allow the GLES backend more flexibility when choosing a context 2016-02-26 17:20:10 -05:00
Cameron Gutman 4f6c547e47 Fix scrolling behavior by accumulating partial ticks 2016-02-26 14:43:20 -05:00
Cameron Gutman e7b45e5b6c Set the graphics context size using the width and height of the stream instead of the initial size of the NaCl element. This closes issue #16 2016-02-25 22:48:22 -05:00
Cameron Gutman 24cf97b0ae Only draw frames that are newer than the last frame we drew 2016-02-24 13:55:35 -05:00
Cameron Gutman fe7618504e Default bitrate for 1080p60 should be 20 Mbps 2016-02-21 18:08:43 -05:00
Cameron Gutman 36e76ed86d Use h264bitstream library to mixup the SPS so OS X will use hardware decoding 2016-02-21 15:57:45 -05:00
Cameron Gutman 83ba8a10bb Force hardware acceleration for video decoding so we can see clearly when it's not working 2016-02-20 22:54:16 -05:00
Cameron Gutman 88dc8623cd Send the SPS, PPS, and I-frame together to fix VideoToolbox hardware decoding on OS X. This closes #7 2016-02-20 22:28:58 -05:00
Cameron Gutman b69230ddbd Update README.md 2016-02-19 13:00:43 -05:00
Cameron Gutman 5e66aee4dd Update hardcoded server major version to 5 for testing 2016-02-19 12:15:46 -05:00
Cameron Gutman 39ca14e96a Merge branch 'master' of github.com:cgutman/moonlight-chrome 2016-02-19 12:09:44 -05:00
Cameron Gutman c87c6598c8 Update common-c with support for Gen 5 servers 2016-02-19 12:09:14 -05:00
Cameron Gutman 5d25874131 Clear the decode queue on mouse lock or focus gain. This closes #5 2016-02-18 13:25:49 -05:00
Cameron Gutman 3ce2d68250 Use a wait-free algorithm for audio queueing to minimize audio hiccups. This closes #8 2016-02-18 12:27:12 -05:00
Cameron Gutman cf5b2ccbb4 Flush the decoder before deleting it 2016-02-18 12:04:17 -05:00
Cameron Gutman 441047db9b Use 4 slices per frame for increased software decoding performance 2016-02-18 02:18:59 -05:00
Cameron Gutman f12ec9b986 Use direct submit mode for the audio renderer 2016-02-18 02:12:01 -05:00
Cameron Gutman cce9cc5fb5 Return to the app page if the connection fails when starting up 2016-02-18 01:12:55 -05:00
Cameron Gutman 38d7b5d6c3 Fix returning to the app screen after stopping the stream. Remove messages that aren't meant to be handled in NaCl. 2016-02-18 01:05:58 -05:00
Cameron Gutman 8bac82b694 Fix deadlock on self-initiated connection termination 2016-02-18 00:47:57 -05:00
Cameron Gutman f8fb94f5e2 Optimize the renderer by keeping state changes to a minimum, more explicitly initializing the GL context, and calling glClear once per frame 2016-02-17 00:32:18 -05:00
Cameron Gutman 9fd175e517 Create README.md 2016-02-16 21:53:05 -05:00
Cameron Gutman 033088e120 Ignore the .bc files output by the build 2016-02-16 20:32:47 -05:00
Cameron Gutman f90578882d Implement Ctrl+Alt+Shift+Q to terminate the stream 2016-02-16 20:27:22 -05:00
Cameron Gutman 02a9e80e76 Update common-c to fix another race condition 2016-02-16 20:07:51 -05:00
Cameron Gutman 5d16e891c9 Merge branch 'UI2' 2016-02-16 17:47:59 -05:00
Cameron Gutman 5577587718 Add special button to gamepad mapping and rename to reflect that it's a map of the standard HTML5 button layout, not anything XInput-specific 2016-02-16 15:49:59 -05:00
Cameron Gutman f96bd0546f Merge branch 'master' into UI2 2016-02-16 12:33:49 -05:00
Cameron Gutman fe0120ca16 Allow software decoding fallback for OS X 2016-02-16 12:33:33 -05:00
Cameron Gutman a7e4440cd7 Merge branch 'master' into UI2 2016-02-16 12:26:28 -05:00
Cameron Gutman d2a76d525b Update common-c to allow connection shutdown to work 2016-02-16 12:23:05 -05:00
Cameron Gutman 9f194b08f4 Define LC_CHROME for common-c build 2016-02-16 11:30:31 -05:00
Cameron Gutman c9e65715cb Add audio decoding support 2016-02-14 00:35:39 -05:00
Cameron Gutman 8d02bd8dc0 Add Opus library for audio decoding 2016-02-13 22:12:38 -05:00
Cameron Gutman 15920cd69b Fix a couple of keyboard/mouse capturing issues 2016-02-13 19:09:25 -05:00
Cameron Gutman bf048a6b1d Add pointer lock permission to allow mouse capture in plugin mode 2016-02-13 18:43:39 -05:00
Cameron Gutman 0eca514621 Add proper socket permissions for running as an extension 2016-02-13 18:38:42 -05:00
Cameron Gutman e9870cde4f Fix streaming 2016-02-13 18:32:13 -05:00
Cameron Gutman 5588ed8f19 Add forgotten header 2016-02-13 18:27:48 -05:00