Commit Graph
90 Commits
Author SHA1 Message Date
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
Cameron Gutman 267a3eecd9 A few more fixes 2014-01-20 21:26:52 -05:00
Cameron Gutman 407e6aebc9 Fix build 2014-01-20 21:19:38 -05:00
Cameron Gutman 9f0540e030 Rename *.cpp to *.c 2014-01-20 20:36:30 -05:00
Cameron Gutman d54c7cc821 Fix return type of PltSleepMs 2014-01-20 20:34:48 -05:00
Cameron Gutman 3740fd295c Fix thread termination issues 2014-01-20 20:33:43 -05:00
Cameron Gutman 2f83dba24c Fix error propagation from WinSock functions. Fix cleanup of sockets. Allow the handshake to be interrupted. 2014-01-20 19:26:33 -05:00
Cameron Gutman d6c77b0323 Cleanup a bunch of the code and the interface itself 2014-01-20 19:11:25 -05:00
Cameron Gutman 3b057e4a6b Fix video decoding bug 2014-01-20 17:07:49 -05:00
Cameron Gutman 58c1771761 Fix buffer overread 2014-01-19 06:21:43 -05:00
Cameron Gutman a290613190 Fix deadlock in POSIX impelementation 2014-01-19 05:54:24 -05:00
Cameron Gutman fdf366e749 Fix memory leak 2014-01-19 05:04:02 -05:00
Cameron Gutman 2f18a9aea7 Fix leftover 2014-01-19 01:46:08 -05:00
Cameron Gutman 44228d1296 Increase the receive window size. Fix endianness issue with RTP sequence numbers. More bug fixes! 2014-01-19 01:41:27 -05:00
Cameron Gutman 979a439504 Fix many bugs in the initial code 2014-01-19 01:20:54 -05:00
Cameron Gutman 2e971e102a Finished video depacketizing. Starting tests 2014-01-18 23:09:28 -05:00
Cameron Gutman 77b08df4be More fixes and work on video 2014-01-18 21:28:34 -05:00
Cameron Gutman e2ba031729 Initial work for depacketizer 2014-01-18 19:39:00 -05:00
Cameron Gutman 103c052729 Cross-platform threading, sockets updates, and control stream implementation, and various other fixes 2014-01-18 18:53:50 -05:00
Cameron Gutman f02e916f6c Initial commit 2014-01-18 15:14:42 -05:00