palana
1b93554034
Initialize variable for all goto paths in RTMPPublisher
...
Fixes "Run-Time Check Failure"s for debug mode binaries in case the service
selection in RTMPPublisher::CreateConnectionThread fails
2014-04-03 14:39:22 +02:00
Richard Stanway
aeb4062e91
I fixed it!
2014-01-29 00:08:10 +01:00
Richard Stanway
a4ae3c2d4c
Refactor RTMP initialization slightly
...
This allows a clean shutdown during a blocking connnect(),
recv() or send() call during RTMP initialization. Previously
OBS would completely block, waiting on the socket to respond.
2014-01-29 00:07:17 +01:00
Richard Stanway
fe62c35f72
Show grey box in status bar when not connected
2014-01-06 01:04:39 +01:00
palana
285b80dd37
Fixed divide by 0 in frame drop percentage calculation
2014-01-04 01:14:36 +01:00
Richard Stanway
9ffb1ca075
Fix 10038 errors / buffer loss from premature socket close
2013-12-30 14:30:00 +01:00
Richard Stanway
bdf27c1cfc
Close RTMP socket before waiting on CreateConnectionThread
2013-12-23 01:33:31 +01:00
Richard Stanway
026cc1ac1a
Add ini setting to disable use of SIO_IDEAL_SEND_BACKLOG_CHANGE
2013-12-10 22:58:02 +01:00
Richard Stanway
53b60d8d24
Fix LSP crashes when ending a stream
2013-10-15 23:03:34 +02:00
Richard Stanway
0aad967854
We're a SocketLoop not a SendLoop
2013-09-27 18:57:32 +02:00
Richard Stanway
8a5247af89
More RTMP logging stuff
2013-09-24 20:23:05 +02:00
Richard Stanway
f8ea9d6b25
Log last send time during FD_CLOSE shutdown
2013-09-23 12:06:14 +02:00
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