Commit Graph

2023 Commits

Author SHA1 Message Date
Alessandro Ros
b6eaa6bc18
move test utilities into 'test' (#3016)
* move test utilities into 'test'

* rename newEmptyTimer into emptyTimer
2024-02-13 18:49:27 +01:00
Alessandro Ros
c2883f2ce9
hls: when alwaysRemux is true, prevent clients from creating muxers (#3015) 2024-02-13 17:37:03 +01:00
Alessandro Ros
3161e73a58
rename httpserv into httpp (#3014) 2024-02-13 13:04:56 +01:00
Alessandro Ros
487f92ac55
hls: in logs, store both ip and port of incoming requests (#3013) 2024-02-12 22:44:44 +01:00
Alessandro Ros
df3dfea132
fix compilation with Windows and git autocrlf (#3010) (#3011) 2024-02-12 18:13:01 +01:00
Alessandro Ros
9eb97ad3a0
remove hls.js from the repository and restore plain MIT license (#3008) 2024-02-12 00:31:13 +01:00
Alessandro Ros
fcf649cdaf
tests: make sure that dates with decimal seconds can be parsed correctly (#3007) 2024-02-12 00:20:35 +01:00
github-actions[bot]
1b13018321
bump hls-js to v1.5.4 (#2999)
Co-authored-by: mediamtx-bot <bot@mediamtx>
2024-02-08 21:42:25 +01:00
dependabot[bot]
e9f26f32c4
build(deps): bump golang.org/x/crypto from 0.18.0 to 0.19.0 (#3002)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/crypto/compare/v0.18.0...v0.19.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  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-02-08 21:41:48 +01:00
Alessandro Ros
22a589b724
stop logging HTTP requests twice (#2993) 2024-02-05 22:26:33 +01:00
Alessandro Ros
b92c8c2613
update dependencies (#2989) 2024-02-05 00:02:28 +01:00
Alessandro Ros
0332ba59a0
api: add endpoints for recording management (#2901) (#2988) 2024-02-04 23:51:51 +01:00
Alessandro Ros
5e27304935
apidocs: group operations by using tags (#2987) 2024-02-04 21:22:13 +01:00
Alessandro Ros
695e327a03
playback: make 'format' parameter optional (#2980) 2024-02-03 16:11:09 +01:00
Alessandro Ros
de9a456e98
rename 'API' into 'Control API' (#2981) 2024-02-03 16:08:57 +01:00
Alessandro Ros
ff70f9022e
playback: accept durations written in seconds (#2979) 2024-02-03 16:05:39 +01:00
Alessandro Ros
e6bf095a05
playback: add /list endpoint to list available timespans (#2978) 2024-02-03 15:54:07 +01:00
Alessandro Ros
4553fc267c
hls, webrtc: in web page, add shadow to messages (#2959) 2024-02-03 11:31:01 +01:00
Alessandro Ros
b32bc8dee9
hls, webrtc: in web page, prevent video from overflowing (#2958) 2024-02-03 11:30:44 +01:00
Alessandro Ros
320f5a7a21
api: improve performance by using RWMutex (#2968) 2024-01-31 22:41:37 +01:00
github-actions[bot]
97c58b4530
bump hls-js to v1.5.3 (#2964)
Co-authored-by: mediamtx-bot <bot@mediamtx>
2024-01-31 10:37:37 +01:00
Alessandro Ros
0433af66a3
hls, webrtc: in the web page, show connection errors to users (#2957) 2024-01-29 00:43:34 +01:00
Alessandro Ros
7d0e702f14
hls: fix infinite loop in web client when reading incompatible codecs (#2956)
when a player received a stream with incompatible codecs, it started
polling the server for index.m3u8 in an infinite loop. This was caused
by #2631
2024-01-29 00:25:42 +01:00
Alessandro Ros
0f733bab26
add rpiCameraAWBGains (#2858) (#2954) 2024-01-28 21:48:21 +01:00
Alessandro Ros
60aaed935b
bump Linux Alpine to 3.19 (#2837) (#2953) 2024-01-27 19:41:58 +01:00
Alessandro Ros
7caa08ea36
restore link to pion/sdp (#2952) 2024-01-27 17:45:27 +01:00
Alessandro Ros
6f6f8e0994
prevent multiple crashes when reloading the configuration (#2945) 2024-01-26 13:04:06 +01:00
github-actions[bot]
2f35bbc5bc
bump hls-js to v1.5.2 (#2948)
Co-authored-by: mediamtx-bot <bot@mediamtx>
2024-01-26 12:20:08 +01:00
dependabot[bot]
3f330cca30
build(deps): bump github.com/google/uuid from 1.5.0 to 1.6.0 (#2939)
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/uuid/compare/v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/google/uuid
  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-01-25 10:34:06 +01:00
Alessandro Ros
cf7088a91b
update dependencies (#2935) 2024-01-23 21:01:21 +01:00
Alessandro Ros
0e1204a943
add infos about SRT standard stream ID to the README (#2934) 2024-01-23 20:52:18 +01:00
Alessandro Ros
57c2d5aecb
add playback server (#2452) (#2906)
* add playback server

* add playback switch

* update readme
2024-01-23 20:52:05 +01:00
dependabot[bot]
fd2466a8e5
build(deps): bump github.com/bluenviron/mediacommon from 1.8.0 to 1.9.0 (#2928)
Bumps [github.com/bluenviron/mediacommon](https://github.com/bluenviron/mediacommon) from 1.8.0 to 1.9.0.
- [Commits](https://github.com/bluenviron/mediacommon/compare/v1.8.0...v1.9.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>
2024-01-22 18:41:51 +01:00
Alessandro Ros
9b270adc03
record: use reception time instead of current time in segment names (#2925) 2024-01-21 19:15:31 +01:00
Alessandro Ros
f8a56aae91
rtmp: simplify Audio message structure (#2924) 2024-01-21 16:29:13 +01:00
Alessandro Ros
7b9617f2e7
api: return 404 when an entity is not found (#2582) (#2920) 2024-01-18 23:28:56 +01:00
Alessandro Ros
b3eaec50c1
srt: support standard streamID syntax (#2469) (#2919) 2024-01-18 23:23:51 +01:00
Alessandro Ros
dd7d7c6c5d
srt: wait some seconds before returning authentication errors (#2918)
this allows to mitigate brute force attacks and is possible thanks to
https://github.com/datarhei/gosrt/pull/43
2024-01-18 22:48:25 +01:00
dependabot[bot]
84333dc304
build(deps): bump github.com/datarhei/gosrt from 0.5.5 to 0.5.7 (#2912)
Bumps [github.com/datarhei/gosrt](https://github.com/datarhei/gosrt) from 0.5.5 to 0.5.7.
- [Commits](https://github.com/datarhei/gosrt/compare/v0.5.5...v0.5.7)

---
updated-dependencies:
- dependency-name: github.com/datarhei/gosrt
  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-01-18 22:15:48 +01:00
dependabot[bot]
5cdc19d3e9
build(deps): bump github.com/abema/go-mp4 from 1.1.1 to 1.2.0 (#2913)
Bumps [github.com/abema/go-mp4](https://github.com/abema/go-mp4) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/abema/go-mp4/releases)
- [Commits](https://github.com/abema/go-mp4/compare/v1.1.1...v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/abema/go-mp4
  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-01-16 22:40:06 +01:00
dependabot[bot]
e144f988aa
build(deps): bump github.com/bluenviron/mediacommon from 1.7.1 to 1.8.0 (#2910)
Bumps [github.com/bluenviron/mediacommon](https://github.com/bluenviron/mediacommon) from 1.7.1 to 1.8.0.
- [Commits](https://github.com/bluenviron/mediacommon/compare/v1.7.1...v1.8.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>
2024-01-15 20:01:44 +01:00
dependabot[bot]
c85410ecaa
build(deps): bump github.com/bluenviron/gortsplib/v4 (#2911)
Bumps [github.com/bluenviron/gortsplib/v4](https://github.com/bluenviron/gortsplib) from 4.6.4-0.20240108201647-63a81d0896f5 to 4.7.1.
- [Commits](https://github.com/bluenviron/gortsplib/commits/v4.7.1)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/gortsplib/v4
  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-01-15 18:32:46 +01:00
Alessandro Ros
cd2495423a
do not wait for HTTP connections to close when shutting down the server (#2909) 2024-01-15 17:54:52 +01:00
Alessandro Ros
514036d41a
treat different RTSP formats as different tracks in logs and API (#2907) 2024-01-15 12:08:14 +01:00
Sijmen
397c58a882
Add Argon2 credential hash support (#2888)
* Add argon2 credential hash support

* update README, tests and documentation

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-01-13 12:49:08 +01:00
Alessandro Ros
20bb9b90cd
support G711 tracks with multiple channels and custom sample rates (#2891) 2024-01-13 11:40:26 +01:00
github-actions[bot]
a6c7d287a7
bump hls-js to v1.5.1 (#2903)
Co-authored-by: mediamtx-bot <bot@mediamtx>
2024-01-13 11:33:09 +01:00
dependabot[bot]
120791b415
build(deps): bump github.com/bluenviron/mediacommon from 1.7.0 to 1.7.1 (#2897)
Bumps [github.com/bluenviron/mediacommon](https://github.com/bluenviron/mediacommon) from 1.7.0 to 1.7.1.
- [Commits](https://github.com/bluenviron/mediacommon/compare/v1.7.0...v1.7.1)

---
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-01-13 11:28:12 +01:00
github-actions[bot]
584fdb72a0
bump hls-js to v1.5.0 (#2900) 2024-01-11 11:27:11 +01:00
dependabot[bot]
cf68fe459d
build(deps): bump golang.org/x/crypto from 0.17.0 to 0.18.0 (#2896)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/crypto/compare/v0.17.0...v0.18.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  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-01-09 23:06:06 +01:00