Commit Graph

2053 Commits

Author SHA1 Message Date
Sean DuBois
9c6604df0a Drop calls to RegisterDefaultCodecs in tests
Not needed anymore
2024-07-18 16:14:23 -04:00
Sean DuBois
8780e68cb7 Add nolint to examples
Ignore err from Fprintf
2024-07-18 15:40:11 -04:00
Sean DuBois
ce37669dda Delete deadcode in pion-to-pion/answer
Was accidentally copied, never needed
2024-07-18 15:21:46 -04:00
cnderrauber
287d10638d Match header extensions to remote media sections
Firefox would send updated header extension
in renegotiation, e.g. publish a track without
simucalst then renegotiate second track with
simucalst, the two media secontions will have
different rtp header extensions in offer. Need
to match remote header extentions for each
media sections to avoid second track publish
failed.
2024-07-18 12:30:19 +08:00
Sean DuBois
166d82e1e8 Update module github.com/pion/ice/v3 to v3.0.10 v4.0.0-beta.23 2024-07-15 12:23:41 -04:00
Sean DuBois
e17ce04589 Revert 7c8bfbd44a and add test
Don't block Close on spawned goroutines
v4.0.0-beta.22
2024-07-15 11:26:21 -04:00
renovate[bot]
6988aff3af Update module github.com/pion/rtp to v1.8.7
Generated by renovateBot
2024-07-13 22:49:03 +00:00
renovate[bot]
dc99b03894 Update module github.com/pion/srtp/v3 to v3.0.2
Generated by renovateBot
2024-07-08 00:19:20 +00:00
renovate[bot]
4dd839257d Update module github.com/pion/sctp to v1.8.19
Generated by renovateBot
2024-07-07 22:02:24 +00:00
renovate[bot]
adf9a44ba5 Update module github.com/pion/datachannel to v1.5.8
Generated by renovateBot
2024-07-07 18:23:45 +00:00
renovate[bot]
c2a0b33328 Update module github.com/pion/sctp to v1.8.18
Generated by renovateBot
2024-07-07 01:36:17 +00:00
renovate[bot]
a365c79ecb Update module github.com/pion/datachannel to v1.5.7
Generated by renovateBot
2024-07-06 22:39:34 +00:00
renovate[bot]
ee1efb7c4f Update module github.com/pion/ice/v3 to v3.0.9
Generated by renovateBot
2024-07-06 19:16:24 +00:00
renovate[bot]
de5d997e51 Update module github.com/pion/ice/v3 to v3.0.8
Generated by renovateBot
2024-07-02 23:12:41 +00:00
renovate[bot]
d892787477 Update module github.com/pion/sctp to v1.8.17
Generated by renovateBot
2024-07-02 07:09:00 +00:00
Eric Daniels
7c8bfbd44a Make pc.Close wait on spawned goroutines to close 2024-07-01 20:54:27 -04:00
Eric Daniels
f22966136c Support wasm tests on apple silicon 2024-07-01 16:08:21 -04:00
renovate[bot]
0a97ff62b3 Update module golang.org/x/net to v0.26.0
Generated by renovateBot
2024-07-01 04:14:44 +00:00
aler9
a868a14ec8 Add links to RTP payload format specifications 2024-06-25 16:56:07 -04:00
aler9
31c2c0dfc1 Fix AV1 and VP9 codec matching
Currently, AV1 or VP9 formats are matched regardless of the profile
parameter. This was not noticeable until browsers started advertising
multiple VP9 formats at the same time, each with a different profile
ID, in order to allow the counterpart to send different streams on the
basis of supported profiles.

This causes two issues: first, the library includes in the SDP all
formats passed by the browser, regardless of the fact that the profile
ID is registered in the API or not. Then, the library is unable to
choose the correct format for streaming, causing an intermittent
failure.

This patch fixes the matching algorithm and also covers the case in
which the profile ID is missing, by using values dictated by
specifications.

Tests were refactored since previous ones covered the same lines
multiple times.
2024-06-25 22:10:39 +02:00
Konstantin
fc3521e85c Track bytesReadSuccesfully in oggreader 2024-06-25 12:21:48 -04:00
Eric Daniels
1bb9fa9020 Make onNegotiationNeeded conform to spec
- Removes non-canon logic
v4.0.0-beta.21
2024-06-24 11:03:40 -04:00
aler9
d56bead6a6 Fix race condition in test
In TestPeerConnection_Zero_PayloadType, WriteSample might be called
after closePairNow, resulting in failure. This patch fixes the issue.
2024-06-16 00:02:20 -04:00
Eric Daniels
ca05618c7f Reset state machine after negotiationNeededOp
- Fixes #2774
v4.0.0-beta.20
2024-06-11 13:49:06 -04:00
Sean DuBois
09461d55a6 Remove examples/internal
Users find it frustrating that example code doesn't work out of tree.
This makes copying the examples out of the repo easier.

Relates to #1981
2024-05-20 10:54:16 -04:00
renovate[bot]
aa9c623ae1 Update module github.com/pion/dtls/v2 to v2.2.11
Generated by renovateBot
2024-05-07 03:09:34 +00:00
renovate[bot]
34c72157be Update module golang.org/x/net to v0.25.0
Generated by renovateBot
2024-05-07 01:34:42 +00:00
renovate[bot]
480be18a34 Update module github.com/pion/ice/v3 to v3.0.7
Generated by renovateBot
v4.0.0-beta.19
2024-05-02 13:56:06 -04:00
knowmost
a97c420d0c Fix typos in multiple comments 2024-04-27 23:27:55 -04:00
cnderrauber
83cfeea397 Update RtxSSRC for simulcast track remote
Fix #2751, updates remote track's rtx ssrc for
simulcast track doesn't contain rtx ssrc in sdp
since readRTX relies on rtx ssrc to determine if
it has a rtx stream.
v4.0.0-beta.18
2024-04-25 09:54:36 -04:00
renovate[bot]
4ca42e7cc1 Update module github.com/pion/rtp to v1.8.6
Generated by renovateBot
2024-04-24 14:30:13 +00:00
cnderrauber
d851a44e18 Replace pool with bytes in readLoop
Replace pool with bytes in readLoop
2024-04-24 17:02:24 +08:00
cnderrauber
a9e88d2531 Add recvonly transceiver for simulcast video
Fix one of the layers can't send back video because
the transceiver is used for receiving.
2024-04-22 13:29:49 +08:00
Sean DuBois
d9a59a5949 Add test for TrackRemote and RTX Packets
Relates to #2752
2024-04-21 23:21:15 -04:00
Sean DuBois
fc3ef75359 Update module github.com/pion/interceptor to v0.1.29 v4.0.0-beta.17 2024-04-16 14:55:02 -04:00
renovate[bot]
2c34a45747 Update module github.com/pion/sctp to v1.8.16
Generated by renovateBot
2024-04-16 10:41:39 +00:00
renovate[bot]
2519df31e1 Update module github.com/pion/interceptor to v0.1.28
Generated by renovateBot
2024-04-11 22:01:35 +00:00
renovate[bot]
ca0f5ec9c9 Update module github.com/pion/ice/v3 to v3.0.6
Generated by renovateBot
2024-04-10 19:46:28 +00:00
Alex Pokotilo
e60bf03293 Add padding support to TrackLocalStaticSample
To add padding-only samples call GeneratePadding
2024-04-10 10:03:59 -04:00
Pion
b2af663a46 Update CI configs to v0.11.12
Update lint scripts and CI configs.
2024-04-08 23:25:30 -04:00
hongkuang
bd25613af2 Fix typos across the project 2024-04-07 21:48:29 -04:00
renovate[bot]
371515b276 Update module github.com/pion/sctp to v1.8.15
Generated by renovateBot
2024-04-05 07:26:01 +00:00
Sean DuBois
88d8eef8ae Add test for ssrc-group after ssrc
Resolves #2459
2024-04-03 23:41:37 -04:00
Sean DuBois
d661d12593 Update github.com/pion/sctp to v1.8.14 v4.0.0-beta.16 2024-04-03 15:29:07 -04:00
Stephan Rotolante
b8fcf99aa0 Expose STUNGatherTimeout via SettingEngine
Resolves pion/webrtc#2668
2024-04-03 09:57:18 -04:00
renovate[bot]
9e258813d0 Update module github.com/pion/ice/v3 to v3.0.4
Generated by renovateBot
2024-04-03 04:20:50 +00:00
Sean DuBois
1d451b568c Update go.mod version to 1.19
Relates to pion/webrtc#2292
2024-04-02 22:54:57 -04:00
Pion
cf2c657a73 Update CI configs to v0.11.7
Update lint scripts and CI configs.
2024-04-02 13:24:44 -04:00
Sean DuBois
92df4bf0ec Include msid-semantic in Session Attributes
Chrome doesn't include the msid when responding to
recvonly transceivers

See crbug[0] for discussion

[0] https://issues.chromium.org/u/1/issues/328522463
v4.0.0-beta.15
2024-04-01 13:25:22 -04:00
Sean DuBois
659507cdf9 Update github.com/pion/rtp to v1.8.5 2024-03-29 09:50:16 -04:00