Sean DuBois
7edfb701e0
New Track API
...
The Pion WebRTC API has been dramatically redesigned. The design docs
are located here [0]
You can also read the release notes [1] on how to migrate your
application.
[0] https://github.com/pion/webrtc-v3-design
[1] https://github.com/pion/webrtc/wiki/Release-WebRTC@v3.0.0
2020-11-15 09:20:47 -08:00
OrlandoCo
65400221ec
Add methods to read Simulcast RTCP
...
Add ReadSimulcastRTCP and ReadSimulcast to RTPReceiver
2020-10-15 12:11:32 -07:00
Sean DuBois
f3d42e0120
Fix typo Quick
-> Quic
...
Fix typo made when updating golangci-lint
2020-10-03 22:44:07 -07:00
Sean DuBois
804a12fed3
Update CI configs to v0.4.7
...
Update lint scripts and CI configs.
2020-09-30 09:06:34 -07:00
soolaugust
c01b447517
Add signaling state case in CreateAnswer()
...
According to
https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-createanswer .
If connection's signaling state is neither "have-remote-offer" nor
"have-local-pranswer", return a newly created InvalidStateError.
2020-09-03 13:46:46 -07:00
Renovate Bot
ca3cc9d940
Update module pion/srtp to v1.5.0
...
Generated by renovateBot
2020-07-20 23:00:53 -07:00
Sean DuBois
3a60d8dae8
Support ICE values at session level
...
Also add tests to assert we don't have conflicting values. This could
have happened before but we never tested for it.
2020-06-10 00:17:06 -07:00
Sean DuBois
00ba9ab52e
Split ICE and DTLS related SDP parsing out
...
Move this stuff out of SetRemoteDescription so it will be easier to test
Relates to #1023
2020-02-14 18:53:19 -08:00
Sean DuBois
512a7d3330
Implement RemoveTrack
...
RemoveTrack properly removes the Sender, and culls
the RtpReceiver on the remote
Relates to #207
2020-02-09 21:40:37 -08:00
Vicken Simonian
27f93a7f3d
Fix misspelled error types
...
ErrNoTurnCredencials => ErrNoTurnCredentials
ErrTurnCredencials => ErrTurnCredentials
2019-10-17 21:03:58 -07:00
Sean DuBois
d692ddfa54
Support DataChannel protocol in Go
...
Relates to #748
2019-09-27 16:19:49 -07:00
Sean DuBois
2838b1a836
Move ICE code out of internal
...
Users are unable to use the callbacks inside `internal/ice`.
Even though we alias things like OnSelectedCandidatePairChange
are unusable since in the package they use `ice.Candidate` instead of
`ICECandidate`
2019-06-15 01:29:08 -07:00
Adam Kiss
7756848a4c
Moved ice related files to internal/ice
...
Moved ice related files to internal/ice. Added ice.go and
ice_go.go files containing aliases to internal/ice. Added
internal/tools/gen/genaliasdocs.go helper script for generating the
documentation for these aliases. Dropped ice
prefix from file names in internal/ice package.
2019-06-03 10:57:27 -07:00
Michael MacDonald
88448e5e74
Support plan-b (fallback or explicit)
...
By default, we should be using unified-plan as the
SDP format of choice. This patch adds a PeerConnection
configuration option to allow the user to specify that
they want plan-b only, unified-plan only, or a special
compatibility mode where a plan-b answer will be generated
IFF a plan-b offer is received.
2019-04-09 10:26:42 -04: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
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