103 Commits

Author SHA1 Message Date
Richard Stanway
da1249ab88 Log send stalls 2013-09-23 11:00:32 +02:00
jp9000
0f7a114b69 fixed a bad formatted string 2013-09-21 19:20:48 -07:00
jp9000
b95889d1b0 added a red message on the status bar if encoding is taking too long to process 2013-09-20 21:22:41 -07:00
Richard Stanway
e32d598cd9 Better fix for bufferedPackets memory leak 2013-09-18 23:29:47 +02:00
jp9000
f67f86c13a fixed the memory leak 2013-09-18 11:34:18 -07:00
Richard Stanway
0764f52b77 Use QWORD for byte counter 2013-09-18 00:29:04 +02:00
Richard Stanway
20b26b412e Fix division by zero 2013-09-18 00:14:53 +02:00
Richard Stanway
3f9fa06608 Log some send() stats 2013-09-17 18:50:08 +02:00
Andrew Cook
7e151641e4 Enable swfUrl 2013-09-15 19:45:59 +10:00
palana
66798dba88 Use reference instead of copy 2013-09-10 02:19:25 +02:00
Richard Stanway
0befa5b7b3 Timeout network flush after 50 seconds rather than crashing 2013-08-23 16:46:52 -04:00
HomeWorld
ac13002d3d Corrected an error message text in RTMPPublisher 2013-08-17 16:53:36 +03:00
Richard Stanway
1116fd106f Fix possible race condition during unexpected RTMP shutdown 2013-08-14 01:05:12 -04:00
jp9000
6f4ea535bd fixed two minor warnings 2013-08-04 12:33:48 -07:00
Richard Stanway
1594ba0cf3 Add RTMP auth to librtmp without using a 3rd party crypto lib 2013-07-31 10:07:07 -04:00
Richard Stanway
9e28da6c48 Add support for quick keyframe on connect
Account for audio timestamp offset when deciding whether to framedrop
Use 128k minimum data buffer size
2013-07-30 00:10:26 -04:00
Richard Stanway
3a422da395 Flush bufferedPackets respecting original timestamps, fix bug in blocking socket code. 2013-07-25 09:12:03 -04:00
Richard Stanway
fb3fa52a65 Add graceful socket shutdown to RTMPPublisher and fix a few bugs 2013-07-25 05:32:04 -04:00
Richard Stanway
1dc66f2f9a Fix crash if shutdown attempted before connected 2013-07-22 21:06:43 -04:00
Richard Stanway
dcedbe9573 Further netcode improvements:
Handle socket errors properly
Ignore multiple stop requests (and subsequent auto reconnects)
Use event polling for ideal send backlog (TCP buffer size)
2013-07-22 21:02:11 -04:00
Richard Stanway
b46899d069 Major netcode refactoring (needs lots of testing!):
Shutdown is now orderly, triggered via ~RTMPPublisher
All pending frames / buffered data are properly sent before closing
Network loop processing improved to avoid late FD_READ events
Downside, 'Stop Stream' now takes a few seconds longer
2013-07-21 09:06:59 -04:00
Richard Stanway
1b7d01985e Actually resolve the hostname before logging interface info 2013-07-21 03:58:24 -04:00
Richard Stanway
fe2aa5e04c Fix improper String usage 2013-07-21 03:51:16 -04:00
Richard Stanway
b9af69fd3b Log network interface type 2013-07-21 03:49:09 -04:00
Richard Stanway
68eab3311b Improved librtmp error messages 2013-05-07 22:28:22 -04:00
jp9000
010503a0df increased the frame drop thresholds ever so slightly because people with poor connections seem to have drop issues with it 2013-05-06 14:24:40 -07:00
Richard Stanway
6ab9f303da Show kbps as a measure of network rate, not queuing rate 2013-04-30 22:35:56 -04:00
Richard Stanway
f18301002b Make auto-reconnect more robust, continue retrying even on network errors 2013-04-05 01:33:56 -04:00
Richard Stanway
9aceaadbcc Some small code cleanups via static analysis (cppcheck) 2013-04-04 03:20:02 -04:00
jp9000
c2a13e8321 Fixed a bug with RTMP publisher queued packets being inserted potentially out of order, and also fixed a bug with proper code not being called on the first keyframe 2013-04-02 22:58:32 -07:00
jp9000
abfef72d85 0.48.007 - removed circular list usage until I can verify it's 100% safe to use, removed a potential memory leak from directshow sources, other minor checks and tweaks 2013-03-31 05:47:11 -07:00
jp9000
7c9302b7eb added yet -another- tiny buffer to the rtmp code to ensure packets are properly ordered when sent out to prevent any weirdness on the server in terms of decoding or transcoding.
also, last commit I added some new audio code, ensures audio now is always totally seamless when sent out
2013-03-27 07:17:41 -07:00
jp9000
da4de110a7 fixed delay, added timed bframe-only dropping 2013-03-05 19:54:58 -07:00
jp9000
4d94812121 new network code 2013-03-05 19:54:58 -07:00
Richard Stanway
57106fe406 Zero error code on socket shutdown to prevent misleading log info 2013-02-17 21:41:04 -05:00
jp9000
99c8112e45 fixed more potential holes in the status bar update thing
fixed slight miscalculation of lost frames in the log file
fixed issue where frames would still preprocess and such even if disabled
2013-02-10 15:49:49 -07:00
Richard Stanway
0e83579b7b Fix crash when MP4FileStream causes ProcessEvents to fire mid-shutdown 2013-02-07 18:23:46 -05:00
Richard Stanway
1636ecf473 Never decrease the socket buffer on congestion 2013-02-06 19:23:59 -05:00
Richard Stanway
47ca0d63a9 Fix spurious newline log message 2013-02-04 15:30:35 -05:00
Richard Stanway
8f4cbaa708 Use SIO_IDEAL_SEND_BACKLOG_QUERY IOCTL on congestion 2013-02-04 04:40:35 -05:00
jp9000
e1fe865a1b something about copyTextures not being NUM_RENDER_BUFFERS 2013-02-01 04:16:39 -07:00
Richard Stanway
0ad353685f Alternative low latency mode and associated settings 2013-01-30 23:04:44 -05:00
Richard Stanway
a673d6e712 Fix deadlock when aborting stream with a full R1CHbuffer™ 2013-01-27 01:38:08 -05:00
jp9000
e2ea43ca93 merging develepment branch. don't kill me! 2013-01-24 20:30:22 -07:00
Richard Stanway
6176a1d2fb Add low latency mode to reduce network strain
Remove remnant send buffer code
2013-01-20 01:51:36 -05:00
Richard Stanway
2db898684f Log librtmp errors to the log file and show connection errors 2013-01-16 15:12:31 -05:00
Richard Stanway
95c1c2aa78 Fix RTMP server logging, disable remnnant send buffer code 2013-01-07 02:54:01 -05:00
Richard Stanway
cc2c3c501d Someone forgot to set their whitespace settings! 2012-12-23 11:54:47 -05:00
Richard Stanway
49c2bbc1f1 Fix some uninitialized memory crashes during RTMP setup 2012-12-23 11:52:14 -05:00
Richard Stanway
05c7ad925f Improved network event handling, recv() discard 2012-12-18 17:23:25 -05:00