Commit Graph

19 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
Max Hawkins
0e7086d37a Remove RTC prefix from all names
Let's pull off the bandaid!

* Reduces studdering: webrtc.RTCTrack -> webrtc.Track
* Makes it easier to find types by editor autocomplete
* Makes code read more fluently (less repetition)

Since we're breaking the API in 2.0, our only chance to
do this is now.

Relates to #408
2019-02-17 16:22:56 -08:00
backkem
130fec6774 Data channel: Add Close and OnClose
Relates to #180
2019-01-23 23:17:26 +01:00
Hugo Arregui
0022840674 Handle AddIceCandidate if no remote desc is set
- Return proper error and prevent nil pointer dereference
2019-01-23 17:56:24 +01:00
Woodrow Douglass
3aee69ea60 Add some tests for MediaEngine
Also, centralize the error object returned
from media engine codec searches

Relates to #333
2019-01-23 16:21:13 +01:00
Sean DuBois
114de5e33f Fix golint and misspell errors
Found by goreportcard
2018-12-28 00:53:47 -08:00
Konstantin Itskov
0a2568695a Re-organize CreateDataChannel function and add limited spec compliance 2018-09-04 12:11:17 -04:00
Konstantin Itskov
77e6da4b9b Move DOM wrapper errors into their own package 2018-08-28 20:34:23 -04:00
Konstantin Itskov
902cf087aa Add corrections to comply with govet, golint, etc. 2018-08-28 01:03:09 -07:00
Konstantin Itskov
7b7a349071 Add a bunch of documentation all over the library strucutres 2018-08-28 01:03:09 -07:00
Konstantin Itskov
e8364dc5e9 Add fully working RTCIceServer with 100% unit-test code coverage 2018-08-28 01:03:09 -07:00
Konstantin Itskov
c32dd50b97 Add almost completely working stun/turn uri parser 2018-08-28 01:03:09 -07:00
Konstantin Itskov
c6bc9ab4e7 Add proper x509 certificate generation 2018-08-28 01:03:09 -07:00
Konstantin Itskov
20191a4974 Add an almost complete rfc complaint RTCConfiguration 2018-08-28 01:03:09 -07:00
backkem
b9d7aa95b8 API: Fix build. 2018-08-18 00:18:23 -07:00
backkem
c85cded582 API: Initial api structure for creating datachannel and sctp information. 2018-08-18 00:18:23 -07:00
chenkaiC4
2b7ab19a94 fix golangci linter 2018-08-16 01:26:58 -07:00
backkem
ab6910899c api: support a custom media engine 2018-07-16 14:20:18 -07:00
backkem
7f682d2d2e api: match WebRTC api more closely 2018-07-16 14:20:18 -07:00