2340 Commits

Author SHA1 Message Date
sunofcoder
27a8f9ba49 Improve trickle-ice example
start/stop, DataChannel, ICE logs
2025-11-16 05:22:36 +02:00
renovate[bot]
a4c8b341fe Update module github.com/pion/interceptor to v0.1.42 (#3266)
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
|
[github.com/pion/interceptor](https://redirect.github.com/pion/interceptor)
| `v0.1.41` -> `v0.1.42` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fpion%2finterceptor/v0.1.42?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fpion%2finterceptor/v0.1.41/v0.1.42?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pion/interceptor (github.com/pion/interceptor)</summary>

###
[`v0.1.42`](https://redirect.github.com/pion/interceptor/releases/tag/v0.1.42)

[Compare
Source](https://redirect.github.com/pion/interceptor/compare/v0.1.41...v0.1.42)

#### Changelog

-
[`40d68d9`](40d68d9bae)
Handle fec-03 toRemove
-
[`9faf03c`](9faf03cf71)
Update module github.com/pion/transport/v3 to v3.1.1
-
[`0c7d1f4`](0c7d1f4d1c)
Update module github.com/pion/transport/v3 to v3.1.0
-
[`051d2e8`](051d2e8121)
Update module github.com/pion/rtp to v1.8.25
-
[`8492094`](849209446a)
Update module github.com/pion/rtp to v1.8.24
-
[`4f03e41`](4f03e41917)
Update CI configs to v0.11.32
-
[`0caf183`](0caf1831a7)
Update module github.com/pion/rtcp to v1.2.16
-
[`cc7a503`](cc7a503398)
Update CI configs to v0.11.31
-
[`ba697c7`](ba697c7dc8)
Update module github.com/pion/rtp to v1.8.23
-
[`7b68306`](7b68306efe)
Update module github.com/pion/transport/v3 to v3.0.8

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/pion/webrtc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE3My4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-16 03:19:37 +00:00
renovate[bot]
157d90a81c Update module github.com/pion/turn/v4 to v4.1.3 (#3265)
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [github.com/pion/turn/v4](https://redirect.github.com/pion/turn) |
`v4.1.2` -> `v4.1.3` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fpion%2fturn%2fv4/v4.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fpion%2fturn%2fv4/v4.1.2/v4.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pion/turn (github.com/pion/turn/v4)</summary>

###
[`v4.1.3`](https://redirect.github.com/pion/turn/releases/tag/v4.1.3)

[Compare
Source](https://redirect.github.com/pion/turn/compare/v4.1.2...v4.1.3)

#### Changelog

-
[`d51bcdd`](d51bcdd3fc)
Handle stale nonces in ChannelBind
-
[`903cf17`](903cf17c82)
Update module github.com/pion/transport/v3 to v3.1.1
([#&#8203;484](https://redirect.github.com/pion/turn/issues/484))
-
[`9c45f27`](9c45f27221)
Update module github.com/pion/transport/v3 to v3.1.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/pion/webrtc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE3My4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-14 21:13:53 +00:00
renovate[bot]
87b21be371 Update module github.com/pion/transport/v3 to v3.1.1 (#3262)
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
|
[github.com/pion/transport/v3](https://redirect.github.com/pion/transport)
| `v3.1.0` -> `v3.1.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fpion%2ftransport%2fv3/v3.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fpion%2ftransport%2fv3/v3.1.0/v3.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pion/transport (github.com/pion/transport/v3)</summary>

###
[`v3.1.1`](https://redirect.github.com/pion/transport/releases/tag/v3.1.1)

[Compare
Source](https://redirect.github.com/pion/transport/compare/v3.1.0...v3.1.1)

#### Changelog

-
[`90bd2e1`](90bd2e10a4)
Use ping-pong buffer for batch conn

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/pion/webrtc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE3My4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-11 20:34:28 +00:00
renovate[bot]
1840a5f7e3 Update module github.com/pion/transport/v3 to v3.1.0
Generated by renovateBot
2025-11-08 13:21:33 -05:00
Srayan Jana
8b9583c9ce Add whip-whep-like example
A data-channel example with whip-whep like pattern.
And a simple broadcast system.

Co-authored-by: Joe Turki <git@joeturki.com>
2025-11-03 02:01:01 +02:00
philipch07
7354d594b8 Fix a rare race in peerconnection_go_test 2025-10-30 20:17:03 -04:00
renovate[bot]
8b43c73e82 Update dependency node to v24 (#3256)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [node](https://redirect.github.com/actions/node-versions) | uses-with
| major | `22.x` -> `24.x` |

---

### Release Notes

<details>
<summary>actions/node-versions (node)</summary>

###
[`v24.11.0`](https://redirect.github.com/actions/node-versions/releases/tag/24.11.0-18894910158):
24.11.0

[Compare
Source](https://redirect.github.com/actions/node-versions/compare/24.10.0-18453495281...24.11.0-18894910158)

Node.js 24.11.0

###
[`v24.10.0`](https://redirect.github.com/actions/node-versions/releases/tag/24.10.0-18453495281):
24.10.0

[Compare
Source](https://redirect.github.com/actions/node-versions/compare/24.9.0-18024003193...24.10.0-18453495281)

Node.js 24.10.0

###
[`v24.9.0`](https://redirect.github.com/actions/node-versions/releases/tag/24.9.0-18024003193):
24.9.0

[Compare
Source](https://redirect.github.com/actions/node-versions/compare/24.8.0-17630522236...24.9.0-18024003193)

Node.js 24.9.0

###
[`v24.8.0`](https://redirect.github.com/actions/node-versions/releases/tag/24.8.0-17630522236):
24.8.0

[Compare
Source](https://redirect.github.com/actions/node-versions/compare/24.7.0-17283839804...24.8.0-17630522236)

Node.js 24.8.0

###
[`v24.7.0`](https://redirect.github.com/actions/node-versions/releases/tag/24.7.0-17283839804):
24.7.0

[Compare
Source](https://redirect.github.com/actions/node-versions/compare/24.6.0-16980723897...24.7.0-17283839804)

Node.js 24.7.0

###
[`v24.6.0`](https://redirect.github.com/actions/node-versions/releases/tag/24.6.0-16980723897):
24.6.0

[Compare
Source](https://redirect.github.com/actions/node-versions/compare/24.5.0-16666195981...24.6.0-16980723897)

Node.js 24.6.0

###
[`v24.5.0`](https://redirect.github.com/actions/node-versions/releases/tag/24.5.0-16666195981):
24.5.0

[Compare
Source](https://redirect.github.com/actions/node-versions/compare/24.4.1-16309768053...24.5.0-16666195981)

Node.js 24.5.0

###
[`v24.4.1`](https://redirect.github.com/actions/node-versions/releases/tag/24.4.1-16309768053):
24.4.1

[Compare
Source](https://redirect.github.com/actions/node-versions/compare/24.4.0-16210503505...24.4.1-16309768053)

Node.js 24.4.1

###
[`v24.4.0`](https://redirect.github.com/actions/node-versions/releases/tag/24.4.0-16210503505):
24.4.0

[Compare
Source](https://redirect.github.com/actions/node-versions/compare/24.3.0-15866716565...24.4.0-16210503505)

Node.js 24.4.0

###
[`v24.3.0`](https://redirect.github.com/actions/node-versions/releases/tag/24.3.0-15866716565):
24.3.0

[Compare
Source](https://redirect.github.com/actions/node-versions/compare/24.2.0-15549907769...24.3.0-15866716565)

Node.js 24.3.0

###
[`v24.2.0`](https://redirect.github.com/actions/node-versions/releases/tag/24.2.0-15549907769):
24.2.0

[Compare
Source](https://redirect.github.com/actions/node-versions/compare/24.1.0-15177436545...24.2.0-15549907769)

Node.js 24.2.0

###
[`v24.1.0`](https://redirect.github.com/actions/node-versions/releases/tag/24.1.0-15177436545):
24.1.0

[Compare
Source](https://redirect.github.com/actions/node-versions/compare/24.0.2-15035852679...24.1.0-15177436545)

Node.js 24.1.0

###
[`v24.0.2`](https://redirect.github.com/actions/node-versions/releases/tag/24.0.2-15035852679):
24.0.2

[Compare
Source](https://redirect.github.com/actions/node-versions/compare/24.0.1-14928016774...24.0.2-15035852679)

Node.js 24.0.2

###
[`v24.0.1`](https://redirect.github.com/actions/node-versions/releases/tag/24.0.1-14928016774):
24.0.1

[Compare
Source](https://redirect.github.com/actions/node-versions/compare/24.0.0-14863421234...24.0.1-14928016774)

Node.js 24.0.1

###
[`v24.0.0`](https://redirect.github.com/actions/node-versions/releases/tag/24.0.0-14863421234):
24.0.0

[Compare
Source](https://redirect.github.com/actions/node-versions/compare/22.21.1-18894912842...24.0.0-14863421234)

Node.js 24.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/pion/webrtc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTkuNCIsInVwZGF0ZWRJblZlciI6IjQxLjE1OS40IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-29 11:57:31 +03:00
renovate[bot]
c24d2d4f4e Update module github.com/pion/turn/v4 to v4.1.2 (#3257)
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [github.com/pion/turn/v4](https://redirect.github.com/pion/turn) |
`v4.1.1` -> `v4.1.2` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fpion%2fturn%2fv4/v4.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fpion%2fturn%2fv4/v4.1.1/v4.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pion/turn (github.com/pion/turn/v4)</summary>

###
[`v4.1.2`](https://redirect.github.com/pion/turn/releases/tag/v4.1.2)

[Compare
Source](https://redirect.github.com/pion/turn/compare/v4.1.1...v4.1.2)

#### Changelog

-
[`e9c2262`](e9c2262aa2)
Wrapped TURN errors
([#&#8203;480](https://redirect.github.com/pion/turn/issues/480))
-
[`dc16e63`](dc16e63acf)
Upgrade stun to v3.0.1
-
[`b10adda`](b10addadf7)
Update CI configs to v0.11.32
([#&#8203;482](https://redirect.github.com/pion/turn/issues/482))
-
[`55f84c2`](55f84c2356)
Update CI configs to v0.11.31
-
[`c166a0c`](c166a0c8f8)
Update module github.com/pion/transport/v3 to v3.0.8
-
[`578b912`](578b912ba8)
Address code review comments
-
[`dd0d303`](dd0d30340b)
Adapt autotests for windows
-
[`b7262e1`](b7262e1c99)
Update CI configs to v0.11.29
-
[`f5925d6`](f5925d662d)
Update module github.com/stretchr/testify to v1.11.1
-
[`3cf0a14`](3cf0a14245)
Update CI configs to v0.11.26
-
[`0173545`](0173545637)
Update CI configs to v0.11.25
-
[`a0eecbe`](a0eecbe016)
Update CI configs to v0.11.24
-
[`dac75d8`](dac75d84d9)
Add a configurable sized nonce generator

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/pion/webrtc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTkuNCIsInVwZGF0ZWRJblZlciI6IjQxLjE1OS40IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-28 18:10:28 +00:00
Mathis Engelbart
49a4074cc6 Expose stats ID for use in interceptor factories 2025-10-27 21:33:55 +01:00
renovate[bot]
41e0480bf6 Update module github.com/pion/rtp to v1.8.25 (#3254)
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [github.com/pion/rtp](https://redirect.github.com/pion/rtp) |
`v1.8.24` -> `v1.8.25` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fpion%2frtp/v1.8.25?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fpion%2frtp/v1.8.24/v1.8.25?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pion/rtp (github.com/pion/rtp)</summary>

###
[`v1.8.25`](https://redirect.github.com/pion/rtp/releases/tag/v1.8.25)

[Compare
Source](https://redirect.github.com/pion/rtp/compare/v1.8.24...v1.8.25)

#### Changelog

-
[`8c22f58`](8c22f5898b)
Add SetExtensionWithProfile
-
[`1a05037`](1a0503741f)
Fix TestHeaderExtension\_Invalid
-
[`0b470e0`](0b470e09fe)
De-duplicate HeaderExtension Logic
-
[`dcfe647`](dcfe6474f2)
Fix a typo
-
[`33936f3`](33936f30eb)
Advance Timestamp when empty payload is packetized
-
[`5564dbb`](5564dbbdf3)
Update CI configs to v0.11.32

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/pion/webrtc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTYuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE1Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-26 14:46:41 +00:00
renovate[bot]
69d77e70ec Update module github.com/pion/stun/v3 to v3.0.1 (#3255)
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [github.com/pion/stun/v3](https://redirect.github.com/pion/stun) |
`v3.0.0` -> `v3.0.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fpion%2fstun%2fv3/v3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fpion%2fstun%2fv3/v3.0.0/v3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pion/stun (github.com/pion/stun/v3)</summary>

###
[`v3.0.1`](https://redirect.github.com/pion/stun/releases/tag/v3.0.1)

[Compare
Source](https://redirect.github.com/pion/stun/compare/v3.0.0...v3.0.1)

#### Changelog

-
[`23c6311`](23c631123f)
Added error wrapper
([#&#8203;252](https://redirect.github.com/pion/stun/issues/252))
-
[`67c546f`](67c546faa9)
Update CI configs to v0.11.32
-
[`178b161`](178b1619e9)
Update CI configs to v0.11.31
-
[`d89044b`](d89044b2f6)
Update module github.com/pion/transport/v3 to v3.0.8
-
[`0b47621`](0b476211b2)
Update CI configs to v0.11.29
-
[`50100d8`](50100d8c8a)
Remove redundant zero assignment in addr.go
-
[`8721ffc`](8721ffcc62)
Update CI configs to v0.11.26
-
[`78e09c3`](78e09c3e91)
Update CI configs to v0.11.25
-
[`d2b8703`](d2b87034c3)
Update CI configs to v0.11.24
-
[`0bbd353`](0bbd353e44)
Update module github.com/stretchr/testify to v1.11.1
-
[`5b4f5bc`](5b4f5bc25c)
Update module github.com/stretchr/testify to v1.11.0
-
[`6e211ae`](6e211ae6c6)
Update CI configs to v0.11.22
-
[`6e3a14b`](6e3a14bdf4)
Update module github.com/pion/dtls/v3 to v3.0.7
-
[`496c3ef`](496c3ef28b)
Update module github.com/pion/logging to v0.2.4
-
[`ab7d8d3`](ab7d8d3d78)
Update CI configs to v0.11.20
-
[`b96750d`](b96750d516)
Simplify XORMappedAddress IP slice initialization
-
[`6f87a7d`](6f87a7dec0)
Interface{} can be replaced by any
-
[`aa89af8`](aa89af8123)
Simplify MappedAddress IP slice initialization
-
[`d07109b`](d07109b467)
Use ProtoTypeUnknown instead of ProtoType(0)
-
[`1f4e727`](1f4e7270e9)
Update CI configs to v0.11.19
-
[`e6d0d24`](e6d0d241f2)
Update module github.com/pion/dtls/v3 to v3.0.6
([#&#8203;219](https://redirect.github.com/pion/stun/issues/219))
-
[`af89b0b`](af89b0bfb6)
Update social media links, move to discord
-
[`8867eb8`](8867eb8597)
Update lint rules, force testify/assert for tests
-
[`f00fc07`](f00fc07896)
Update CI configs to v0.11.18
-
[`3c14bcb`](3c14bcb8eb)
Update module github.com/pion/logging to v0.2.3
([#&#8203;215](https://redirect.github.com/pion/stun/issues/215))
-
[`0397f21`](0397f2187b)
Upgrade golangci-lint, more linters
-
[`be5e65e`](be5e65e013)
Update module github.com/stretchr/testify to v1.10.0
-
[`775d8ea`](775d8ea9d9)
Update module github.com/pion/dtls/v3 to v3.0.4
-
[`959cdb5`](959cdb5320)
Update module github.com/pion/dtls/v3 to v3.0.3
-
[`14c53b4`](14c53b4451)
Update go.mod version to 1.20
-
[`e3c4109`](e3c4109cc4)
Update module github.com/pion/dtls/v3 to v3.0.2
-
[`d49a21a`](d49a21ad0f)
Update CI configs to v0.11.15
-
[`9763c28`](9763c28168)
Remove `stun` scheme from default server flag
-
[`35179f1`](35179f1e73)
Fix `is-server` being ignored in stun-multiplex
-
[`95c14ef`](95c14eff4f)
Fix pkg.go.dev links

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/pion/webrtc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTYuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE1Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-25 19:10:09 +00:00
SenemUmac
fe44e785f4 Improve custom-logger README (#3253)
This PR was previously opened as #3245 but was closed before merging.
The changes remain the same: updating the custom-logger README with
clearer instructions, and guidance on ensuring $GOPATH/bin is in PATH.

No new changes were added; this is simply reopening the PR to merge the
existing updates.

Co-authored-by: sunofcoder <senemumac@Senems-MacBook-Air.local>
2025-10-24 10:01:46 +03:00
Sundenis
919c686059 Add simple datachannel example with demo.html (#3252)
This PR adds a new simple -datachannel example to help newcomers
understand how to create and test a basic WebRTC DataChannel using Go
and a static HTML page (demo.html).

- Includes main.go for signaling and WebRTC setup.
- Includes demo.html to test sending/receiving messages.
- Tested locally and works with the provided signaling server.
2025-10-23 09:41:52 +03:00
philipch07
8f7e057201 Improve the data-channels example 2025-10-21 08:00:17 +03:00
philipch07
7d8a700730 Fix test race 2025-10-18 08:51:28 +03:00
Pion
041530fb6b Update CI configs to v0.11.32
Update lint scripts and CI configs.
2025-10-18 08:51:28 +03:00
renovate[bot]
030bbf1db4 Update module github.com/pion/rtp to v1.8.24
Generated by renovateBot
2025-10-17 22:26:53 -04:00
renovate[bot]
68861037fd Update module github.com/pion/rtcp to v1.2.16 (#3244)
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [github.com/pion/rtcp](https://redirect.github.com/pion/rtcp) |
`v1.2.15` -> `v1.2.16` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fpion%2frtcp/v1.2.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fpion%2frtcp/v1.2.15/v1.2.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pion/rtcp (github.com/pion/rtcp)</summary>

###
[`v1.2.16`](https://redirect.github.com/pion/rtcp/releases/tag/v1.2.16)

[Compare
Source](https://redirect.github.com/pion/rtcp/compare/v1.2.15...v1.2.16)

#### Changelog

-
[`8aedb55`](8aedb55aec)
Update CI configs to v0.11.31
-
[`62db4c0`](62db4c09ca)
Update CI configs to v0.11.29
-
[`f0cdfb0`](f0cdfb0b21)
Apply go modernize
-
[`0f3d0ed`](0f3d0edf94)
Update CI configs to v0.11.26
-
[`0d3bd90`](0d3bd9080b)
Update CI configs to v0.11.25
-
[`e388c81`](e388c816d1)
Update CI configs to v0.11.24
-
[`cf5b671`](cf5b671cc9)
Update module github.com/stretchr/testify to v1.11.1
-
[`0ab2669`](0ab2669dd3)
Update module github.com/stretchr/testify to v1.11.0
-
[`f318fef`](f318fef925)
Replace interface{} with any
-
[`2e35008`](2e35008bc9)
Update CI configs to v0.11.22
-
[`b78b083`](b78b08322f)
Update CI configs to v0.11.19
-
[`00e5d74`](00e5d7490f)
Update social media links, move to discord
-
[`a640523`](a6405238af)
Add ECN to CCFB metric block string output
-
[`1ef2c94`](1ef2c948f8)
Match expected error instead of the error message
-
[`bb27ec6`](bb27ec6eb3)
Update lint rules, force testify/assert
-
[`7752cd4`](7752cd428b)
Fix num\_reports usage, see errata 8166
([#&#8203;187](https://redirect.github.com/pion/rtcp/issues/187))
-
[`ec84594`](ec84594711)
Upgrade golangci-lint, more linters

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/pion/webrtc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNDMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE0My4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-17 01:42:36 +00:00
boks1971
f35dc4efd0 Handle nil stats getter in collect stats
It is possible to call GetStats() after the peer connection is closed.
The statsGetter gets cleared when peer connection is closed. That is
causing a panic when RtpReceiver.collectStats runs.
v4.1.6
2025-10-15 13:00:03 +05:30
renovate[bot]
caef6a9eea Update module github.com/pion/sctp to v1.8.40 (#3241)
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [github.com/pion/sctp](https://redirect.github.com/pion/sctp) |
`v1.8.39` -> `v1.8.40` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fpion%2fsctp/v1.8.40?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fpion%2fsctp/v1.8.39/v1.8.40?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pion/sctp (github.com/pion/sctp)</summary>

###
[`v1.8.40`](https://redirect.github.com/pion/sctp/releases/tag/v1.8.40)

[Compare
Source](https://redirect.github.com/pion/sctp/compare/v1.8.39...v1.8.40)

#### Changelog

-
[`ca6acd9`](ca6acd9240)
Retract v1.8.12 due to ZeroChecksum misinterpretation
([#&#8203;398](https://redirect.github.com/pion/sctp/issues/398))
-
[`fd05fa0`](fd05fa0221)
Remove zero checksum heuristic
([#&#8203;397](https://redirect.github.com/pion/sctp/issues/397))
-
[`4375619`](4375619d9b)
Update CI configs to v0.11.31
-
[`77d8f2c`](77d8f2cb93)
Remove rand.seed() from assoc tests
-
[`416827e`](416827e28b)
VNet improved test readability
-
[`1a60a8f`](1a60a8f3ba)
Update module github.com/pion/transport/v3 to v3.0.8
-
[`200bc7a`](200bc7a1b4)
Update CI configs to v0.11.29
-
[`766f31a`](766f31a0c5)
Apply go modernize
-
[`62a0086`](62a0086d71)
Update CI configs to v0.11.26
-
[`e47acc0`](e47acc0658)
Update CI configs to v0.11.25
-
[`9473735`](94737352fc)
Update module github.com/stretchr/testify to v1.11.1
-
[`c94b06e`](c94b06e104)
Update CI configs to v0.11.24
-
[`f3696dc`](f3696dc3b6)
Update module github.com/stretchr/testify to v1.11.0
-
[`4a23fad`](4a23fad93a)
Fix lint isuses with golangci\@&#8203;v2
-
[`9abb705`](9abb705442)
Update CI configs to v0.11.22
-
[`3839652`](3839652572)
Update module github.com/pion/logging to v0.2.4
-
[`b5317d6`](b5317d6d16)
Update CI configs to v0.11.20
-
[`2657b67`](2657b67d5b)
Replace interface{} with any

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/pion/webrtc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNDMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE0My4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-14 04:49:38 +00:00
Pion
a35c52a050 Update CI configs to v0.11.31
Update lint scripts and CI configs.
2025-10-11 16:19:11 -04:00
renovate[bot]
4ca0aec79b Update module github.com/pion/rtp to v1.8.23
Generated by renovateBot
2025-10-05 21:13:45 +00:00
Shreyas Jaganmohan
0575dfbe15 Add interface for getting media-playout stats v4.1.5 2025-10-03 12:05:29 -04:00
renovate[bot]
bf15721dd9 Update module github.com/pion/transport/v3 to v3.0.8
Generated by renovateBot
2025-09-30 19:08:10 +00:00
renovate[bot]
041211f88f Update module github.com/pion/interceptor to v0.1.41
Generated by renovateBot
2025-09-30 10:02:45 +00:00
renovate[bot]
706c75b864 Update module github.com/pion/srtp/v3 to v3.0.8
Generated by renovateBot
2025-09-25 16:53:53 +00:00
Pion
43976dc075 Update CI configs to v0.11.29
Update lint scripts and CI configs.
2025-09-21 22:38:33 -04:00
Sean DuBois
e0181e91e1 Update TestPeerConnection_SessionID to run on WASM
Relates to #2714
2025-09-19 16:56:07 -04:00
Joe Turki
5a0e56e105 Prefer makezero with a cap 2025-09-19 06:19:21 +03:00
Joe Turki
9acbc661f6 Cleanup statsGetter after peer is closed 2025-09-19 05:42:41 +03:00
Shreyas Jaganmohan
4c1261ff83 Add inbound-rtp stats
Remove comments

Add collectStats test

Fix linter issues

Remove comment

Fix tests

Address comments

Fix comment

Fix function comment
2025-09-18 23:25:24 +02:00
philipch07
370412f694 Improve code cov 2025-09-16 21:39:38 -04:00
philipch07
7f1ab45859 Remove unused file 2025-09-16 21:39:38 -04:00
philipch07
39d1b3cb9d Apply go modernize suggestions 2025-09-14 18:20:19 -04:00
Sean DuBois
781ff736bf Create examples/data-channels-detach-create
Pion <-> Pion DataChannels example

Resolves #2706
2025-09-12 15:31:59 -04:00
renovate[bot]
f5fd0fadda Update dependency @roamhq/wrtc to v0.9.1
Generated by renovateBot
2025-09-12 08:22:32 -07:00
Sean DuBois
6ef2888a26 Fix RTPSender.SetReadDeadline crash
Add nil pointer check when calling SetReadDeadline. I don't believe this
can happen with WebRTC, but is possible with `ortc`.

A future improvement would be to cache the `SetReadDeadline` call. At
this time the complexity seems to outweight the reward.

Resolves #2889
2025-09-12 08:13:19 -07:00
Sean DuBois
634a904ba9 Fire OnBufferedAmountLow in a goroutine
If a user blocks this routine it would stop inbound message handling in
SCTP. To reduce the sharp edge fire it in a goroutine so users don't
need to worry about blocking.

`data-channels-flow-control` exhibited no differences in throughput from
this change.

Resolves #846
2025-09-11 11:32:00 -07:00
Sean DuBois
1527bfa2e3 Allow IVFWriter Framerate to be modified
Before was hardcoded to 30/1

Resolves #696
2025-09-09 10:45:38 -07:00
Sean DuBois
cf7625dff8 Allow IVFWriter Width/Height to be modified
Before was hardcoded to 640x480

Relates to #696
2025-09-09 09:55:13 -07:00
renovate[bot]
882f699ca5 Update actions/setup-node action to v5
Generated by renovateBot
2025-09-04 22:18:52 -04:00
Sean DuBois
e9efed4d18 Fix trailing space in rtcp-fb with no Parameter
Media construction would always do "%s %s" even if no Parameter was
available. This commit fixes that by checking if Parameter is empty or
not.

Resolves #3207
2025-09-04 10:45:00 -04:00
renovate[bot]
457679c440 Update module github.com/pion/rtp to v1.8.22
Generated by renovateBot
2025-09-03 21:14:19 +00:00
renovate[bot]
3bb8fcea4a Update module github.com/pion/sdp/v3 to v3.0.16
Generated by renovateBot
2025-09-01 16:24:48 +00:00
renovate[bot]
4eebb3eddc Update actions/checkout action to v5
Generated by renovateBot
2025-09-01 11:59:43 -04:00
Pion
5b098de582 Update CI configs to v0.11.26
Update lint scripts and CI configs.
2025-08-31 23:25:58 -04:00
Pion
cda9130802 Update CI configs to v0.11.25
Update lint scripts and CI configs.
2025-08-31 23:04:59 -04:00
Pion
e7183f9e18 Update CI configs to v0.11.24
Update lint scripts and CI configs.
2025-08-29 23:44:50 -04:00
boks1971
c376d0edf9 Match codec order of remote peer
Done when creating a transceiver from remote description to respect
codec order preference of remote peer.

There was a recent change to include partial matches which overwrote
same codecs and also rtx was getting magled.

Change it by removing codecs from search space as matches are found so
that a codec match is applied only once.

Also, move RTX matching to separate block to ensure proper RTXes ar
matched.
2025-08-28 10:15:58 +05:30