246 Commits

Author SHA1 Message Date
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
Sean DuBois 2863555984 Export RTP/RTCP to unique packages
Resolves #272
2019-01-28 11:38:54 -08:00
Sean DuBois f262778d3a Move internal/srtp to github.com/pions/srtp
Resolves #272
2019-01-27 21:12:08 -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
Sean DuBois a49250cdf8 Remove internal/network package
Some things still need to be moved/re-written for ORTC, but this makes
everything available in RTCPeerConnection

Resolves #313
2019-01-21 11:21:10 -08:00
Sean DuBois 69d41e66dc Use new SRTP API, instead of just Read/Write
Relates to #272
2019-01-13 13:17:09 -08:00
Sean DuBois f9a027dfa6 Rewrite SRTP streams to decrypt in place
Resolves #272
2019-01-13 13:17:09 -08:00
Sean DuBois 3040a26ec1 Update SRTCP to handle under/over sized buffers
Relates to #272
2019-01-13 13:17:09 -08:00
Sean DuBois bb90754f46 Update SRTCP to allow in place operations
Relates to #272
2019-01-13 13:17:09 -08:00
Sean DuBois bce2813b68 Update SRTP to allow in place operations
Relates to #272
2019-01-13 13:17:09 -08:00
backkem ba05cd5224 ORTC: Improve test coverage
Relates to #273
2019-01-08 13:43:49 -08:00
backkem 356f070793 Back WebRTC by RTCSctpTransport
Relates to #313
2019-01-08 13:43:49 -08:00
backkem f2dc5557eb Back WebRTC by RTCDtlsTransport
Relates to #313
2019-01-08 13:43:49 -08:00
backkem 10397a79c7 Back WebRTC by RTCIceGatherer and RTCIceTransport
Relates to #313
2019-01-08 13:43:49 -08:00
Woodrow Douglass 8baed5d197 Shorten the argument list for network.NewManager
Relates to #325
2019-01-07 13:11:27 -08:00
Woodrow Douglass bd75c3381e Add some tests to improve coverage
Relates to #324
2019-01-07 13:11:27 -08:00
Woodrow Douglass c9bb14e6c3 Add settingEngine hooks to modify ICE timeouts
Relates to #324
2019-01-07 13:11:27 -08:00
Sean DuBois 361cef680f Add RTCPeerConnection Sample test
Relates to #272
2019-01-03 11:56:00 -08:00
Sean DuBois b3ecfc92e2 SRTP and SRTCP has been ported to streams API
Send/Recv and RTCP is complete

Relates to #272
2019-01-03 11:56:00 -08:00
Sean DuBois b6badb4bc7 Move SRTP to streams API
Sending has been implemented, receive is still in progress.

Relates to #272
2019-01-03 11:56:00 -08:00
Sean DuBois 0f0dd62eb0 SRTP and SRTCP are now supported using *Session
Relates to #272
2019-01-03 11:56:00 -08:00
Sean DuBois b89e77db49 Create srtp.SessionSRTP, wire up netwok.Manager
Send+Recv of SRTP uses the new SessionSRTP, this greatly reduces the
amount of code in the network.Manager itself. Also makes everything
thread safe

Relates to #272
2019-01-03 11:56:00 -08:00
Sean DuBois 7dbb5ce0df Make SRTP ProtectionProfile a enum
We only support one for now, but in the future this may be useful

Relates to #272
2019-01-03 11:56:00 -08:00
Sean DuBois b4c07e24fb Update SRTP API to use []byte as input
Generalize the API to prepare for moving to it's own package, and
creation of *Session API

Relates to #272
2019-01-03 11:56:00 -08:00
Sean DuBois 29d004ca75 Move SDP to an external package
Resolves #322
2018-12-28 13:57:59 -08:00