Commit Graph

2168 Commits

Author SHA1 Message Date
sirzooro
c79463deab Added SCTPTransport.BufferedAmount
It simplifies tracking amount of unsent data for all data channels,
including ones in closing state. Especially useful for IoT apps
which use multiple data channels and have to monitor memory usage.
v4.0.15
2025-04-14 18:22:17 +02:00
renovate[bot]
3e43ae91a8 Update module github.com/pion/sctp to v1.8.38
Generated by renovateBot
2025-04-13 06:43:19 +00:00
renovate[bot]
8cda9b7d20 Update module github.com/pion/ice/v4 to v4.0.10
Generated by renovateBot
2025-04-13 01:39:47 +00:00
renovate[bot]
4f2208d01d Update dependency node to v22
Generated by renovateBot
2025-04-12 18:41:44 +00:00
sirzooro
77fc1cb069 Added missing lock 2025-04-12 20:40:54 +02:00
Sean DuBois
924dd092b6 Add IPv6 Test
If IPv6 is supported assert that Pion can connect via it.

Resolves #1315
2025-04-09 12:11:46 -04:00
Sean DuBois
43c27b7a5e Fix race in TestDetachRemovesDatachannelReference
Don't use same error in goroutine
2025-04-08 11:58:31 -04:00
SangHo
4128a820c8 Fix flakey test TestInterceptorNack
Wait for PeerConnection to reach 'connected' in NACK test. Otherwise
test will fail.
2025-04-07 23:44:56 -04:00
Jingyang Kang
334692b122 Add findFECPayloadType (#3084)
#### Description

Before this, any interceptor that tries to read FEC payload type from
`info *interceptor.StreamInfo`, always gets 0. This PR implements the
logic to find FEC payload type.

Also, MimeType consts are moved from mediaengine.go to mimetype.go,
since mediaengine.go is not included in the WASM build.
2025-04-07 20:29:51 +08:00
Joe Turki
0b5e438a3f Add bluesky link next to twitter 2025-04-07 05:59:31 +02:00
Joe Turki
31c63199b6 Remove Slack links 2025-04-06 17:07:53 +02:00
Anton
39908b9b96 Fix pion2pion example readme 2025-04-02 14:35:49 +02:00
renovate[bot]
e1487b5b7f Update module github.com/pion/dtls/v3 to v3.0.6 (#3062)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/pion/dtls/v3](https://redirect.github.com/pion/dtls) |
`v3.0.4` -> `v3.0.6` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fpion%2fdtls%2fv3/v3.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fpion%2fdtls%2fv3/v3.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fpion%2fdtls%2fv3/v3.0.4/v3.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fpion%2fdtls%2fv3/v3.0.4/v3.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://redirect.github.com/pion/dtls/compare/v3.0.5...v3.0.6)

#### What's Changed

- Revert rollback Go version bump by Renovate by
[@&#8203;JoeTurki](https://redirect.github.com/JoeTurki) in
[https://github.com/pion/dtls/pull/700](https://redirect.github.com/pion/dtls/pull/700)

**Full Changelog**: https://github.com/pion/dtls/compare/v3.0.5...v3.0.6

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

[Compare
Source](https://redirect.github.com/pion/dtls/compare/v3.0.4...v3.0.5)

#### Changelog

-
[`fbc7bae`](fbc7bae955)
Update docker.io/library/golang Docker tag to v1.24
([#&#8203;694](https://redirect.github.com/pion/dtls/issues/694))
-
[`13b929b`](13b929b076)
Update module golang.org/x/net to v0.37.0
([#&#8203;697](https://redirect.github.com/pion/dtls/issues/697))
-
[`3a0f50a`](3a0f50af7d)
Use crypto.Signer whenever possible
([#&#8203;681](https://redirect.github.com/pion/dtls/issues/681))
-
[`16d6306`](16d630638a)
Update module golang.org/x/net to v0.34.0
([#&#8203;693](https://redirect.github.com/pion/dtls/issues/693))
-
[`8eb9a91`](8eb9a91be4)
Upgrade golangci-lint, more linters
-
[`1c0df61`](1c0df61a22)
Update module github.com/pion/logging to v0.2.3
([#&#8203;691](https://redirect.github.com/pion/dtls/issues/691))
-
[`1e4ae60`](1e4ae60e28)
Update module golang.org/x/net to v0.33.0 \[SECURITY]
-
[`ceb8458`](ceb84588ac)
Update module golang.org/x/crypto to v0.31.0 \[SECURITY]
-
[`4e34db5`](4e34db5ca6)
Update module golang.org/x/net to v0.31.0
-
[`02434c7`](02434c73b4)
Update module golang.org/x/crypto to v0.29.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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOTQuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-31 22:10:39 +00:00
3DRX
19cdd093c4 Add mime type for flexfec03 and ulpfec 2025-04-01 00:49:10 +08:00
Joe Turki
740e5166c5 Update lint rules, force testify/assert for tests
Use testify's assert package instead of the standard library's testing
package.
2025-03-27 12:08:37 +02:00
renovate[bot]
617de62745 Update module github.com/pion/ice/v4 to v4.0.9 (#3072)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/pion/ice/v4](https://redirect.github.com/pion/ice) |
`v4.0.8` -> `v4.0.9` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fpion%2fice%2fv4/v4.0.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fpion%2fice%2fv4/v4.0.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fpion%2fice%2fv4/v4.0.8/v4.0.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fpion%2fice%2fv4/v4.0.8/v4.0.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://redirect.github.com/pion/ice/compare/v4.0.8...v4.0.9)

#### What's Changed

- Handle candidate: prefix with UnmarshalCandidate by
[@&#8203;JoeTurki](https://redirect.github.com/JoeTurki) in
[https://github.com/pion/ice/pull/769](https://redirect.github.com/pion/ice/pull/769)

**Full Changelog**: https://github.com/pion/ice/compare/v4.0.8...v4.0.9

</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-27 03:10:15 +00:00
Joe Turki
a51e66c9e8 Update readme add discord and bluesky 2025-03-25 20:45:08 +02:00
Joe Turki
1a1488d290 Expose ICE candidates ToICE() method
Expose ToICE() method on ICE candidates to allow for easier conversion
to ice package ICE candidates.

Resolve https://github.com/pion/webrtc/issues/3069
2025-03-25 11:24:25 -04:00
Joe Turki
5ce8e05d22 Resolve undeclared SSRC using the payload type
Introduces a fallback mechanism to handle undeclared SSRCs from multiple
sections using the RTP stream's payload type. For legacy clients
without MID extension support, it documents the existing behavior for
handling undeclared SSRCs in single media sections.
v4.0.14
2025-03-19 07:50:16 +02:00
renovate[bot]
c523e5a2bf Update module github.com/pion/ice/v4 to v4.0.8 (#3067)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/pion/ice/v4](https://redirect.github.com/pion/ice) |
`v4.0.7` -> `v4.0.8` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fpion%2fice%2fv4/v4.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fpion%2fice%2fv4/v4.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fpion%2fice%2fv4/v4.0.7/v4.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fpion%2fice%2fv4/v4.0.7/v4.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://redirect.github.com/pion/ice/compare/v4.0.7...v4.0.8)

#### Changelog

-
[`37fb5d2`](37fb5d2fc3)
Always send KeepAlives
([#&#8203;767](https://redirect.github.com/pion/ice/issues/767))

</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-18 02:50:44 +00:00
renovate[bot]
09e2ad5c2f Update module github.com/pion/sdp/v3 to v3.0.11 (#3060)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/pion/sdp/v3](https://redirect.github.com/pion/sdp) |
`v3.0.10` -> `v3.0.11` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fpion%2fsdp%2fv3/v3.0.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fpion%2fsdp%2fv3/v3.0.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fpion%2fsdp%2fv3/v3.0.10/v3.0.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fpion%2fsdp%2fv3/v3.0.10/v3.0.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://redirect.github.com/pion/sdp/compare/v3.0.10...v3.0.11)

#### Changelog

-
[`c7c57e2`](c7c57e2a16)
Error on conflicting codec values when parsing
-
[`c128a97`](c128a97b2d)
Update CI configs to v0.11.18

</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODUuNCIsInVwZGF0ZWRJblZlciI6IjM5LjE4NS40IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-11 11:50:17 +00:00
renovate[bot]
add8eaa362 Update module github.com/pion/rtp to v1.8.13 (#3059)
This PR contains the following updates:

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

---

### Release Notes

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

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

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

#### Changelog

-
[`9bbc0f6`](9bbc0f6885)
Fix nalu parsing for 3-byte & 4-byte start seqs
([#&#8203;301](https://redirect.github.com/pion/rtp/issues/301))

</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODUuNCIsInVwZGF0ZWRJblZlciI6IjM5LjE4NS40IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-11 05:34:54 +00:00
Evan Brass
34f547626b Update CertificateFromPEM to support OpenSSL
Update CertificateFromPEM to be a loop over the PEM blocks.
This allows decoding the private key before decoding the certificate.
Tries to parse the certificate block directly but if that errors,
then it also tries to base64 decode the certificate block.

Fixes #3042
2025-03-10 23:23:54 -04:00
Sean DuBois
e4ff415b2b Support DataChannel messages larger then MaxUint16
SCTP now internally can handle larger messages

Resolves #2712
v4.0.13
2025-03-04 18:22:14 -08:00
Joe Turki
98a0025083 Add support for AV1 and VP9 to play from disk v4.0.12 2025-03-02 10:26:32 +02:00
Joe Turki
8f8c2322fb Refactor Ivfwriter.WriteRTP implemention
Break the WriteRTP function into smaller functions for each codec type.
2025-03-01 23:52:40 +02:00
Joe Turki
fd7fe3fbce Fix AV1 IVF writer using RTP depacketizer
1. Replaced the OBU reader with the AV1 depacketizer to actually handle
RTP input.
2. Now explicitly constructing OBUTemporalDelimiter to ensure proper
separation of frames.
2025-03-01 23:36:07 +02:00
Joe Turki
38fdb70355 Fix save to disk examples 2025-03-01 22:52:56 +02:00
Joe Turki
bdfe07a07c Move ErrCodecAlreadyRegistered to errors.go 2025-03-01 22:18:16 +02:00
Manish
19789447bb Return error if payload type exists in codecs list 2025-03-01 22:02:48 +02:00
Joe Turki
a80256e99f Update pion/rtp to v1.8.12 2025-03-01 21:54:36 +02:00
renovate[bot]
61162f3085 Update module golang.org/x/net to v0.35.0 (#3046)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| golang.org/x/net | `v0.34.0` -> `v0.35.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fnet/v0.35.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fnet/v0.35.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fnet/v0.34.0/v0.35.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fnet/v0.34.0/v0.35.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

📅 **Schedule**: Branch creation - "on the first day of the month" (UTC),
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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuMiIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-01 19:51:32 +00:00
cnderrauber
dae0af938b Add Req/Res count/time to candidate stats (#3043)
See https://github.com/pion/ice/pull/763
v4.0.11
2025-02-27 13:37:55 +08:00
cnderrauber
44062a7a78 Missed Done when collecting ice stats (#3040)
Missed Done when error in collecting
2025-02-24 18:19:59 +08:00
renovate[bot]
9f3df089ac Update module github.com/pion/sctp to v1.8.36 (#3039)
Generated by renovate
2025-02-18 08:02:11 -05:00
Sean DuBois
70f0211065 Add GetRemoteParameters to ICETransport
Implementing to match webrtc-pc
v4.0.10
2025-02-17 13:40:12 -05:00
Alessandro Ros
969ab684e3 Fix matching codecs with different rate or channels
Currently codecs are matched regardless of the clock
rate and the channel count, and this makes impossible to fully support
codecs that might have a clock rate or channel count different than the
default one, in particular LPCM, PCMU, PCMA and multiopus (the last one
is a custom Opus variant present in the Chrome source code to support
multichannel Opus).

For instance, let's suppose a peer (receiver) wants to receive an audio
track encoded with LPCM, 48khz sample rate and 2 channels. This receiver
doesn't know the audio codec yet, therefore it advertises all supported
sample rates in the SDP:

```
LPCM/44100
LPCM/48000
LPCM/44100/2
LPCM/48000/2
```

The other peer (sender) receives the SDP, but since the clock rate and
channel count are not taken into consideration when matching codecs, the
sender codec `LPCM/48000/2` is wrongly associated with the receiver
codec `LPCM/44100`. The result is that the audio track cannot be decoded
correctly from the receiver side.

This patch fixes the issue and has been running smoothly in MediaMTX for
almost a year.

Unfortunately, in lots of examples and tests, clock rate and/or channels
are not present (and in fact they are producing horrible SDPs that
contain `VP8/0` instead of `VP8/90000` and are incompatible with lots of
servers) therefore this new check causes troubles in existing code. In
order to maintain compatibility, default clock rates and channels are
provided for most codecs.

In the future, it might be better to update examples (i can do it in a
future patch) and remove the exception.
2025-02-15 21:16:47 -05:00
Sean DuBois
70d06fd9f6 Fix ivfwriter with VP9
Use the correct values for timestamps
2025-02-12 22:26:31 -05:00
renovate[bot]
ee669ca89d Update golang Docker tag to v1.24
Generated by renovateBot
2025-02-12 16:09:04 -05:00
Kevin Wang
bea7ae3745 Add ivfwriter support for VP9
Adds the necessary wiring to get VP9 to work with `ivfwriter`.
Update the README of save-to-disk to inform users it supports
both VP8 and VP9.
    
ivfwriter currently assumes 30 fps but it seems that the other codecs
also assume 30 fps so that is not a net-new assumption.
2025-02-12 16:06:41 -05:00
LeeTeng2001
306dc37769 Fix error handling in RTPReceiver.Receive
If we failed to startReceive we would still make the Receiver as ready
to start reading.
    
Fixes #2929
2025-02-12 11:47:42 -05:00
Sean DuBois
1c45355b8c Fix H264Writer writing 0 length payloads
Before we would call Write even if no bytes were available.
v4.0.9
2025-02-11 14:57:36 -05:00
Sean DuBois
46565ffd95 Cleanup PeerConnection in WriteRTCP Test
Relates to #3032
2025-02-11 14:21:32 -05:00
Sean DuBois
ae260d4eeb Assert that WriteRTCP works before connected
Resolves #3032
2025-02-11 14:10:45 -05:00
WofWca
99eb390362 Implement JSValue for more structures
Previously was only implemented for PeerConnection.
2025-02-11 12:41:11 -05:00
WofWca
4ee374714a Implement DataChannel OnError/OnClosing for WASM
`OnClosing` is only implemented in WASM at this time.

`OnError` isn't tested, but should work as follows the existing
code.

Relates to #479 
Relates to #519
2025-02-11 12:39:56 -05:00
renovate[bot]
59c72707b4 Update module golang.org/x/net to v0.34.0
Generated by renovateBot
2025-02-01 01:01:34 +00:00
Joe Turki
a0d7d022c0 Preserve ICE candidate Extensions
Ensure that ICE candidates are retained when parsed and stringified,
and converted to ICE.candidate.
2025-01-31 14:49:47 -06:00
renovate[bot]
7c3b12817a Update module github.com/pion/ice/v4 to v4.0.6 (#3025)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/pion/ice/v4](https://redirect.github.com/pion/ice) |
`v4.0.5` -> `v4.0.6` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fpion%2fice%2fv4/v4.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fpion%2fice%2fv4/v4.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fpion%2fice%2fv4/v4.0.5/v4.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fpion%2fice%2fv4/v4.0.5/v4.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://redirect.github.com/pion/ice/compare/v4.0.5...v4.0.6)

#### Changelog

-
[`d21ae5e`](d21ae5e0e5)
Include ufrag in generated ICE candidates
-
[`141df5a`](141df5a086)
Update module github.com/pion/logging to v0.2.3
-
[`9dfb5c2`](9dfb5c2667)
Allow for empty extension values
-
[`47dad55`](47dad556f1)
Add methods to add and remove extensions
-
[`cad1676`](cad1676659)
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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-31 08:06:30 +00:00
renovate[bot]
47bde05666 Update module github.com/pion/logging to v0.2.3 (#3020)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/pion/logging](https://redirect.github.com/pion/logging) |
`v0.2.2` -> `v0.2.3` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fpion%2flogging/v0.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fpion%2flogging/v0.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fpion%2flogging/v0.2.2/v0.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fpion%2flogging/v0.2.2/v0.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://redirect.github.com/pion/logging/compare/v0.2.2...v0.2.3)

#### Changelog

-
[`770cd0b`](770cd0b2bb)
Fix flaky PION_LOG_\*, more tests
([#&#8203;117](https://redirect.github.com/pion/logging/issues/117))
-
[`8466bde`](8466bdebfc)
Upgrade golangci, Enable more linters
-
[`b6abcca`](b6abcca03b)
Update go.mod version to 1.20
-
[`9dc3c2e`](9dc3c2ead3)
Update CI configs to v0.11.15
-
[`5bb0d65`](5bb0d65625)
Update CI configs to v0.11.12
-
[`a6de6a9`](a6de6a9f77)
Update go.mod version to 1.19
-
[`1f0cca2`](1f0cca2e69)
Update CI configs to v0.11.7
-
[`986a4ff`](986a4ff4da)
Log to stderr by default, not stdout
-
[`6d08bc6`](6d08bc6c8e)
Update CI configs to v0.11.4
-
[`05c5f10`](05c5f10ef6)
Update CI configs to v0.11.3
-
[`29593ae`](29593aebe9)
Update CI configs to v0.11.0
-
[`4e7b423`](4e7b4238a8)
Remove 'AUTHORS.txt' from README.md
-
[`0492da5`](0492da50a8)
Remove 'Generate Authors' workflow
-
[`c3a15ed`](c3a15ed635)
Update CI configs to v0.10.11
-
[`b62977a`](b62977acd2)
Update CI configs to v0.10.9
-
[`37105f7`](37105f7335)
Bring back LICENSE file
-
[`c466bd8`](c466bd87af)
Update CI configs to v0.10.8
-
[`e60efc8`](e60efc8ffb)
Make package REUSE compliant
-
[`4ac3d41`](4ac3d4178e)
Update CI configs to v0.10.7
-
[`57c27e1`](57c27e160c)
Update CI configs to v0.10.6
-
[`7157224`](715722498f)
Harmonize sections in README
-
[`d4b7246`](d4b72463b6)
Update AUTHORS.txt
-
[`78fd1e6`](78fd1e69d2)
Cleanup common sections in README
-
[`463a608`](463a608813)
Cleanup badges in README
-
[`abff37d`](abff37dad8)
Update CI configs to v0.10.3
-
[`1a33d59`](1a33d599dd)
Update CI configs to v0.10.2
-
[`24ddd2d`](24ddd2da5b)
Update CI configs to v0.7.10
-
[`6158995`](6158995255)
Update CI configs to v0.7.9
-
[`9b909f6`](9b909f6383)
Update CI configs to v0.7.8
-
[`4217a1e`](4217a1e2c7)
Update CI configs to v0.7.5
-
[`efae134`](efae1345c1)
Update CI configs to v0.7.3
-
[`32cc142`](32cc142451)
Update CI configs to v0.7.2
-
[`eb043cd`](eb043cd1f6)
Update CI configs to v0.7.1
-
[`851eed6`](851eed6ca1)
Update CI configs to v0.7.0
-
[`1c9d1bc`](1c9d1bc6a9)
Update CI configs to v0.6.10
-
[`d1f23a7`](d1f23a75dd)
Update CI configs to v0.6.9
-
[`a78addf`](a78addf895)
Update CI configs to v0.6.8
-
[`21f382b`](21f382b0b8)
Update CI configs to v0.6.7
-
[`1255034`](1255034101)
Update CI configs to v0.6.6
-
[`7f68dfe`](7f68dfebb8)
Update CI configs to v0.6.4
-
[`cce6434`](cce6434b55)
Update CI configs to v0.6.2
-
[`41207f2`](41207f25a7)
Update CI configs to v0.6.0
-
[`b0e9686`](b0e9686919)
Update CI configs to v0.5.9
-
[`d572b72`](d572b72819)
Update CI configs to v0.5.6
-
[`911b565`](911b565091)
Update CI configs to v0.5.4
-
[`3aa5c12`](3aa5c12fda)
Update CI configs to v0.4.24
-
[`37cdd8d`](37cdd8d67a)
Update CI configs to v0.4.22
-
[`0b6cf40`](0b6cf40a44)
Update CI configs to v0.4.21
-
[`ed5ad6d`](ed5ad6d979)
Update CI configs to v0.4.20
-
[`f86d327`](f86d3277e5)
Update CI configs to v0.4.19
-
[`40a0233`](40a023361a)
Update CI configs to v0.4.18
-
[`1777ea7`](1777ea7174)
Update CI configs to v0.4.17
-
[`3ae4d55`](3ae4d55182)
Update CI configs to v0.4.15
-
[`aabfe56`](aabfe565ba)
Update CI configs to v0.4.14
-
[`c75a265`](c75a2659ab)
Update CI configs to v0.4.13
-
[`b734f6c`](b734f6ca5d)
Update CI configs to v0.4.12
-
[`8a6cf63`](8a6cf634f1)
Update CI configs to v0.4.10
-
[`051d147`](051d147ade)
Update CI configs to v0.4.9
-
[`3231fc7`](3231fc7f36)
Update CI configs to v0.4.8
-
[`d9c73ac`](d9c73ac36c)
Update CI configs to v0.4.7
-
[`5ac2036`](5ac2036d72)
Update CI configs to v0.4.6
-
[`d407078`](d4070784e6)
Update CI configs to v0.4.5
-
[`51ebba3`](51ebba3447)
Update CI configs to v0.3.4
-
[`6569cb4`](6569cb47fe)
Update CI configs to v0.3.3
-
[`ebe4248`](ebe4248d86)
Update CI configs to v0.3.1
-
[`cbaaf6c`](cbaaf6c310)
Update CI configs to v0.2.0
-
[`831b13e`](831b13ea93)
GoDoc -> pkg.go.dev
-
[`bae9dac`](bae9dacc9d)
Update CI configs to v0.1.3
-
[`99a34a6`](99a34a6f71)
Upgrade golangci-lint to 1.19.1
-
[`cedba27`](cedba27d5d)
Update assets to v0.0.2
-
[`4b131ff`](4b131ffec2)
Update golangci-lint

</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-25 01:37:05 +00:00