Sean DuBois
9715626a0c
Revert "Read/Write RTP/RTCP packets with context"
...
This change caused a ~24% performance decrease
Relates to pion/webrtc#1564
This reverts commit 47a7a64898 .
2020-12-02 20:11:06 -08:00
Atsushi Watanabe
47a7a64898
Read/Write RTP/RTCP packets with context
...
Control cancel/timeout by context.
2020-12-01 11:08:48 +09: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
6f6de25b24
Modify all hdlr to handler for better reading
...
change hdlr -> handler, Hdlr -> Handler for better reading.
Since this is first commit, add myself to contributors
2020-08-17 22:04:29 -07:00
Sean DuBois
9f1417347a
Support creating a DataChannel during renegotation
...
Before when creating an offer during renegotation we didn't support
adding a DataChannel.
Resolves #1361
2020-08-12 21:43:34 -07:00
Sean DuBois
89d7de1787
Start /v3
...
See #9 for the features we have planned, and the breaking changes that
may occur.
2020-06-25 09:45:27 -07:00
Atsushi Watanabe
58338965b2
Fix DataChannel open race
...
Concurrent call of generateDataChannelID caused data race.
2020-03-28 15:15:21 -07:00
Ilya Mayorov
896f8e360f
Callback to handle SCTPTransport errors
...
Add SCTPTransport.OnError() func to handle errors in a new goroutine.
2019-12-08 22:39:55 -08:00
Sean DuBois
36b02632d1
Match W3C when closing
...
PeerConnection.Close() doesn't match the W3C RFC on closing,
re-order the transports so that they close in the proper order.
In the future we will use the DTLS Close alert and RTCP Bye to
better communicate shutdown
2019-11-21 11:55:48 -08:00
Sean DuBois
721b342e2e
Properly generate DataChannel streamId
...
Before we computed DataChannel IDs before signaling, this
is incorrect because IDs must take into account if we are
running an DTLS Client or Server.
This updates the DataChannel ID generation code to take this
into account before generating a streamId.
Resolves #908
2019-11-14 10:51:05 -08:00
Vicken Simonian
5f25df2209
Various spell fixes
...
For error types, vars, docs and comments
2019-10-17 23:31:21 -07:00
Sean DuBois
92867d3de6
Support negotiated DataChannels in Go
...
Relates to #748
2019-09-28 22:34:57 -07:00
Sean DuBois
d692ddfa54
Support DataChannel protocol in Go
...
Relates to #748
2019-09-27 16:19:49 -07:00
Hugo Arregui
ec6c432dc8
Add ICE transport and SCTP transport stats
...
bytes received, bytes sent
2019-08-22 18:31:17 +00:00
Sean DuBois
67073fbe16
Fix SCTPTransport race if stopped during start
...
Pass association to readLoop instead of accessing SCTPTransport
inside readloop. It is possible that before the read loop starts
the SCTPTransport assocation could be cleared, this would cause
us to pass a nil assocation to pion/datachannel
Resolves #571
2019-08-22 11:03:30 -07:00
Sean DuBois
0a62e5d4c1
Create WASM covering review
...
We have a few things that need to be addressed, I
have ticketed them. We should now completely pass godox!
Resolves #106
2019-07-27 09:35:55 -07:00
Sean DuBois
b205912701
Ticket SCTP TODOs
...
Currently we log some errors that should stop the PeerConnection
Also get rid of port value, this doesn't have any value for
us
Relates to #106
2019-07-27 09:35:55 -07:00
Hugo Arregui
93261960b1
Basic stats
...
Load DC, CandidatePair and Candidate basic stats
2019-06-25 19:36:57 +00:00
Hugo Arregui
7c94c5478c
Fix DC open
...
it's expected for a open Datachannel to have an associated
datachannel.Datachannel. Handling everything under the same lock
guarantee that
2019-05-22 14:18:42 -07:00
Yutaka Takeda
1b6455f6b4
Use sctp@v1.6.3 and datachannel@v1.4.3
...
Resolves #664
2019-05-08 16:52:59 -07:00
Yutaka Takeda
3884c8c32c
Pass the logger factory to sctp and datachannel
...
Resolves #569
2019-04-06 15:52:49 -07:00
Sean DuBois
6e26cd208f
Make SCTPTransport thread safe
...
Relates to #525
2019-04-04 21:28:37 -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
bb83935773
Use newDataChannel in sctp transport
...
Replace direct instantiation. Replace some print lines too.
2019-04-03 15:26:30 -03:00
Yutaka Takeda
8bd831fafe
Change public DataChannel props to methods
...
Resolves #505
2019-03-19 08:33:18 -07:00
Alex Browne
0f1ddf0825
Add JavaScript/WASM bindings
...
Resolves #478 . Adds minimal JavaScript/WASM bindings. This makes it
possible to compile core parts of pions/webrtc to WASM and run it in the
browser. Only data channels are supported for now and there is
limited/no support for certificates and credentials.
2019-03-08 00:26:17 +01:00
Yutaka Takeda
4dc68ed0da
Wire reliability params to datachannel
...
Resolves #334
2019-02-18 21:27:31 +01:00
Max Hawkins
0647ce9c26
Remove rtc prefix from filenames
...
Relates to #408
2019-02-17 16:22:56 -08:00