Commit Graph

2053 Commits

Author SHA1 Message Date
Renovate Bot
39ed63f62c Update module github.com/pion/rtp to v1.7.11
Generated by renovateBot
2022-04-11 11:31:37 +00:00
Pion
fc3e8cddff Update CI configs to v0.6.10
Update lint scripts and CI configs.
2022-04-10 23:50:37 -04:00
Renovate Bot
00d1a0f056 Update module github.com/pion/ice/v2 to v2.2.3
Generated by renovateBot
2022-04-07 21:03:15 +00:00
Kevin Wang
24078fa7ae Remove unnecessary type assertion
The type assertion is not necessary, discovered by gocritic.
2022-04-05 10:06:40 -04:00
Renovate Bot
38ef74b4ed Update golang.org/x/net digest to 543a649
Generated by renovateBot
2022-04-01 22:03:46 +00:00
John Selbie
12f8c551a9 Firefox fix for swap-demos examples
Canvas elements in FF require getContext to be invoked before
captureStream can be successfully called
2022-04-01 14:14:30 -04:00
Renovate Bot
6b6748fc9e Update golang.org/x/net digest to de3da57
Generated by renovateBot
2022-04-01 04:40:27 +00:00
John Selbie
260e7eff20 Move JS below markup in examples/example.html
Our JS examples assume the DOM has been loaded. This change ensures that
the DOM has been loaded before JS starts executing.
2022-03-29 10:57:34 -04:00
Sean DuBois
c8ae82a0bd Unlock on error in internal/mux
Resolves #2154
v3.1.27
2022-03-21 15:58:53 -04:00
Pion
24c1ad6abc Update CI configs to v0.6.9
Update lint scripts and CI configs.
2022-03-21 13:41:30 -04:00
rob
93b0f2a75e Wait and re-try when Mux destination ErrFull
Resolves #2152
v3.1.26
2022-03-20 17:25:25 -07:00
Renovate Bot
655daa9689 Update module github.com/pion/rtp to v1.7.9
Generated by renovateBot
2022-03-17 09:44:20 +00:00
Renovate Bot
1b6598c60c Update dependency golang to v1.18
Generated by renovateBot
2022-03-16 04:15:53 +00:00
Renovate Bot
6c3d4fc20d Update module github.com/stretchr/testify to v1.7.1
Generated by renovateBot
2022-03-15 22:06:29 -04:00
Leslie Wang
9346f0d133 Return actual error during h264 stream read
current h264reader will not return actual error, thus, as a user, I
don't know error is caused by EOF, or socket close, or other failures.
The fix will return the error to caller for debugging and
troubleshooting
v3.1.25
2022-03-15 13:42:48 -04:00
Renovate Bot
4fb426c8fc Update module github.com/pion/interceptor to v0.1.10
Generated by renovateBot
2022-03-15 11:31:34 -04:00
Renovate Bot
8088eb88e9 Update module github.com/pion/rtp to v1.7.7
Generated by renovateBot
2022-03-14 21:01:22 +00:00
Leslie Wang
659653a5a3 Pre-allocate buffer for H264Reader.read
Use one temp buffer per H264Reader instead of allocating every read
call.
2022-03-10 22:53:13 -05:00
Renovate Bot
f912b2d0d8 Update module github.com/pion/interceptor to v0.1.9
Generated by renovateBot
2022-03-10 22:52:29 -05:00
Renovate Bot
1765e9b913 Update actions/setup-node action to v3
Generated by renovateBot
2022-03-02 22:58:43 -05:00
Renovate Bot
eca54ea394 Update actions/checkout action to v3
Generated by renovateBot
2022-03-02 22:55:46 -05:00
Renovate Bot
54c8e4d26a Update module github.com/pion/interceptor to v0.1.8
Generated by renovateBot
2022-03-02 22:44:17 -05:00
Renovate Bot
946bb109bd Update module github.com/pion/ice/v2 to v2.2.2
Generated by renovateBot
2022-03-02 21:43:26 +00:00
Renovate Bot
d35eacd491 Update golang.org/x/net commit hash to 27dd868
Generated by renovateBot
2022-03-02 21:41:17 +00:00
Pion
622c233f48 Update CI configs to v0.6.8
Update lint scripts and CI configs.
2022-03-02 14:09:18 -05:00
Pion
af9285ee31 Update CI configs to v0.6.7
Update lint scripts and CI configs.
2022-02-26 20:06:33 -05:00
boks1971
37e16a3b15 Bolting on send side simulcast
Introduces AddEncoding method in RTP sender to add simulcast encodings.

Added UTs for AddEncoding.
Also modified the Simulcast send test to use the new API.
2022-02-24 23:55:17 -08:00
Sean DuBois
e2b8d4c1d7 Update module github.com/pion/dtls/v2 to v2.1.3
Generated by renovateBot
v3.1.24
2022-02-22 15:26:39 -05:00
Renovate Bot
106f5e4c96 Update module github.com/pion/ice/v2 to v2.2.1
Generated by renovateBot
2022-02-22 14:23:55 -05:00
Sean DuBois
b458528350 Simplify examples/ice-tcp
Example was copied from play-from-disk-renegotation and contained
a global PeerConnection. Instead create a PeerConnection on each inbound
request
2022-02-18 22:42:27 -05:00
Sean DuBois
94262c1b2b Add DTLS, ICE and SCTP Transport to WASM
Only available in the browser, not in wrtc yet.

Resolves #2099
2022-02-08 00:37:47 -05:00
Pion
5dfbe0808d Update CI configs to v0.6.6
Update lint scripts and CI configs.
2022-02-07 14:43:24 -05:00
boks1971
1846813609 DTLS retransmission interval setting
Add SetDTLSRetranmissionInterval setting to SettingEngine.

Add test for SetDTLSRetransmissionInterval
v3.1.23
2022-02-07 22:57:31 +05:30
Renovate Bot
8da9a678c5 Update actions/setup-node action to v2
Generated by renovateBot
2022-02-06 07:39:18 -05:00
Sean DuBois
ce533d527f Add StandardJS workflow
Been running these locally only.
2022-02-05 22:20:52 -05:00
Roman Romanenko
7c8064052e Update all examples with copySessionDescription
copySessionDescription adds a button to all examples that copies the
local Session Description. This makes it easier for users to copy the
values.

Resolves #2092
2022-02-05 13:41:44 -05:00
boks1971
bb0ac79952 Update DTLS to v2.1.2
DTLS v2.1.2 fixes a bug with long delay connections.
https://github.com/pion/dtls/releases/tag/v2.1.2
v3.1.22
2022-02-05 12:49:51 +05:30
Bryan Phelps
e071a4eded Remove ICETransportStateNew check in DTLS Start
DTLS should be able to be negotiated over an already established
ICETransport

Resolves #2113
list v3.1.21
2022-02-03 14:49:05 -05:00
boks1971
8796a5c5a7 Use ICE role to set DTLS role in answer
When creating answer, check ICE role while determining DTLS role.
ORTC thread on how roles are set
https://github.com/w3c/ortc/issues/167#issuecomment-69409953

When remote is ice-lite and there is no answering role set,
the answer uses the default which is DTLS client. So 'setup'
is set as 'active' and answer sent.

But, when DTLS transport is started, it checks the ICE role
and sets itself as DTLS server (because remote is lite
and hence local agent becomes controlling ICE agent).

So, both sides end up being DTLS server and nobody sends
client hello.
v3.1.20
2022-02-02 12:33:59 -05:00
Sean DuBois
664f6df0d3 Add test for 65b517
Assert that Simulcast probe thread doesn't close the Tracks that have
been emitted to the user.
2022-02-01 19:03:00 -05:00
Renovate Bot
dbec560bf7 Update golang.org/x/net commit hash to cd36cc0
Generated by renovateBot
2022-01-31 20:47:57 -05:00
Sean DuBois
65b51732e2 Don't close the SRTP Stream in handleIncomingSSRC
`AcceptStream` will then be fired again for this SSRC. We depend on the
behavior of AcceptStream only returning once for each SSRC.
v3.1.19
2022-01-31 16:27:11 -05:00
Sean DuBois
2949e539b7 Ignore explicit SSRCes in RID Simulcast processing
If the SRTP Stream hasn't been opened yet we would attempt to process
(and fail) RTP traffic. This change causes us to not even attempt to
read.

No behavior change from this, but will cause less useless logging.
2022-01-31 16:27:11 -05:00
Renovate Bot
a97a76ffbd Update module github.com/pion/ice/v2 to v2.1.20
Generated by renovateBot
2022-01-31 08:18:35 +00:00
Roman Romanenko
82b3ab583c Improve API nil handling
Create struct with default values in NewAPI instead of doing nil checks
later.
2022-01-30 20:19:35 -05:00
Sean DuBois
6ddddd8cea Update module github.com/pion/dtls/v2 to v2.1.1
Generated by renovateBot
v3.1.18
2022-01-29 21:54:31 -05:00
Renovate Bot
08ab8d2700 Update module github.com/pion/ice/v2 to v2.1.19
Generated by renovateBot
2022-01-24 08:56:07 +00:00
Sean DuBois
3c8de5e6ab Improve bandwidth-estimation-from-disk error
On startup check if video files exist
2022-01-22 23:07:50 -05:00
Sean DuBois
99d2406198 Add examples/bandwidth-estimation-from-disk
Example shows reading the output from a Bandwidth Estimator and
switching to the file that matches.
2022-01-22 15:35:45 -05:00
Renovate Bot
c0a371d996 Update module github.com/pion/interceptor to v0.1.7
Generated by renovateBot
2022-01-22 15:30:38 -05:00