Commit Graph
2128 Commits
Author SHA1 Message Date
Alessandro RosandGitHub 5d0ebdef56 webrtc: fix error when charset is in Content-Type (#3126) (#3318) 2024-05-05 10:47:12 +02:00
Alessandro RosandGitHub 575d3585fe fix unexpected behavior of authInternalUsers or authHTTPExclude (#3316)
when some subfields of authInternalUsers or authHTTPExclude were not
set explicitly in the configuration file, default values were used in
their place. This is caused by a strange behavior of Go
(https://github.com/golang/go/issues/21092)
2024-05-04 10:12:43 +02:00
xjr20042andGitHub 8b51ca9c8b rtmp: fix error when reading metadata (#3302)
some rtmp client will send set chunk size after publish stream
2024-04-29 21:49:38 +02:00
Alessandro RosandGitHub 1204f76eb7 update golangci-lint (#3300) 2024-04-28 18:20:08 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5d74906414 build(deps): bump github.com/pion/rtp from 1.8.5 to 1.8.6 (#3288)
Bumps [github.com/pion/rtp](https://github.com/pion/rtp) from 1.8.5 to 1.8.6.
- [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.5...v1.8.6)

---
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>
2024-04-24 11:55:59 +02:00
Alessandro RosandGitHub 3d69edb533 update dependencies (#3281) 2024-04-21 17:21:45 +02:00
Alessandro RosandGitHub 85dd81698b support HTTPS, Allow-Origin and trusted proxies in API, playback server, metrics server and pprof server (#2658) (#2491) (#3235) (#3280) 2024-04-21 17:10:35 +02:00
Alessandro RosandGitHub 9e636308d9 bump Go to 1.22 (#3279) 2024-04-21 11:12:14 +02:00
Alessandro RosandGitHub 6513f05bb6 update README (#3278) 2024-04-21 11:11:23 +02:00
Alessandro RosandGitHub bfa83fcd33 webrtc: support WHIP/WHEP endpoints without PATCH support (#3273) (#3277) 2024-04-20 23:55:35 +02:00
FuseTimandGitHub 4ed1a39da2 webrtc: support charset in Content-Type of WHIP offer responses (#3274) 2024-04-20 23:24:19 +02:00
Alessandro RosandGitHub dc3eae7f96 add whipclientsink instructions to the README (#3276) 2024-04-20 23:21:39 +02:00
xjr20042andGitHub 75ae2f4fac hls: fix population of runOnDemand's MTX_QUERY (#3255) 2024-04-19 22:53:16 +02:00
2bd8ac7e19 fix support for JWT authentication in API, metrics, playback, pprof (#3253)
Co-authored-by: Rafael Scheidt <rafaelscheidt@Rafaels-MacBook-Air.local>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-04-18 23:55:48 +02:00
Alessandro RosandGitHub b84f0b90d0 add JWT authentication tests (#3272) 2024-04-18 22:58:37 +02:00
Alessandro RosandGitHub 9d82d4e783 api: fix crash when calling config/paths/patch on an empty path config (#3265) 2024-04-18 00:23:39 +02:00
Alessandro RosandGitHub 9a67eb8bb6 record: increase default part duration to 1s (#3264) 2024-04-18 00:11:28 +02:00
Alessandro RosandGitHub cfea14e8e5 webrtc: detect stereo tracks published with the web page (#2902) (#3263) 2024-04-17 23:41:45 +02:00
Alessandro RosandGitHub 9e718f9dd9 webrtc: in publish page, prevent same device from appearing multiple times (#3261) 2024-04-17 23:39:17 +02:00
Alessandro RosandGitHub 851358a379 webrtc: fix loading default video and devices from query (#3260) 2024-04-17 22:59:50 +02:00
Alessandro RosandGitHub 36f4425fa4 webrtc: fix setting bitrate when 'optimize for voice' is off (#3262) 2024-04-17 22:59:06 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
42d982cb92 build(deps): bump github.com/pion/interceptor from 0.1.28 to 0.1.29 (#3259)
Bumps [github.com/pion/interceptor](https://github.com/pion/interceptor) from 0.1.28 to 0.1.29.
- [Release notes](https://github.com/pion/interceptor/releases)
- [Changelog](https://github.com/pion/interceptor/blob/master/.goreleaser.yml)
- [Commits](https://github.com/pion/interceptor/compare/v0.1.28...v0.1.29)

---
updated-dependencies:
- dependency-name: github.com/pion/interceptor
  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-04-17 19:13:32 +02:00
Alessandro RosandGitHub 7193f82708 webrtc: improve layout of publish page; add 'ideal' label to width, height and framerate (#2845) (#3254) 2024-04-17 12:17:26 +02:00
Alessandro RosandGitHub 3a968118db playback: improve precision when splitting fMP4 parts (#3250) 2024-04-15 17:45:11 +02:00
Alessandro RosandGitHub 95f1f79b35 api: fix crash when changing settings of an on-demand source that is idle (#3246) (#3249) 2024-04-15 17:44:54 +02:00
Alessandro RosandGitHub 1c135fb62e test: add MP4 playback tests (#3245) 2024-04-15 11:39:49 +02:00
Alessandro RosandGitHub 099a6e8af3 update dependencies (#3241) 2024-04-14 19:33:39 +02:00
Alessandro RosandGitHub 4157f490fa playback: support serving streams in standard MP4 format (#3213)
* playback: support serving streams in standard MP4 format

* sort samples by DTS

* update readme
2024-04-14 19:29:29 +02:00
Alessandro RosandGitHub 665e11a376 webrtc, hls: use absolute paths in Location header (#3195) (#3177) (#3240) 2024-04-14 12:04:51 +02:00
Alessandro RosandGitHub a18bebfa58 webrtc: unexport WHIP primitives (#3233) 2024-04-13 11:08:30 +02:00
Alessandro RosandGitHub a6cc52f0b2 webrtc: return 404 in case a WHIP PATCH or WHIP DELETE request fails (#3232) 2024-04-13 11:04:45 +02:00
Alessandro RosandGitHub 4354535a94 webrtc: fix crash when marshaling ICE fragments (#3231) 2024-04-13 10:47:26 +02:00
santalexandGitHub 5a39e07eb7 run go generate before build to download necessary files. (#3229) 2024-04-12 16:15:38 +02:00
8aa26d6fb3 rtmp: fix streaming errors by handling AMF0 strict arrays (#3188) (#3189)
* add amf0 strict array decode

* add amf0 long string decode

* support amf0 types undefined, unsupported, xmldocument and date

* fix error and add tests

* modify tests to follow original way to test

* do not skip markerUnsupported / markerUndefined

* implement StrictArray marshaling; remove handling of long strings, XML documents, date

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-04-12 16:13:57 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d59174d458 build(deps): bump github.com/pion/interceptor from 0.1.27 to 0.1.28 (#3228)
Bumps [github.com/pion/interceptor](https://github.com/pion/interceptor) from 0.1.27 to 0.1.28.
- [Release notes](https://github.com/pion/interceptor/releases)
- [Changelog](https://github.com/pion/interceptor/blob/master/.goreleaser.yml)
- [Commits](https://github.com/pion/interceptor/compare/v0.1.27...v0.1.28)

---
updated-dependencies:
- dependency-name: github.com/pion/interceptor
  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-04-12 13:06:01 +02:00
571d813531 bump hls.js to v1.5.8 (#3222)
Co-authored-by: mediamtx-bot <bot@mediamtx>
2024-04-11 12:21:31 +02:00
Alessandro RosandGitHub 36a6ca6ba6 fix race condition in SRT tests (#3215) 2024-04-09 10:04:56 +02:00
Alessandro RosandGitHub 0b5519d30c deprecate path.playback parameter (#3217)
this has become useless after the introduction of the new
authentication system, that already allows to select which paths are
available for playback
2024-04-09 10:04:12 +02:00
Alessandro RosandGitHub a50642c669 improve record tests (#3216) 2024-04-09 09:36:38 +02:00
Alessandro RosandGitHub d63a0bc352 record: use original timescale of track instead of 90khz (#3212) 2024-04-09 00:16:21 +02:00
Alessandro RosandGitHub 55355ad58a playback: support serving tracks with any time scale (#3211) 2024-04-08 23:56:27 +02:00
Alessandro RosandGitHub 14bf7f4cc5 playback: fix bug that messed up duration of last sample of each track (#3210) 2024-04-08 23:01:23 +02:00
Alessandro RosandGitHub b5b44f4534 playback: improve performance when reading big segments (#3209) 2024-04-08 21:35:23 +02:00
lvyaotingandGitHub 34b120fd33 fix typo in comment (#3205)
Signed-off-by: lvyaoting <lvyaoting@outlook.com>
2024-04-08 09:29:42 +02:00
Alessandro RosandGitHub 9ce12ffa4a fix race condition in WebRTC tests (#3204) 2024-04-07 22:46:24 +02:00
Alessandro RosandGitHub d5a18bf78f playaback: use a fixed fMP4 part duration (#3203) 2024-04-07 22:33:49 +02:00
Alessandro RosandGitHub 3144b31185 playback: adjust speed to compensate discrepancies between NTP and DTS (#3202) 2024-04-07 20:29:46 +02:00
Alessandro RosandGitHub 0a8e6263a8 playback: increase sequence number of fMP4 parts (#3200) 2024-04-07 14:23:02 +02:00
Alessandro RosandGitHub b64e082253 playback: decrease concatenation tolerance to 0.5 secs (#3199) 2024-04-07 13:51:23 +02:00
Alessandro RosandGitHub c263fc6f7b playback: fix concatenation of segments with multiple tracks (#3198)
the duration of segments was computed erroneously, since it was taking
into consideration the last track only. Now the duration of a segment
corresponds to the maximum duration among all tracks.
2024-04-07 12:48:47 +02:00