Commit Graph
100 Commits
Author SHA1 Message Date
Cameron Gutman 01491581bd Ignore xcuserdata directories 2014-10-23 13:25:44 -04:00
Cameron Gutman 1091001329 Remove xcuserdata directories 2014-10-23 13:24:34 -04:00
Cameron Gutman d7e7aa567a Revert "remove more Diego-specific xcode files that don't belong in a common library"
This reverts commit e9b2c77345.
2014-10-23 13:20:20 -04:00
Cameron Gutman 5b6e9db049 Revert "Remove xcode file from the project"
This reverts commit d000777595.
2014-10-23 13:14:31 -04:00
Cameron Gutman 47820c35bd Send TCP messages in a single call to send() because GFE can't handle receiving messages in fragments 2014-10-22 21:48:52 -04:00
Cameron Gutman e56f13b123 Set SO_NOSIGPIPE on Darwin to stop from breaking into the debugger every time a connection closes 2014-10-21 14:17:52 -04:00
Cameron Gutman affcb84d36 Fix duplicate symbols 2014-10-21 03:05:51 -04:00
Cameron Gutman 88d8c8ede7 Fix issues stopping and restarting streams 2014-10-21 01:50:46 -04:00
Cameron Gutman c8814fad0b Guarantee that only one connectionTerminated callback will ever happen 2014-10-21 01:14:12 -04:00
Cameron Gutman 39f6631201 Add missing callback to connectionTerminated 2014-10-21 00:59:37 -04:00
Cameron Gutman 25faaa9e6b Ignore SIGPIPE on POSIX platforms to fix the crash on connection closure in Limelight-iOS 2014-10-20 23:27:41 -04:00
Cameron Gutman df9ba620e8 Remove file from project 2014-10-18 22:22:59 -04:00
Cameron Gutman b168c9d273 Remove shell script in preparation for build integration with Limelight-iOS 2014-10-18 22:03:12 -04:00
Cameron Gutman 1906128eb7 Fix warnings in RtspParser 2014-10-18 21:46:22 -04:00
Cameron Gutman 378e05fccf Fix memory leaks in the control stream code 2014-10-18 21:45:58 -04:00
Cameron Gutman 330cb36490 Add casts to OpenAES function use to fix the last remaining warnings 2014-10-18 11:37:10 -04:00
Cameron Gutman 9e6ee13918 Fix some warnings in OpenAES from unused variables/functions 2014-10-18 11:36:24 -04:00
Cameron Gutman 0758de960a Clean up a bunch of warnings when building with Xcode 6.1 2014-10-18 11:32:29 -04:00
Cameron Gutman 8a5643784e Cleanup some harmless issues found by Clang 2014-10-18 05:18:39 -04:00
Cameron Gutman 841e3d9f22 Don't bind to a specific port anymore 2014-10-12 12:04:32 -07:00
Cameron Gutman 36b426d59e Update SDP code to parity (mostly) with limelight-common 2014-10-12 12:02:10 -07:00
Cameron Gutman a0d9174e75 Add support for vertical scrolling 2014-10-12 11:59:42 -07:00
Cameron Gutman 3dee3a60d5 Fix build on Windows 2014-08-31 12:18:42 -07: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 cff7ec1d10 Fix debugging on Windows 8.1 2014-08-30 16:22:00 -07:00
Cameron Gutman a7aabe0ea6 Fix controller and keyboard packets 2014-08-30 13:36:54 -07:00
Cameron Gutman 0b0dbbdaab Prevent queuing input packets before the queue is initialized 2014-08-30 12:54:12 -07:00
Cameron Gutman d9bbe53681 Implement LiSendControllerEvent 2014-08-30 10:58:43 -07:00
Cameron Gutman 51b78b628b Remove getpid() which isn't present in WinRT 2014-08-27 00:32:24 -07:00
Cameron Gutman 74f2334c2e Add encrypted input support 2014-08-26 23:33:43 -07:00
Cameron Gutman 5d2d6cc617 Fix heap corruption after packet queue overflow 2014-08-24 17:20:09 -07:00
Cameron Gutman 57031d26e1 Omit default lib name 2014-08-24 14:19:06 -07:00
Cameron Gutman 51710ff18a Fix code analysis issues and a couple small memory leaks 2014-08-24 12:47:04 -07:00
Cameron Gutman 22f6027cfa Disable deprecated Winsock warnings 2014-08-24 12:38:23 -07:00
Cameron Gutman 01901ec451 Move buffer declaration outside the loop 2014-08-24 12:19:00 -07:00
Cameron Gutman cb148c7139 Use a single allocation for a video fragment 2014-08-24 11:44:29 -07:00
Cameron Gutman e438445219 Fix missing status checks 2014-08-24 11:43:52 -07:00
Cameron Gutman fa93a6cef5 Optimize the audio receive path 2014-08-24 11:35:10 -07:00
Cameron Gutman 129951975f Fix removal of the last thread from the thread list 2014-08-23 00:11:03 -07:00
Cameron Gutman 63c8fd2d6b Add missing newlines in Limelog calls 2014-08-22 23:48:10 -07:00
Cameron Gutman 4f4d8d0b6c Add pack pragmas to video packets 2014-08-22 23:47:53 -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
Cameron Gutman 1e4c65e7bb Send the new loss stats packet for GFE 2.1.1 2014-08-17 20:56:56 -07:00
Cameron Gutman 6571708eb5 Fix RTSP parser and connection bugs 2014-08-17 20:06:05 -07:00
Cameron Gutman 5a97188197 Initial RTSP implementation for GFE 2.1.1 2014-08-17 19:09:06 -07:00
Cameron Gutman fb40201672 Add FLAG_ALLOCATED_PAYLOAD to tell freeMessage() to also free the payload buffer. Don't free the message itself in freeMessage() because it's always stack allocated 2014-08-17 19:08:32 -07:00
Cameron Gutman b081b155cf Add Rtsp.h to project 2014-08-17 19:07:16 -07:00
Cameron Gutman a0506eb415 Update SDP generator for GFE 2.1.1 2014-08-17 19:06:56 -07:00
Cameron Gutman eca83d1b29 Disable secure CRT warnings 2014-08-17 17:32:54 -07:00
Cameron Gutman b497b342b6 Add RTSP parser to project 2014-08-17 17:32:30 -07:00
Cameron Gutman f3ad65c009 Revert "Migrate to WP 8.1"
This reverts commit f7d3734cff.
2014-08-17 17:27:25 -07:00
Cameron Gutman 18405f576d Fix a race between the start callback and the first frame's data 2014-06-29 21:07:07 -07:00
Cameron Gutman 5c70cf9b3a Fix typo 2014-06-29 18:58:36 -07:00
Cameron Gutman 7f590a7601 Fix packet size allocation for video stream 2014-06-29 18:30:55 -07:00
Cameron Gutman 125f81118f Remove C99-isms 2014-06-29 17:34:03 -07:00
Cameron Gutman caa6a203ed Start RTSP handshake work (pending RTSPLib integration) 2014-06-29 00:53:37 -07:00
Cameron Gutman 50733f6d7a Remove decoding thread like in Java common 2014-06-29 00:24:25 -07:00
Cameron Gutman 97710478de Remove the depacketizer thread 2014-06-29 00:06:54 -07:00
Cameron Gutman 8c8fcc7cbe Add support for handling alternate max packet sizes 2014-06-29 00:06:29 -07:00
Cameron Gutman a38e1f37eb Fix loss of data in GetLong/PutLong 2014-06-29 00:05:21 -07:00
Cameron Gutman c5491ef928 Fix SDP generator bugs based on testing within the test harness 2014-06-28 23:54:50 -07:00
Cameron Gutman c1d273c22f Fix build warnings and errors 2014-06-28 22:53:10 -07:00
Cameron Gutman 0490201b79 Add untested SDP generator 2014-06-28 22:49:05 -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 929487249d Create new threads suspended on Windows and WP to prevent a race condition 2014-04-06 20:53:39 -04:00
Cameron Gutman cdf07e6905 Initialize the thread list mutex 2014-04-06 20:33:48 -04:00
Cameron Gutman d5037dff82 Fix code analysis "issues" 2014-04-06 16:46:18 -04:00
Cameron Gutman d903ee7784 Implement support for interrupting waits on Windows Phone. Use the same path for Windows. 2014-04-06 16:34:30 -04:00
Cameron Gutman 2493c04019 Merge branch 'master' of github.com:limelight-stream/limelight-common-c 2014-04-02 22:47:56 -04: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 e281d3c9fe Remove jank WP winsock header stuff 2014-03-29 21:56:18 -04:00
Cameron Gutman ddd3cb8da9 Wait for a resync reply before trying to resync again 2014-03-29 21:55:42 -04:00
Cameron Gutman 61909b373f Pass the correct socket error to connectionTerminated() 2014-03-29 21:55:05 -04:00
Cameron Gutman 761f324465 Add keyboard and mouse input support 2014-03-29 15:45:31 -04:00
Cameron Gutman c553b14da6 Remove Win32-specific error codes 2014-03-29 15:44:43 -04:00
Cameron Gutman c7c929d751 Add connection listener callbacks (WIP) 2014-03-29 14:20:36 -04:00
Cameron Gutman 0f586ce05f Fix memory leak in audio stream code 2014-03-29 12:17:55 -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 794a428f3a Update config based on Shield OTA 68 2014-02-04 09:11:31 -05:00
Cameron Gutman 7a59f04db1 Add missing call to Audio Renderer’s init() callback. 2014-02-02 21:07:54 -05:00
Cameron Gutman f9882f91e1 Replace #ifdef _WIN32 with gates on our platforms definitions. Implement PltIsThreadInterrupted for POSIX. Fix PltWaitForEvent for POSIX. 2014-02-02 06:17:28 -05:00
Cameron Gutman 8ad3145638 Add missing callbacks to Stop and Release for A/V 2014-02-02 05:54:41 -05:00
Cameron Gutman b775e6b8fb Fix a print during connection cleanup 2014-02-02 05:48:43 -05:00
Cameron Gutman 75c80347a7 Fix mutexes on Windows and Windows Phone 2014-02-02 05:46:11 -05:00
Cameron Gutman 30f275768c Add audio support 2014-02-02 05:34:12 -05:00
Cameron Gutman ac6412f4be Fix compile error on Windows 2014-02-02 05:05:52 -05:00
Cameron Gutman 12a31f8442 Add static keyword to global variable declarations 2014-02-02 05:05:37 -05:00
Cameron Gutman 31cd93b11b Finally fix the stupid bug causing callbacks to crash. We were directly using a pointer to stack that is invalid after initialization. 2014-02-02 04:56:18 -05:00
Cameron Gutman c04a8e9b4c Fix debugging on WP with a huge hack 2014-01-28 19:24:04 -05:00
Cameron Gutman 41fab76461 Switch a straggling printf to Limelog 2014-01-28 19:22:13 -05:00
Cameron Gutman 1d20b17850 Fix most of limelight common build for Windows Phone 2014-01-22 20:17:40 -05:00
Cameron Gutman d4422ced0d Add parameters to LiStartConnection 2014-01-20 22:33:02 -05:00
Cameron Gutman ac48766cad Fix failed queue offer code 2014-01-20 22:24:19 -05:00
Cameron Gutman b5430217dd Fix size tracking in LBQ 2014-01-20 22:10:15 -05:00
Cameron Gutman 638787d3dd Fix misuse of sizeof on dynamic allocation 2014-01-20 22:05:14 -05:00
Cameron Gutman 00de922f34 Fix freeing of a stack allocation. Fix bad LC_ASSERT definition on non-Windows platforms 2014-01-20 21:55:48 -05:00
Cameron Gutman 462b1d1e9b Prevent name mangling on C++ 2014-01-20 21:38:29 -05:00