46 Commits

Author SHA1 Message Date
Cameron Gutman
51e5b89018 Add H.265 video support 2016-03-02 06:25:19 -05:00
Iwan Timmer
fd247151ce Add support for Generation 5 servers (GFE 2.10.2+) 2016-02-19 17:20:56 +01:00
Cameron Gutman
a8d98284a7 When a decoder requests an IDR frame, don't submit another frame until the IDR frame arrives 2016-02-18 13:23:03 -05:00
Cameron Gutman
67b70e9cbd Implement queue shutdown 2016-02-15 17:00:31 -05:00
Michelle Bergeron
5ba0f82b35 Manually cleanup files that somehow survived the mass find/replace 2016-02-13 13:47:52 -06:00
Michelle Bergeron
35835898c3 Cleanup: standardize * by type name, not var name 2016-02-13 13:28:58 -06:00
Michelle Bergeron
c8bad4ed2f Major code cleanup: comment style & run CodeMaid 2016-02-13 13:01:24 -06:00
Cameron Gutman
dfdfe4f0f6 Fix inconsistent whitespace 2016-02-06 23:46:47 -05:00
Cameron Gutman
a083e0b46d Fix reference frame invalidation bugs 2015-08-11 21:34:28 -07:00
Cameron Gutman
71f923f062 Guard reference frame invalidation behind a video renderer capability flag and do some refactoring and bugfixes to the new code 2015-08-11 19:57:06 -07:00
Cameron Gutman
beb7ccb456 Merge branch 'invalidateFrames' of https://github.com/irtimmer/moonlight-common-c 2015-08-11 19:24:11 -07:00
Iwan Timmer
7892c5a80f Do frame invalidation to reduce IDR requests 2015-08-11 22:22:27 +02:00
Iwan Timmer
812f356868 Add capability to combine video receive and decode thread 2015-08-11 20:12:02 +02:00
Iwan Timmer
dc57079831 Fix skipping first video packet 2015-08-11 15:16:14 +02:00
Cameron Gutman
a29fb05f6c Remove unused parameter 2015-07-20 19:11:49 -05:00
Cameron Gutman
1cd17536db Fix leak of video fragments if the frame queue reaches the size limit 2015-07-02 00:07:49 -05:00
Cameron Gutman
a5f59d206e Improve debugging and error codes 2015-06-24 22:52:26 -07:00
Cameron Gutman
956d6bb217 Add an RTP reordering queue to handle out of order packets 2015-05-28 08:32:51 -05:00
Cameron Gutman
601dd55d7c Save an allocation per video frame, audio packet, and input event by embedding an LBQ entry inside the linked data structure 2015-05-28 06:06:40 -05:00
Cameron Gutman
fcd2a20e01 Fix a bug caught by -Wall that had us make an extra call for each video packet 2015-05-15 01:38:44 +00:00
Cameron Gutman
7883ce67cd Add missing newline in debug print 2015-01-22 16:55:27 -05:00
Cameron Gutman
8dae26aa52 Request an IDR frame after 120 dropped frames 2015-01-09 00:04:00 -05:00
Michelle Bergeron
d9f55e9c8f Better commenting on methods 2014-10-23 01:16:35 -04:00
Cameron Gutman
8a5643784e Cleanup some harmless issues found by Clang 2014-10-18 05:18:39 -04:00
Cameron Gutman
0ee1609cc4 Properly flush the DU queue when we hit the limit. Fixes extreme lag that occurs after streaming for a bit. 2014-08-30 17:07:08 -07:00
Cameron Gutman
dc926946dd Handle reuse of limelight-common for another stream 2014-08-30 16:39:26 -07:00
Cameron Gutman
cb148c7139 Use a single allocation for a video fragment 2014-08-24 11:44:29 -07:00
Michelle Bergeron
4d4a6c236e Add some method comments 2014-08-23 13:40:39 -07:00
Cameron Gutman
63c8fd2d6b Add missing newlines in Limelog calls 2014-08-22 23:48:10 -07:00
Cameron Gutman
c29d7efe7a Fix a straggler 2014-08-17 21:03:28 -07:00
Cameron Gutman
db2924f6f7 Fix C99-isms 2014-08-17 21:01:42 -07:00
Cameron Gutman
806f5f184a Update video code for GFE 2.1.1 2014-08-17 20:57:30 -07:00
Michelle Bergeron
36e8af4fd9 Add gitignore 2014-07-31 03:26:58 -04:00
Cameron Gutman
5c70cf9b3a Fix typo 2014-06-29 18:58:36 -07:00
Michelle Bergeron
f2af6c8bd9 Revert "Remove decoding thread like in Java common"
This reverts commit 50733f6d7af941fb0771b1e4ad77b85183261715.
2014-06-29 17:36:03 -07:00
Cameron Gutman
125f81118f Remove C99-isms 2014-06-29 17:34:03 -07:00
Cameron Gutman
50733f6d7a Remove decoding thread like in Java common 2014-06-29 00:24:25 -07:00
Cameron Gutman
8c8fcc7cbe Add support for handling alternate max packet sizes 2014-06-29 00:06:29 -07:00
Cameron Gutman
ee96cccb51 Update control connection for GFE 2.0.1+. Remove config and handshake code that isn't used on GFE 2.0.1+ 2014-06-28 21:19:39 -07:00
Cameron Gutman
8dcf4372f4 Use a double-linked list for the linked blocking queue so insertions are done in O(1) time 2014-04-02 22:47:49 -04:00
Cameron Gutman
e27218f56e Update depacketizer to using the same algorithm as the Java version for decreased CPU load 2014-03-29 11:50:58 -04:00
Cameron Gutman
12a31f8442 Add static keyword to global variable declarations 2014-02-02 05:05:37 -05:00
Michelle Bergeron
da9433fb0a Remove extra spacing and fix indentation 2014-01-29 02:15:49 -05:00
Cameron Gutman
ac48766cad Fix failed queue offer code 2014-01-20 22:24:19 -05:00
Cameron Gutman
267a3eecd9 A few more fixes 2014-01-20 21:26:52 -05:00
Cameron Gutman
9f0540e030 Rename *.cpp to *.c 2014-01-20 20:36:30 -05:00