Commit graph

1822 commits

Author SHA1 Message Date
dependabot[bot]
fdf4f7a16e
build(deps): bump github.com/pion/interceptor from 0.1.19 to 0.1.20 (#2437) 2023-09-29 21:02:14 +02:00
Alessandro Ros
eb975027b2
add runOnRecordSegmentComplete and rclone integration (#2404) (#2428) 2023-09-29 18:24:10 +02:00
Alessandro Ros
2d929e1132
move 'srtReadPassphrase' into the right section (#2435) 2023-09-28 19:40:24 +02:00
Alessandro Ros
442a48363c
allow to start/stop recording without disconnecting clients (#2395) (#2434) 2023-09-28 19:39:56 +02:00
Paxx
72e74b6456
api: fix crash when retrieving RTMP and SRT connections (#2430)
Co-authored-by: Paxx <daniel.botta@hiway.media>
2023-09-28 17:45:34 +02:00
Alessandro Ros
42aa979309
api: save errors in logs (#2426) 2023-09-27 15:18:02 +02:00
Alessandro Ros
61b77a3ff9
api: return 400 in case of non-existent config fields (#2425) 2023-09-27 14:56:31 +02:00
Alessandro Ros
d7d96230ff
rtmp: fix compatibility issue with some DJI drones (#2375) (#2409) 2023-09-27 14:38:07 +02:00
dependabot[bot]
9044e88c9d
build(deps): bump github.com/abema/go-mp4 from 1.0.0 to 1.1.0 (#2421)
Bumps [github.com/abema/go-mp4](https://github.com/abema/go-mp4) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/abema/go-mp4/releases)
- [Commits](https://github.com/abema/go-mp4/compare/v1.0.0...v1.1.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>
2023-09-27 14:37:47 +02:00
dependabot[bot]
0389d7ada0
build(deps): bump github.com/pion/webrtc/v3 from 3.2.20 to 3.2.21 (#2414)
Bumps [github.com/pion/webrtc/v3](https://github.com/pion/webrtc) from 3.2.20 to 3.2.21.
- [Release notes](https://github.com/pion/webrtc/releases)
- [Changelog](https://github.com/pion/webrtc/blob/master/.goreleaser.yml)
- [Commits](https://github.com/pion/webrtc/compare/v3.2.20...v3.2.21)

---
updated-dependencies:
- dependency-name: github.com/pion/webrtc/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>
2023-09-26 10:23:32 +02:00
dependabot[bot]
5f66cc83d8
build(deps): bump github.com/pion/rtp from 1.8.1 to 1.8.2 (#2415)
Bumps [github.com/pion/rtp](https://github.com/pion/rtp) from 1.8.1 to 1.8.2.
- [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.1...v1.8.2)

---
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>
2023-09-26 10:23:20 +02:00
dependabot[bot]
b4c73747d3
build(deps): bump github.com/abema/go-mp4 from 0.13.0 to 1.0.0 (#2413)
Bumps [github.com/abema/go-mp4](https://github.com/abema/go-mp4) from 0.13.0 to 1.0.0.
- [Release notes](https://github.com/abema/go-mp4/releases)
- [Commits](https://github.com/abema/go-mp4/compare/v0.13.0...v1.0.0)

---
updated-dependencies:
- dependency-name: github.com/abema/go-mp4
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-26 10:22:53 +02:00
Alessandro Ros
b1f74c30c0
bump dependencies (#2405) 2023-09-24 18:03:33 +02:00
Alessandro Ros
f1e28d053f
webrtc: fix ETag header name according to specification (#2396) (#2401) 2023-09-23 14:21:53 +02:00
rmcnew
75f518a827
Support SRT encryption passphrases on configured paths (#2385)
* Support SRT encryption passphrases on configured paths

* Fix namespace; make passphrase use more clear

* Updates from Alessandro's feedback and lint output

* Fix lint findings

* Update lint.yml

* Update lint.yml

* Fix lint findings

* Add SRT passphrase tests for conf/path

* Reformat test to pass lint

* More changes to pass lint

* More changes to pass lint

* Use safeConf to prevent race conditions

* update API docs

* split configuration checks from connection checks

* add tests

* rename publishSRTPassphrase into srtPublishPassphrase, readSRTPassphrase into srtReadPassphrase

* remove redundant alias

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2023-09-23 12:55:45 +02:00
Alessandro Ros
cadc6b3ea7
rename 'external commands' into 'hooks' (#2400) 2023-09-23 12:49:08 +02:00
Alessandro Ros
3a7d86ec03
normalize configuration (#2399) 2023-09-23 12:48:34 +02:00
Alessandro Ros
1f11d95059
support recording M-JPEG tracks (#2391) 2023-09-22 12:35:35 +02:00
Alessandro Ros
d07ba5983e
update gortsplib (#2390) 2023-09-21 17:21:18 +02:00
Alessandro Ros
e4df14a447
fix timestamp of outgoing RTSP/RTP packets in case of aggregated access units (#2389) 2023-09-21 16:13:40 +02:00
Alessandro Ros
89cf3bb2fa
fix crash when processing H265 (#2378) (#2381) 2023-09-20 12:32:01 +02:00
Alessandro Ros
fadfda936d
support AC-3 tracks in SRT and UDP; support recording AC-3 tracks (#2376) 2023-09-19 22:33:00 +02:00
Alessandro Ros
8fd7019f2a
rpi camera: add additional checks on configuration (#2368) 2023-09-19 11:49:44 +02:00
Alessandro Ros
b86dc979ca
fix default value of some settings (#2367)
rtmpServerKey, rtmpServerCert, recordPath, rpiCameraExposure,
rpiCameraAWB, rpiCameraDenoise, rpiCameraMetering, rpiCameraAfMode,
rpiCameraAfRange, rpiCameraAfSpeed were not set correctly when missing
in the configuration file.
2023-09-19 11:49:11 +02:00
Alessandro Ros
7ca2571dc3
fix race condition wen record agent is closing (#2369) 2023-09-19 11:43:26 +02:00
Alessandro Ros
ac10102329
automatically set 'record: yes' when not specified (#2366) 2023-09-18 22:34:38 +02:00
Alessandro Ros
338456423e
update recordDeleteAfter documentation (#2361) (#2362) 2023-09-17 12:59:11 +02:00
Alessandro Ros
bedfa9651a
fix windows build (#2360) 2023-09-16 23:21:10 +02:00
Alessandro Ros
1f840a1bea
update dependencies (#2359) 2023-09-16 23:05:03 +02:00
Alessandro Ros
f2f417e451
search for configuration file in various paths, print paths if configuration is not found (#1993) (#2276) (#2357) 2023-09-16 22:14:13 +02:00
Alessandro Ros
64d9060560
add additional environment variables to custom commands (#1414) (#2356)
new variables: MTX_CONN_TYPE, MTX_CONN_ID, MTX_SOURCE_TYPE, MTX_SOURCE_ID, MTX_READER_TYPE, MTX_READ_ID
2023-09-16 21:41:49 +02:00
Alessandro Ros
ed77560811
add runOnDisconnect, runOnNotReady, runOnUnread (#1464) (#2355) 2023-09-16 19:21:48 +02:00
Alessandro Ros
73ddb21e63
implement native recording (#1399) (#2255)
* implement native recording (#1399)

* support saving VP9 tracks

* support saving MPEG-1 audio tracks

* switch segment when codec parameters change

* allow to disable recording on a path basis

* allow disabling recording cleaner

* support recording MPEG-1/2/4 video tracks

* add microseconds to file names

* add tests
2023-09-16 17:27:07 +02:00
Alessandro Ros
b7e7758293
srt, udp: support publishing and reading MPEG-1/2/4 video with SRT and UDP/MPEG-TS (#2277) 2023-09-16 17:23:40 +02:00
Alessandro Ros
c4cb4200ff
split RTP packet handling from data handling (#2337) 2023-09-16 17:16:33 +02:00
Alessandro Ros
f786f64690
apidocs: mark discrete parameters as integers (#2331) (#2354) 2023-09-15 22:49:58 +02:00
Alessandro Ros
ba954d5b93
update specs (#2344) 2023-09-14 18:41:02 +02:00
dependabot[bot]
8197831f49
build(deps): bump github.com/bluenviron/mediacommon from 1.1.1 to 1.2.0 (#2339)
Bumps [github.com/bluenviron/mediacommon](https://github.com/bluenviron/mediacommon) from 1.1.1 to 1.2.0.
- [Commits](https://github.com/bluenviron/mediacommon/compare/v1.1.1...v1.2.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>
2023-09-13 23:00:06 +02:00
dependabot[bot]
61a0bba2c5
build(deps): bump github.com/pion/webrtc/v3 from 3.2.19 to 3.2.20 (#2340)
Bumps [github.com/pion/webrtc/v3](https://github.com/pion/webrtc) from 3.2.19 to 3.2.20.
- [Release notes](https://github.com/pion/webrtc/releases)
- [Changelog](https://github.com/pion/webrtc/blob/master/.goreleaser.yml)
- [Commits](https://github.com/pion/webrtc/compare/v3.2.19...v3.2.20)

---
updated-dependencies:
- dependency-name: github.com/pion/webrtc/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>
2023-09-13 22:58:28 +02:00
Alessandro Ros
a005de1aa0
udp: fix reading two streams with same port and different multicast IP (#2133) (#2332)
Fixes #2133
2023-09-12 00:27:08 +02:00
dependabot[bot]
2a26962167
build(deps): bump github.com/pion/interceptor from 0.1.18 to 0.1.19 (#2329) 2023-09-11 20:34:03 +02:00
dependabot[bot]
937fa3a2dd
build(deps): bump github.com/pion/webrtc/v3 from 3.2.18 to 3.2.19 (#2328) 2023-09-11 19:52:47 +02:00
Alessandro Ros
f07886db5f
print the reason why a source is started or stopped (#2322) 2023-09-09 23:37:56 +02:00
Alessandro Ros
4b5a977c86
rtsp: normalize debug logging of requests / responses (#2321) 2023-09-09 23:08:47 +02:00
dependabot[bot]
6402e18b5c
build(deps): bump golang.org/x/net from 0.14.0 to 0.15.0 (#2301)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/net/compare/v0.14.0...v0.15.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>
2023-09-05 20:59:16 +02:00
dependabot[bot]
6d9c8ffb89
build(deps): bump github.com/pion/ice/v2 from 2.3.10 to 2.3.11 (#2300)
Bumps [github.com/pion/ice/v2](https://github.com/pion/ice) from 2.3.10 to 2.3.11.
- [Release notes](https://github.com/pion/ice/releases)
- [Changelog](https://github.com/pion/ice/blob/master/.goreleaser.yml)
- [Commits](https://github.com/pion/ice/compare/v2.3.10...v2.3.11)

---
updated-dependencies:
- dependency-name: github.com/pion/ice/v2
  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>
2023-09-05 20:53:13 +02:00
dependabot[bot]
5f2b1114d1
build(deps): bump golang.org/x/crypto from 0.12.0 to 0.13.0 (#2299)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.12.0 to 0.13.0.
- [Commits](https://github.com/golang/crypto/compare/v0.12.0...v0.13.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>
2023-09-05 20:53:04 +02:00
Alessandro Ros
5b92bd5699
fix compatibility with RTMP Dahua cameras (#2289) (#769) (#2298) 2023-09-05 19:09:50 +02:00
dependabot[bot]
608b373468
build(deps): bump github.com/pion/webrtc/v3 from 3.2.17 to 3.2.18 (#2292)
Bumps [github.com/pion/webrtc/v3](https://github.com/pion/webrtc) from 3.2.17 to 3.2.18.
- [Release notes](https://github.com/pion/webrtc/releases)
- [Changelog](https://github.com/pion/webrtc/blob/master/.goreleaser.yml)
- [Commits](https://github.com/pion/webrtc/compare/v3.2.17...v3.2.18)

---
updated-dependencies:
- dependency-name: github.com/pion/webrtc/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>
2023-09-04 19:43:08 +02:00
dependabot[bot]
2e554c4d6c
build(deps): bump golang.org/x/term from 0.11.0 to 0.12.0 (#2294)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.11.0 to 0.12.0.
- [Commits](https://github.com/golang/term/compare/v0.11.0...v0.12.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  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>
2023-09-04 19:42:53 +02:00