1930 Commits

Author SHA1 Message Date
dependabot[bot]
c7bc42682f Bump github.com/pion/rtp from 1.8.12 to 1.8.13 (#717)
Bumps [github.com/pion/rtp](https://github.com/pion/rtp) from 1.8.12 to 1.8.13.
- [Release notes](https://github.com/pion/rtp/releases)
- [Changelog](https://github.com/pion/rtp/blob/master/.goreleaser.yml)
- [Commits](https://github.com/pion/rtp/compare/v1.8.12...v1.8.13)

---
updated-dependencies:
- dependency-name: github.com/pion/rtp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-12 00:08:02 +01:00
dependabot[bot]
439c1a9579 Bump github.com/pion/rtp from 1.8.11 to 1.8.12 (#714) 2025-03-04 04:15:35 +01:00
Alessandro Ros
5ac15b88e8 support last 4 Golang versions (#713) 2025-03-02 09:52:26 +01:00
Alessandro Ros
b088919a76 bump Golang to 1.24 (#712) 2025-03-01 12:56:03 +01:00
Alessandro Ros
9c70b4192f update linter (#711) 2025-03-01 11:33:40 +01:00
Alessandro Ros
17ee46e238 simplify client-record-format-mpeg4audio (#709) 2025-02-22 18:27:22 +01:00
Alessandro Ros
90cac184c9 improve examples (#708) 2025-02-22 14:28:02 +01:00
Alessandro Ros
3829fef787 update VP8/VP9 examples to decode/encode frames (#704) 2025-02-19 22:45:31 +01:00
Alessandro Ros
a17e1f776e improve examples (#703)
* add client-play-format-av1-to-jpeg
* improve client-play-format-av1 to decode frames
* improve speed of sample decoders by using pointers instead of copies
* improve client-record-format-h264 and client-record-format-h265 to encode frames
* add client-record-format-av1
2025-02-19 22:00:49 +01:00
Alessandro Ros
55556f1ecf add ServerConn.VerifyCredentials() (#555) 2025-02-18 17:39:04 +01:00
Alessandro Ros
3409f00c90 disable VerifyMethodDigestSHA256 unless explicitly set (#702) 2025-02-18 15:16:39 +01:00
Alessandro Ros
46374d3815 remove useless test lines (#701) 2025-02-18 15:10:52 +01:00
Alessandro Ros
0d7a585783 update readme (#700) 2025-02-18 12:10:12 +01:00
Alessandro Ros
885a9975ef rename auth.Validate into auth.Verify (#698) 2025-02-14 11:34:55 +01:00
dependabot[bot]
261e88ba75 Bump golang.org/x/net from 0.34.0 to 0.35.0 (#697)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.34.0 to 0.35.0.
- [Commits](https://github.com/golang/net/compare/v0.34.0...v0.35.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-11 10:13:30 +01:00
Alessandro Ros
770549f223 add sample credentials to client examples (#696) 2025-02-10 15:45:27 +01:00
Alessandro Ros
ed078672e4 switch to mediacommon/v2 (#695) 2025-02-10 14:50:05 +01:00
dependabot[bot]
4779b35c23 Bump github.com/bluenviron/mediacommon from 1.13.4 to 1.14.0 (#694)
Bumps [github.com/bluenviron/mediacommon](https://github.com/bluenviron/mediacommon) from 1.13.4 to 1.14.0.
- [Commits](https://github.com/bluenviron/mediacommon/compare/v1.13.4...v1.14.0)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/mediacommon
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
v4.12.3
2025-02-07 19:59:16 +01:00
Alessandro Ros
64309126c6 server: fix panic during PAUSE due to race condition (#689) (#692) 2025-02-07 16:30:10 +01:00
Alessandro Ros
e963544973 fix compatibility with AVOID encoders (bluenviron/mediamtx#4183) (#688) 2025-02-01 13:36:02 +01:00
dependabot[bot]
07039eb7d9 Bump github.com/bluenviron/mediacommon from 1.13.3 to 1.13.4 (#686)
Bumps [github.com/bluenviron/mediacommon](https://github.com/bluenviron/mediacommon) from 1.13.3 to 1.13.4.
- [Commits](https://github.com/bluenviron/mediacommon/compare/v1.13.3...v1.13.4)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/mediacommon
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-24 10:45:07 +01:00
Alessandro Ros
ca6286321d fix various race conditions when writing packets to closed clients or server sessions (#684) v4.12.2 2025-01-19 12:07:59 +01:00
Sijmen
b2cfa93d13 client: fix panic when writing packets after connection error (#681)
* Fix writer nullpointer panic on network reconnect

* add additional code and tests

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2025-01-18 19:40:47 +01:00
Alessandro Ros
6240aa2847 server: fix resetting writer when OnPlay fails (#683) 2025-01-18 19:12:59 +01:00
Alessandro Ros
4c8670a4b0 refactor format parser (#682) 2025-01-18 17:18:04 +01:00
dependabot[bot]
b7d86f616c Bump github.com/pion/rtp from 1.8.10 to 1.8.11 (#680) 2025-01-17 07:56:18 +01:00
dependabot[bot]
631d81494f Bump github.com/pion/sdp/v3 from 3.0.9 to 3.0.10 (#679)
Bumps [github.com/pion/sdp/v3](https://github.com/pion/sdp) from 3.0.9 to 3.0.10.
- [Release notes](https://github.com/pion/sdp/releases)
- [Changelog](https://github.com/pion/sdp/blob/master/.goreleaser.yml)
- [Commits](https://github.com/pion/sdp/compare/v3.0.9...v3.0.10)

---
updated-dependencies:
- dependency-name: github.com/pion/sdp/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-13 23:14:28 +01:00
Alessandro Ros
c308cb3355 improve script compatibility (#677) 2025-01-10 17:30:07 +01:00
dependabot[bot]
ab0c9891a8 Bump github.com/pion/rtp (#661)
Bumps [github.com/pion/rtp](https://github.com/pion/rtp) from 1.8.7-0.20240429002300-bc5124c9d0d0 to 1.8.10.
- [Release notes](https://github.com/pion/rtp/releases)
- [Changelog](https://github.com/pion/rtp/blob/master/.goreleaser.yml)
- [Commits](https://github.com/pion/rtp/commits/v1.8.10)

---
updated-dependencies:
- dependency-name: github.com/pion/rtp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-07 16:18:53 +01:00
dependabot[bot]
ec082ef481 Bump golang.org/x/net from 0.33.0 to 0.34.0 (#676) 2025-01-07 00:22:55 +01:00
Alessandro Ros
fdac0a7789 fix compatibility with latest Go toolchain (#675) 2025-01-06 14:22:19 +01:00
dependabot[bot]
ec919809a4 Bump github.com/bluenviron/mediacommon from 1.13.2 to 1.13.3 (#674)
* Bump github.com/bluenviron/mediacommon from 1.13.2 to 1.13.3

Bumps [github.com/bluenviron/mediacommon](https://github.com/bluenviron/mediacommon) from 1.13.2 to 1.13.3.
- [Commits](https://github.com/bluenviron/mediacommon/compare/v1.13.2...v1.13.3)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/mediacommon
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix lint

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
v4.12.1
2025-01-02 12:45:18 +01:00
Alessandro Ros
c548551701 prevent wrong results in format comparisons or when formats are used as keys (#673) 2025-01-01 12:55:03 +01:00
Alessandro Ros
9b72f5242f server: add ServerConn.Session() method (#668) 2024-12-25 16:01:54 +01:00
Alessandro Ros
b4181c6e57 server: fix panic during session closure (#671) 2024-12-25 15:54:40 +01:00
Alessandro Ros
4d3d6bc108 prevent RTPPacketsJitter from being NaN (#670) 2024-12-25 15:32:16 +01:00
Alessandro Ros
5d44205cbe rename RTPJitter into RTPPacketsJitter (#669) 2024-12-25 15:14:40 +01:00
Alessandro Ros
87c6d81053 add statistics to Client, ServerSession, ServerConn, ServerStream (#556) (#656) v4.12.0 2024-12-25 13:30:08 +01:00
Alessandro Ros
8c4a3ca018 unexport RTCPSender, RTCPReceiver, LossDetector, Reorderer (#667) 2024-12-24 21:21:11 +01:00
Alessandro Ros
93b012b3ca server: always open firewall before sending messages (#666) 2024-12-24 16:50:53 +01:00
Alessandro Ros
5506eb2f7f use a single TCP outgoing buffer each client / session (#665)
this saves memory.
2024-12-24 10:24:24 +01:00
dependabot[bot]
6750427282 Bump golang.org/x/net from 0.32.0 to 0.33.0 (#662)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.32.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.32.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-19 00:01:35 +01:00
dependabot[bot]
ee9144820a Bump github.com/bluenviron/mediacommon from 1.13.1 to 1.13.2 (#660)
Bumps [github.com/bluenviron/mediacommon](https://github.com/bluenviron/mediacommon) from 1.13.1 to 1.13.2.
- [Commits](https://github.com/bluenviron/mediacommon/compare/v1.13.1...v1.13.2)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/mediacommon
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-16 23:55:43 +01:00
dependabot[bot]
a323f83a90 Bump github.com/pion/rtcp from 1.2.14 to 1.2.15 (#659)
Bumps [github.com/pion/rtcp](https://github.com/pion/rtcp) from 1.2.14 to 1.2.15.
- [Release notes](https://github.com/pion/rtcp/releases)
- [Changelog](https://github.com/pion/rtcp/blob/master/.goreleaser.yml)
- [Commits](https://github.com/pion/rtcp/compare/v1.2.14...v1.2.15)

---
updated-dependencies:
- dependency-name: github.com/pion/rtcp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-16 23:48:47 +01:00
Alessandro Ros
8f74559616 close connections in case of write errors (#613) (#655) 2024-12-14 13:45:11 +01:00
Alessandro Ros
a2df9d83b3 client: fix BytesSent / BytesReceived computation (#612) (#654)
When the TCP transport protocol is in use, BytesSent and BytesReceived
were increased twice.
2024-12-13 20:55:50 +01:00
Kevin Wang
51f00fa828 skip invalid bytes in connection read (#653) 2024-12-10 20:06:45 +01:00
Alessandro Ros
db334b3a8d server: fix crash with invalid SETUP request (bluenviron/mediamtx#4025) (#652) 2024-12-08 18:58:13 +01:00
Alessandro Ros
fb61e9a922 fix codecov URL (#651) 2024-12-08 17:26:17 +01:00
dependabot[bot]
a2ae0fcbe0 Bump golang.org/x/net from 0.31.0 to 0.32.0 (#650)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.31.0 to 0.32.0.
- [Commits](https://github.com/golang/net/compare/v0.31.0...v0.32.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-04 23:29:32 +01:00