Hugo Arregui
6997cc792c
Linter fixes
...
Disable funlen and some fixes
Co-authored-by: Sean DuBois <sean@siobud.com >
2019-09-10 21:48:25 -07:00
Hongchao Ma
0e257f6c3d
Fix crash in mux logging
...
Check buffer length is 0 or not, display a different error message
if we have no contents to display
2019-09-08 03:53:49 -04:00
Sean DuBois
10d2ca3d88
Enable gochecknoglobals linter
...
Resolves #434
2019-07-09 23:31:56 +01:00
Sean DuBois
0d773a38f6
Don't error when no candidate pairs
...
Fix inconsistency with error handling when we have no candidate pairs.
Before we had custom code in RTP handling that would discard errors
if it was because we had no candidate pairs. Move this logic into the
mux so we have consistent behavior with Datachannels
This can be expected and is a soft failure. Every subsystem is expected
to handle lossy communication.
Resolves #706
2019-06-08 17:51:18 -07:00
Sean DuBois
1cdfc10c84
Mass replace pions -> pion
...
Pions organization was renamed to pion
2019-04-04 15:32:03 -07:00
Hugo Arregui
87897285b1
Custom Loggers
...
Define LoggerFactory as part of the SettingEngine
2019-04-01 11:14:13 -03:00
backkem
bcdbc35ce6
Reduce global state
...
Relates to #434
2019-03-21 12:48:57 +01:00
backkem
fe0e4d692b
Move logging out of tree
...
Relates to #361
2019-03-21 12:48:57 +01:00
Luke Curley
08a93d89ba
Optimize Read by buffering
...
Increases the Read performance to acceptable levels. Packet loss went
from roughly 8% to 0.5% with this change.
2019-03-12 21:34:48 -07:00
Sean DuBois
005c731b9b
Fix deadlock on DTLS shutdown
...
DTLS shutdown deadlocks if Close is called before startup completes,
because the DTLS connection hasn't finished yet we don't have handles
to close anything.
This updates DTLS to follow how SCTP is shutdown, by shutting down the
nextConn (ICE in this case) we can shutdown the subsystem. By closing
ICE first, DTLS (and then SCTP) close properly no matter what state
they are in.
Resolves #487
2019-03-07 11:48:40 +01:00
Sean DuBois
632b16b852
Update golangci-lint to v14.0.0
...
Update linter to newest version and fix all new issues
2019-02-17 21:35:04 -08:00
backkem
cecdc46705
Mux: Don't lock during dispatch
...
Changes the mux dispatch logic to hold the mux lock less long.
2019-01-23 23:17:26 +01:00
backkem
ba05cd5224
ORTC: Improve test coverage
...
Relates to #273
2019-01-08 13:43:49 -08:00
Woodrow Douglass
bd75c3381e
Add some tests to improve coverage
...
Relates to #324
2019-01-07 13:11:27 -08:00
Sean DuBois
0f0dd62eb0
SRTP and SRTCP are now supported using *Session
...
Relates to #272
2019-01-03 11:56:00 -08:00
John R. Bradley
7091edaa97
Mux: Fix Mux.dispatch deadlock #2
...
Relates to #276
2018-12-20 01:28:49 -05:00
backkem
e95c4f7add
Mux: Fix Mux.dispatch deadlock
...
Relates to #276
2018-12-20 01:28:49 -05:00
backkem
bd10909a6a
SCTP: Shutdown
...
Relates to #276
2018-12-20 01:28:49 -05:00
backkem
2024438da0
Mux: Test shutdown
...
Relates to #276
d
2018-12-20 01:28:49 -05:00
backkem
97f538a6f2
Add PeerConnection Close test
...
Relates to #276
2018-12-20 01:28:49 -05:00
backkem
9897ba46c7
Refactor DTLS/SRTP muxing
...
Relates to #272
2018-12-10 22:17:50 +01:00