Commit Graph

346 Commits

Author SHA1 Message Date
Cameron Gutman bedcbfbb7e Basic streaming working on new-core 2017-05-15 00:30:25 -07:00
Cameron Gutman 73e4970a43 JNI code complete 2017-05-14 23:06:41 -07:00
Cameron Gutman ac8b7ae960 Add OpenSSL and mk files for moonlight-core 2017-05-14 20:39:39 -07:00
Cameron Gutman c62986e7b1 Plumb common->JNI functions 2017-05-14 18:19:39 -07:00
Cameron Gutman a3d5e955aa Rework interfaces for JNI bridge 2017-05-14 17:12:30 -07:00
Cameron Gutman 04e77e557b Update .gitignore 2017-05-14 15:10:41 -07:00
Cameron Gutman a748b54041 Update build.gradle 2017-05-14 15:09:36 -07:00
Cameron Gutman f77673a5c8 Move JNI modules and add moonlight-common-c submodule 2017-05-12 18:56:18 -07:00
Cameron Gutman 23ebc4d927 Purge the majority of the streaming core 2017-05-12 18:46:01 -07:00
Cameron Gutman 92b86674b9 Ignore iml files 2017-05-12 18:21:36 -07:00
Cameron Gutman f94d224395 Clean up build files 2017-05-12 18:19:29 -07:00
Cameron Gutman 822f498646 Migrate all files to AAR project 2017-05-12 17:53:55 -07:00
Cameron Gutman 4566c1855b Allow clients to correctly send the number of controllers connected 2017-02-04 21:00:10 -08:00
Cameron Gutman 195bf8ed55 Apparently we're back to 8 byte first frame headers on GFE 3.2 2016-12-13 20:33:58 -08:00
Cameron Gutman 52678cfe35 Move the mouse cursor 1 pixel each direction when connecting to force the screen to wake up 2016-11-06 01:04:50 -07:00
Cameron Gutman 61f89a2d4c Remove isRunning property from apps (since it's gone in GFE 3.1) 2016-10-21 12:16:43 -07:00
Cameron Gutman ba398e4073 Handle pairing while a pairing attempt is pending 2016-10-20 00:06:41 -07:00
Cameron Gutman a14a4a8d60 Add support for GFE 3.0.7 2016-10-05 18:45:19 -07:00
Cameron Gutman 9caf3b37ac Fix IDR frame requests on Gen 3 servers 2016-09-24 13:21:29 -07:00
Cameron Gutman e6965605c9 Consolidate string trimming into getXmlString() 2016-09-20 14:37:51 -07:00
Cameron Gutman 5b355a3e73 Fail quitApp() if the session isn't ours 2016-09-20 14:35:06 -07:00
Cameron Gutman 92d534a9c3 Merge pull request #15 from nanotech/f/idr-obo
Fix off-by-one when looking for an I-frame NAL
2016-09-11 10:02:55 -07:00
NanoTech 2d08f568e9 Fix off-by-one when looking for an I-frame NAL
Between finding the NAL and checking its type,
reassembleFrame is called and overwrites the
cachedSpecialDesc with the data and NAL type
from the previous NAL. If the only IDR NAL in the
packet is the last NAL in the packet, it gets
missed and the depacketizer is stuck waiting
for it.
2016-09-10 00:52:56 -06:00
Cameron Gutman a9f7b1aeab Merge branch 'android' 2016-08-13 13:39:36 -07:00
Cameron Gutman 4f53cfcb20 Only use 4K on GFE 3.x 2016-08-13 13:24:31 -07:00
Cameron Gutman ffd70986b3 Improve mDNS for multi-homed systems 2016-06-18 11:36:36 -07:00
Cameron Gutman b5e89e47b6 Improve mDNS for multi-homed systems 2016-05-29 16:04:55 -05:00
Cameron Gutman 439afd15fa Cancel the pending IDR frame request if we got a spurious IDR frame after a stream discontinuity 2016-05-27 12:38:27 -05:00
Cameron Gutman 8d2bfecb10 Cancel the pending IDR frame request if we got a spurious IDR frame after a stream discontinuity 2016-05-27 12:38:09 -05:00
Cameron Gutman 7d15c34ed2 Fix debug message 2016-05-22 14:09:04 -05:00
Cameron Gutman 4ef1b8dc4c Fix debug message 2016-05-07 20:55:41 -04:00
Cameron Gutman c0d64058fd Return the oldest packet instead of removing it upon RTP queue constraint violation 2016-05-07 20:26:57 -04:00
Cameron Gutman 3c11ff63a7 Return the oldest packet instead of removing it upon RTP queue constraint violation 2016-05-07 20:26:44 -04:00
Cameron Gutman 537a50bee5 Revert "Some Java crypto providers don't allow IvParameterSpec objects for GCM ciphers, so use GCMParameterSpec instead"
This reverts commit b37d46fae9b89f5435990c75ce540d64efe374f7.
2016-04-21 13:28:55 -04:00
Cameron Gutman 1a58b228a0 Revert "Fallback to IvParameterSpec if GCMParameterSpec is not available"
This reverts commit 8324c2c772a191a726e2027b1487d872897bf184.
2016-04-21 13:28:31 -04:00
Cameron Gutman 248a135f86 Fallback to IvParameterSpec if GCMParameterSpec is not available 2016-04-20 13:31:56 -04:00
Cameron Gutman 246fb69050 Fix dangerous connection teardown ordering leading to native crashes in jnienet 2016-04-04 01:18:14 -04:00
Cameron Gutman a907dd0084 Remove unused (and unsafe) function on the ConnectionStatusListener 2016-04-04 01:16:33 -04:00
Cameron Gutman fe58361724 Some Java crypto providers don't allow IvParameterSpec objects for GCM ciphers, so use GCMParameterSpec instead 2016-03-30 01:26:14 -04:00
Cameron Gutman a0f93a2dc3 Fix audio stream name on Gen 4 and below 2016-03-29 22:03:32 -04:00
Cameron Gutman 82390ec9b9 Fix input encryption IV after controller packets are sent 2016-03-29 19:55:31 -04:00
Cameron Gutman 34ef95926e Fix RTSP handshake on Gen 7 servers 2016-03-29 18:42:15 -04:00
Cameron Gutman faa0cba39d Fix input encryption on Gen 7 servers 2016-03-29 18:41:57 -04:00
Cameron Gutman 8b395bb29f Pairing support for Gen 7 servers 2016-03-28 18:38:11 -04:00
Cameron Gutman 31d7f237eb Fix RTSP payload timeout being too aggressive 2016-03-08 13:05:55 -08:00
Cameron Gutman ef8c49f135 ENet JNI API update 2016-03-07 14:35:52 -08:00
Cameron Gutman a8c460e715 Close the ENet connection only after threads that might be using it have been killed 2016-03-07 12:51:48 -08:00
Cameron Gutman d75e42e23d Fix crashing on connecting to Gen 4 after running a Gen 5 stream 2016-03-06 21:29:06 -08:00
Cameron Gutman b191425112 Finish packet reading for RTSP and control streams 2016-03-06 15:51:15 -08:00
Cameron Gutman c06a4ab76d Implement RTSP over ENet 2016-03-05 19:10:22 -06:00