Commit Graph

  • 58902e342f Zero output parameters when BbGet*() fails master Cameron Gutman 2025-06-08 15:49:52 -05:00
  • 84f37631c2 Add ByteBuffer APIs for reading/writing multiple bytes Cameron Gutman 2025-06-08 15:46:47 -05:00
  • 22a190bdd5 ci(code-ql): use no build mode ReenigneArcher 2025-06-07 23:20:13 -04:00
  • f2f85efa33 ci(workflows): move to github workflows ReenigneArcher 2025-03-22 09:55:15 -04:00
  • e95feaf495
    Protocol extension: DualSense adaptive trigger support (#102) ABeltramo 2025-03-26 00:16:11 +01:00
  • d3d3e6cf01 Port improved ping interval logic into the control receive loop Cameron Gutman 2024-10-20 17:34:35 -05:00
  • 12e603eceb Further improve ENet ping interval wait logic Cameron Gutman 2024-10-20 17:15:04 -05:00
  • 04a2f1131c Update ENet with improved wakeup logic for enet_host_service() Cameron Gutman 2024-10-20 16:36:12 -05:00
  • dff1690fe1 Validate channel count before parsing Opus param string Cameron Gutman 2024-10-15 23:00:16 -05:00
  • 0fa805d973 Guard against rtsp response with no content ns6089 2024-10-15 15:36:32 +03:00
  • 8599b6042a Use SO_NONBLOCK on Haiku Cameron Gutman 2024-06-10 23:45:51 -05:00
  • e49637d153 Bump enet submodule for Haiku support Cameron Gutman 2024-06-10 23:36:17 -05:00
  • 907110c4ec Support YUV 4:4:4 formats ns6089 2023-10-07 15:02:18 +03:00
  • c245fe599d Use higher packet size for remote streaming over end-to-end IPv6 connection Cameron Gutman 2024-05-29 13:57:50 -04:00
  • 5e75d4e1f1 Fix -Wsign-compare warning Cameron Gutman 2024-05-25 18:31:43 -05:00
  • a3e57feadd Update CI images Cameron Gutman 2024-05-25 17:11:38 -05:00
  • 3e8181073b Update CI images ci_update Cameron Gutman 2024-05-25 17:11:38 -05:00
  • eb21561541 Don't depend on outputDataLength to be initialized with mbedTLS Cameron Gutman 2024-03-05 21:09:57 -06:00
  • 48d7f1ace1 Fix incorrect function definition Cameron Gutman 2024-02-25 15:52:04 -06:00
  • ba1fc33672 Fix spurious asserts in the unencrypted audio path with Sunshine Cameron Gutman 2024-02-20 18:03:50 -06:00
  • 046c231b33 Update ENet submodule to use Wii U userbuffers Cameron Gutman 2024-02-18 13:41:31 -06:00
  • 3d99869c0c Implement support for userbuffers on Wii U GaryOderNichts 2024-02-18 17:00:27 +01:00
  • 8af4562af6 Assert that active objects exist in deleters Cameron Gutman 2024-02-17 18:20:24 -06:00
  • 59f7f62b62 Fix thread detachment on Vita Cameron Gutman 2024-02-17 18:14:49 -06:00
  • 9686f6942f Consolidate PltCloseThread() and PltJoinThread() Cameron Gutman 2024-02-17 18:14:03 -06:00
  • 9545dd7603
    Implement detached threads (#88) GaryOderNichts 2024-02-18 00:54:32 +01:00
  • ec171fd7ca Don't use VersionHelpers.h on UWP Cameron Gutman 2024-02-03 17:20:13 -06:00
  • cbd0ec1b25 Fix signed/unsigned mismatch warnings Cameron Gutman 2024-02-03 15:20:56 -06:00
  • 92abf6e11d Update ENet with ECN/L4S support for Windows too Cameron Gutman 2024-02-03 15:19:13 -06:00
  • dc71a16bae Update ENet with ECN/L4S support Cameron Gutman 2024-02-03 15:14:47 -06:00
  • 7ab34e709a Improve encrypted RTSP message validation Cameron Gutman 2024-02-03 14:39:12 -06:00
  • 955f13a18d Implement RTSP encryption support Cameron Gutman 2024-02-02 22:55:53 -06:00
  • 35f730fedd
    Improve 3DS Reliability (#87) zoeyjodon 2024-02-02 19:33:18 -05:00
  • 0f3fa30f62 Update ENet with 3DS fixes and iOS/macOS QoS tagging fix Cameron Gutman 2024-02-01 18:30:22 -06:00
  • 3acba578b1 Update ENet with QoS tagging fixes Cameron Gutman 2024-02-01 01:20:19 -06:00
  • c0e3dc64a4 Add basic QoS attributes to our A/V sockets Cameron Gutman 2024-01-31 23:59:23 -06:00
  • 68153174bc Update ENet to improve connection robustness during transient network interruptions Cameron Gutman 2024-01-24 23:26:41 -06:00
  • fb2b103e51 Fix propagation of errors from enet_host_service() in sendMessageEnet() Cameron Gutman 2024-01-24 22:41:03 -06:00
  • e8113f0e66 Use the spare field in the encrypted video header as the frame number Cameron Gutman 2024-01-24 18:36:37 -06:00
  • a517f7cbca Fix -Wsign-compare warnings in debug build Cameron Gutman 2024-01-18 21:35:20 -06:00
  • c104a97fa0 Add platform support for the 3DS Prevent wildcard port binding on the 3DS Add 3DS threading logic Add 3DS socket logic Bump the connection timeout to 60s for the 3DS zoey jodon 2024-01-16 10:41:00 -05:00
  • 2597b5e779 Use a 12-byte AES-GCM IV for the new encryption features Cameron Gutman 2024-01-18 18:29:47 -06:00
  • 7f99bebc72 UWP Changes (#85) Elia Zammuto 2023-09-16 15:42:38 +02:00
  • 298f356acb Adjust the requested packet size to account for the encryption header Cameron Gutman 2024-01-14 18:42:41 -06:00
  • 06f18be4bf Allow negotiation of audio encryption using new encryption flags Cameron Gutman 2024-01-14 14:10:45 -06:00
  • b74b6e883c Add video encryption support Cameron Gutman 2024-01-14 14:04:52 -06:00
  • 6083a75d1b Ensure no IV collisions Cameron Gutman 2024-01-14 13:18:22 -06:00
  • 3430ee2c3a Add control stream encryption v2 support Cameron Gutman 2024-01-14 12:58:48 -06:00
  • b6bbb4fb26 Add new RTSP encryption flags Cameron Gutman 2024-01-14 12:08:37 -06:00
  • 15b55a441b Add LiGetExtraLaunchArgs() Cameron Gutman 2024-01-14 11:48:59 -06:00
  • 723cac034b Discard unencrypted packets on encrypted control stream Cameron Gutman 2024-01-14 11:41:01 -06:00
  • 6e9ed871bc Add support for X-SS-Connect-Data in RTSP SETUP for control stream Cameron Gutman 2023-12-28 16:56:06 -06:00
  • 50d8dcb072 Update ENet submodule with Apple dual stack socket fix Cameron Gutman 2023-12-28 16:10:55 -06:00
  • 3aae4cdc59 Improve ENet socket error propagation for better debuggability Cameron Gutman 2023-12-22 13:45:50 -06:00
  • 3ed3ba6253 Remove separate codec, HDR, and remote bitrate adjustments Cameron Gutman 2023-12-03 20:09:34 -06:00
  • 5de4a5b85a Bind the control stream socket to the local address used for other UDP traffic Cameron Gutman 2023-10-26 01:27:31 -05:00
  • bbf15af837 Revert "Use connected datagram sockets for audio and video" Cameron Gutman 2023-10-26 01:15:27 -05:00
  • 05c3f9c754 Bind our UDP sockets to the same local address used by RTSP handshake Cameron Gutman 2023-10-26 01:09:26 -05:00
  • c86f49ee7f Remove batch delay for gamepad motion events Cameron Gutman 2023-10-16 22:08:02 -05:00
  • c9e5660b8c Track the last sent controller packet by controller index Cameron Gutman 2023-10-16 22:02:55 -05:00
  • 615b5e2bba Rewrite input batching for mouse and gamepad sensors Cameron Gutman 2023-10-16 21:43:05 -05:00
  • 8d30079033 Prevent flooding the queue with motion events Cameron Gutman 2023-10-16 18:05:42 -05:00
  • 47fa51034a Revert change to send mouse position and gamepad events as unreliable Cameron Gutman 2023-10-16 18:02:57 -05:00
  • f78f2135fa Don't strictly enforce picture data following the first PPS in debug mode Cameron Gutman 2023-10-13 23:23:27 -05:00
  • 5e844aad08 Fix UBSan warning for signed integer overflow Cameron Gutman 2023-10-11 20:09:48 -05:00
  • 620b4be477 Add separate LC_ASSERT_VT() for asserts that only apply for valid traffic Cameron Gutman 2023-10-11 20:01:39 -05:00
  • 574ad6e676 Reject video packets beyond our valid sequence number range for the FEC block Cameron Gutman 2023-10-11 17:32:39 -05:00
  • 836bc6611f Batch split UTF-8 packets at the ENet layer Cameron Gutman 2023-10-11 01:18:12 -05:00
  • 8d73a9f8b7 Allow the UTF-8 splitting loop to be interrupted Cameron Gutman 2023-10-11 01:10:34 -05:00
  • d828868bc8 Fix uninitialized channel and packet flags in split UTF-8 packets Cameron Gutman 2023-10-11 00:56:54 -05:00
  • da7967632a Add a workaround for clients still using a short to represent button flags Cameron Gutman 2023-10-10 18:07:32 -05:00
  • 426745fa24 Extend to 32-bit button flags for the older LiSendControllerEvent() API Cameron Gutman 2023-10-10 18:07:08 -05:00
  • d457fbb487 Fix warning for fopen() in RecorderCallbacks.c Cameron Gutman 2023-10-06 23:17:25 -05:00
  • 7580f3f8e3 Remove _CRT_SECURE_NO_WARNINGS now that we use safe string functions everywhere Cameron Gutman 2023-10-06 22:42:25 -05:00
  • 1351f382aa Minor cleanups to RTSP URL parsing Cameron Gutman 2023-10-06 21:30:45 -05:00
  • 24750d4b74 Fix buffer overflow in performRtspHandshake (CVE-2023-42800) Keane O'Kelley 2023-10-06 20:53:17 -04:00
  • 02b7742f4d Fix buffer overflow in parseUrlAddrFromRtspUrlString (CVE-2023-42799) Keane O'Kelley 2023-10-06 20:51:21 -04:00
  • 116267a245 Fix parseSdpAttributeTo[U]Int() to avoid writing to the const input string Cameron Gutman 2023-10-06 18:12:08 -05:00
  • b2497a3918 Rewrite extractVersionQuadFromString() to avoid copying the input string Cameron Gutman 2023-10-06 17:43:56 -05:00
  • 8b84d17c8d Replace additional unsafe string functions Cameron Gutman 2023-10-06 17:33:37 -05:00
  • d055599608 Map Misc button to Guide for GFE hosts Cameron Gutman 2023-10-05 20:29:18 -05:00
  • 162c581754 Initialize strtokCtx to NULL for first call to strtok_r() Cameron Gutman 2023-09-27 01:27:12 -05:00
  • 1be56269a3 Fix handling of duplicate packets when OOS data was also received Cameron Gutman 2023-09-23 12:08:16 -04:00
  • 7a6d12fc4e Update ENet submodule to add ENET_NO_INSTALL option Cameron Gutman 2023-09-20 20:52:28 -05:00
  • c1744de069 Batch async control stream callbacks Cameron Gutman 2023-09-18 23:02:44 -05:00
  • a258b7e12b Fix leak in unreachable codepath Cameron Gutman 2023-09-18 22:59:03 -05:00
  • c3e9aea843 Fix non-standard forward declaration Cameron Gutman 2023-09-18 21:19:59 -05:00
  • 20130e210b Invoke control stream callbacks on a separate thread Cameron Gutman 2023-09-17 14:49:06 -05:00
  • b2528faa02 Disable GCC static analysis in CI until newer GCC is available in AppVeyor Cameron Gutman 2023-09-15 23:19:10 -05:00
  • 7f665babf9 Enable GCC static analysis in CI Cameron Gutman 2023-09-15 22:41:37 -05:00
  • 515bea6fb4 Fix GCC static analysis warnings Cameron Gutman 2023-09-15 22:03:27 -05:00
  • c13f4a323f Use connected datagram sockets for audio and video Cameron Gutman 2023-09-12 23:29:05 -05:00
  • ec6713fd80 Improve checks for runt video packets Cameron Gutman 2023-09-12 22:44:45 -05:00
  • 171858c2e7 Add CodeQL scanning Cameron Gutman 2023-09-12 21:39:17 -05:00
  • 315d0bbfa3 Use modern string parsing functions in SdpGenerator Cameron Gutman 2023-09-12 21:24:28 -05:00
  • 5a19e52921 Use modern string parsing functions in RtspParser Cameron Gutman 2023-09-12 20:53:04 -05:00
  • 91b4186b8a Use strtok_r()/strtok_s() instead of regular strtok() Cameron Gutman 2023-09-12 20:36:19 -05:00
  • 2bb026c763 Suppress connection warnings for the first sampling period Cameron Gutman 2023-08-23 21:03:40 -05:00
  • dc62a6f88e Send periodic pings and FEC status messages more frequently Cameron Gutman 2023-08-19 11:39:55 -05:00
  • e05ee6dfc8 Change FEC status message to avoid truncating large frames Cameron Gutman 2023-08-19 11:37:44 -05:00