Alessandro Ros
1b127d70bb
examples: restart video files when they end ( #733 )
2025-03-23 19:04:12 +01:00
Alessandro Ros
f290b464b8
server: close server automatically with StartAndWait() ( #734 )
2025-03-23 19:02:02 +01:00
Alessandro Ros
e46ae59920
add server-h264-from-disk example ( #719 ) ( #727 )
2025-03-23 16:53:54 +01:00
Alessandro Ros
8c6495c33b
server: prevent wrong OnSetup / OnDescribe usage ( #732 )
2025-03-23 16:42:29 +01:00
Alessandro Ros
304c38bb60
examples: prevent redundant checks in OnSetup when recording ( #731 )
2025-03-23 16:33:46 +01:00
Alessandro Ros
87d3720f48
examples: use RWMutex when possible ( #730 )
2025-03-23 16:25:42 +01:00
Alessandro Ros
c8f4a0b0d3
examples: add missing mutex in OnSetup ( #729 )
2025-03-23 16:20:54 +01:00
Alessandro Ros
fcb018151b
make ServerStream return an error if initialized before Server ( #719 ) ( #728 )
2025-03-23 16:17:34 +01:00
Alessandro Ros
fa94080e84
prevent decoders from returning empty NALUs (bluenviron/mediamtx#4346) ( #726 )
2025-03-22 22:45:54 +01:00
trxo
b6d6f6bf37
Fix incorrect function call ( #725 )
2025-03-19 14:33:47 +01:00
Alessandro Ros
376fb9e821
replace New* with Initialize ( #723 )
2025-03-16 13:58:35 +01:00
Alessandro Ros
db959f854e
update badges ( #721 )
2025-03-12 11:49:58 +01:00
dependabot[bot]
bf9a267db6
Bump github.com/pion/sdp/v3 from 3.0.10 to 3.0.11 ( #718 )
...
Bumps [github.com/pion/sdp/v3](https://github.com/pion/sdp ) from 3.0.10 to 3.0.11.
- [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.10...v3.0.11 )
---
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-03-12 00:15:47 +01:00
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