Commit Graph

1791 Commits

Author SHA1 Message Date
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
dependabot[bot]
bec9852934
build(deps): bump github.com/bluenviron/gortsplib/v4 from 4.0.0 to 4.0.1 (#2293)
Bumps [github.com/bluenviron/gortsplib/v4](https://github.com/bluenviron/gortsplib) from 4.0.0 to 4.0.1.
- [Commits](https://github.com/bluenviron/gortsplib/compare/v4.0.0...v4.0.1)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/gortsplib/v4
  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:41:55 +02:00
github-actions[bot]
82714fddcd
bump hls-js to v1.4.12 (#2283) 2023-09-02 09:56:03 +02:00
Alessandro Ros
ffa34428fc
fix bug that prevented multiple readers from accessing the same stream (#2281) (#2282) 2023-09-01 23:15:27 +02:00
Alessandro Ros
966bec88c6
bump gortsplib, gohlslib, mediacommon (#2279) 2023-09-01 20:10:26 +02:00
Alessandro Ros
5a40a06e9e
fix changing log level with hot reloading or API (#2278) 2023-09-01 19:54:34 +02:00
Alessandro Ros
95baade478
srt: fix memory leak during reader disconnection (#2273) 2023-08-31 23:01:47 +02:00
Alessandro Ros
fc353ce66b
rtmp: fix RTMPE handshake error when a public key starts with zero (#2269) 2023-08-30 19:47:48 +02:00
Alessandro Ros
f69be81e20
optimize generation of docker images (#2267) 2023-08-30 13:10:47 +02:00
Alessandro Ros
90bd6cb12b
update dependencies (#2266) 2023-08-30 11:48:03 +02:00
Alessandro Ros
5fb7f4e846
force all readers to use an asynchronous writer (#2265)
needed by #2255
2023-08-30 11:24:14 +02:00
Alessandro Ros
30a69a7722
fix maxReaders limit in case of multiple tracks (#2246) (#2264) 2023-08-30 10:58:24 +02:00
Alessandro Ros
bd1cb35022
fix conversion of AV1/VP9 tracks from HLS/RTMP to RTSP (#2263) 2023-08-29 19:52:39 +02:00
Alessandro Ros
8e955d2119
hls: return 404 when requesting hls.min.js.map (#2262) 2023-08-29 11:03:10 +02:00
SwhiG
e74c45865a
Update README.md (#2256)
docs: fix typo in readme
2023-08-27 21:56:01 +02:00
Alessandro Ros
30b7245bb9
limit logging of decode errors (#2253) 2023-08-26 23:34:39 +02:00
Alessandro Ros
34dc84de90
rtmp: add limit on message body size (#2252) 2023-08-26 22:44:33 +02:00
Alessandro Ros
b72f3577c8
print warning when the write queue is full (#2251) 2023-08-26 19:45:10 +02:00
Alessandro Ros
d6bdf4bf92
bump github.com/datarhei/gosrt to v0.5.4 (#2250) 2023-08-26 18:54:44 +02:00
Alessandro Ros
cf86dbb303
switch to gortsplib/v4 (#2244) 2023-08-26 18:54:28 +02:00
Alessandro Ros
055767fef0
fix manual benchmarks (#2249) 2023-08-26 18:11:55 +02:00
Alessandro Ros
bf8e69ea89
rename readBufferCount into writeQueueSize (#2248) 2023-08-26 13:25:21 +02:00
Alessandro Ros
e0fb11040e
move units into dedicated package (#2245)
needed by #2244
2023-08-25 18:11:02 +02:00
Alessandro Ros
23ddaac481
support publishing VP9 tracks with RTMP (#2247) 2023-08-25 17:02:51 +02:00
Alessandro Ros
482266ae95
hls source: fix formatting debug log messages (#2243) 2023-08-24 22:42:57 +02:00
github-actions[bot]
de90baa697
bump hls-js to v1.4.10 (#2239)
Co-authored-by: mediamtx-bot <bot@mediamtx>
2023-08-23 18:44:47 +02:00
Alessandro Ros
d93d21ebbb
fix workflow (#2238) 2023-08-23 18:43:00 +02:00
Alessandro Ros
eefc608549
fix workflow (#2237) 2023-08-23 18:39:51 +02:00
Alessandro Ros
1e15d4995c
embed hls.js into the server (#2202) (#2236) 2023-08-23 18:37:07 +02:00
Alessandro Ros
1133c734ab
support publishing AV1/H265 with OBS 30 (#2217) (#2234) 2023-08-22 22:56:23 +02:00
Xavier Hallade
accfc49f9c
allow RTMP streaming with codecid=av01 or hvc1 (#2232)
* allow RTMP streaming with codecid=av01 or hvc1

Prior to this change, when trying to stream AV1 over enhanced RTMP using
XSplit Broadcaster, the server was refusing the content with
"unsupported video codec: av01" message.

* add tests

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2023-08-22 22:35:09 +02:00
dependabot[bot]
c4409026e6
build(deps): bump github.com/pion/webrtc/v3 from 3.2.16 to 3.2.17 (#2229) 2023-08-21 20:58:36 +02:00