Commit Graph
100 Commits
Author SHA1 Message Date
Alessandro RosandGitHub 37586b2300 api: allow to edit properties of path config "all" (#2067) (#2075) 2023-07-19 13:33:05 +02:00
Alessandro RosandGitHub 048280f4e2 webrtc: display publish-related errors in web page (#1836) (#2080) 2023-07-19 13:20:05 +02:00
Alessandro RosandGitHub 473c075d89 webrtc: fix memory leak during shutdown or session kick (#2079) 2023-07-19 12:31:50 +02:00
Alessandro RosandGitHub f7a30e7b38 api: return 404 when a path configuration is not found (#2067) (#2074)
this involves /v2/config/paths/edit and /v2/config/paths/remove
2023-07-19 00:22:52 +02:00
Alessandro RosandGitHub 22b120ef22 update list of supported codecs inside error messages (#2058) (#2073) 2023-07-19 00:14:50 +02:00
Alessandro RosandGitHub 5066ba403c webrtc: fix race condition that caused random crashes during handshake (#2072) 2023-07-18 23:41:52 +02:00
Alessandro RosandGitHub 3967caa530 join validation of TLS fingerprints (#2071) 2023-07-18 23:39:26 +02:00
Alessandro RosandGitHub ffa012ab3c make sure components are closed in a specific order (#2065) 2023-07-17 00:33:34 +02:00
Alessandro RosandGitHub 1398f42e08 allow removing default WebRTC ICE server with environment variables (#2064) 2023-07-17 00:12:05 +02:00
Alessandro RosandGitHub 8dad1e9d50 add to the README instructions on authentication with RTMP (#2056) (#2057) 2023-07-14 11:12:37 +02:00
Alessandro RosandGitHub 5e0b9b8426 disable colored log lines when output is not a terminal (#1477) (#2050) 2023-07-11 20:08:00 +02:00
Alessandro RosandGitHub 3e8a1674ab cleanup code (#2044) 2023-07-11 16:51:23 +02:00
Alessandro RosandGitHub 69fd7a6077 apidocs: fix source/reader types (#2027) 2023-07-05 21:21:14 +02:00
Alessandro RosandGitHub f0a4bd4e5d stop execution in case of panics when handling HTTP requests (#2021) 2023-07-04 22:24:07 +02:00
Alessandro RosandGitHub 64a715a663 hls, webrtc: add Authorization to Access-Control-Allow-Headers (#2018) (#2020) 2023-07-04 22:18:41 +02:00
Alessandro RosandGitHub 91ada9bf07 improve readme (#2016) 2023-07-02 14:11:33 +02:00
Alessandro RosandGitHub a7f3cb287e rewrite readme (#2015) 2023-07-02 14:03:53 +02:00
Alessandro RosandGitHub a1bbe76120 improve issue linter compatibility (#2010) 2023-07-01 17:00:09 +02:00
Alessandro RosandGitHub 74df255091 update dependencies (#2006) 2023-07-01 12:20:59 +02:00
Alessandro RosandGitHub 1a748bb971 webrtc: allow using special characters in ICE server credentials (#1953) (#2000) 2023-06-30 16:47:10 +02:00
Alessandro RosandGitHub 418f4a90b5 rpicamera: check libcamera architecture by using the ELF header (#1940) (#1997) 2023-06-28 16:46:32 +02:00
Alessandro RosandGitHub 059ca76fad webrtc: support publishing with OBS and WebRTC (#1998) 2023-06-28 15:47:21 +02:00
Alessandro RosandGitHub f1b975707a api: return 404 in /get and /kick endpoints (#1994) (#1995)
when an entity is not found
2023-06-27 23:55:31 +02:00
Alessandro RosandGitHub 20a3b07d0a webrtc: move codec and bitrate settings on client side (#1990) 2023-06-27 22:37:06 +02:00
Alessandro RosandGitHub 79ee4e06f3 webrtc: add option to disable audio effects (#1908) (#1989) 2023-06-27 22:36:29 +02:00
Alessandro RosandGitHub 4aef466103 webrtc: allow setting Opus bitrate (#1908) (#1985) 2023-06-27 22:15:50 +02:00
Alessandro RosandGitHub 6663f7b474 webrtc: forbid publishing zero tracks (#1991) 2023-06-27 13:58:06 +02:00
Alessandro RosandGitHub fb1f8ff81d webrtc: fix bitrate not being applied (#1984) 2023-06-24 18:35:19 +02:00
Alessandro RosandGitHub c46d2156b6 webrtc: fix memory leak when publishing or reading (#1884) (#1983) 2023-06-24 13:30:36 +02:00
Alessandro RosandGitHub 2faca73749 hls, webrtc: in the web page, pass query parameters to inner requests (#1976) 2023-06-22 13:19:57 +02:00
Alessandro RosandGitHub 5224531551 webrtc: do not pass preflight requests to external auth (#1941) (#1972) 2023-06-22 12:49:59 +02:00
Alessandro RosandGitHub e42002c24a add instructions on how to add audio to rpi camera (#1620) (#1388) (#1425) (#1975) 2023-06-22 12:10:09 +02:00
Alessandro RosandGitHub ba6c0fa822 set Access-Control-Allow-Headers to a static string (#1973) 2023-06-22 00:16:19 +02:00
Alessandro RosandGitHub 5033d1e145 update dependencies (#1968) 2023-06-21 16:20:21 +02:00
4d55824508 add Arch Linux package (#1957) (#1969)
* add Arch Linux package

* Update README.md

Co-authored-by: database64128 <free122448@hotmail.com>

---------

Co-authored-by: database64128 <free122448@hotmail.com>
2023-06-21 16:09:22 +02:00
Alessandro RosandGitHub f79c4783c7 rename environment variable RTSP_PATH into MTX_PATH (#1967) 2023-06-21 16:08:37 +02:00
Alessandro RosandGitHub 815fa0586a webrtc: fix using inline credentials in URLs (#1919) (#1966) 2023-06-21 15:44:04 +02:00
Alessandro RosandGitHub 4f098cbdf3 improve tests (#1965) 2023-06-21 15:03:02 +02:00
Alessandro RosandGitHub daa6500082 webrtc: make preflight OPTIONS requests work with external auth (#1941) (#1964)
* webrtc: allow preflight OPTIONS requests to work with external auth (#1941)

* add tests

* improve tests
2023-06-21 13:53:58 +02:00
Alessandro RosandGitHub d3354a0c99 fix 'runOnDemandRestart: yes' (#1947) 2023-06-21 13:25:26 +02:00
Alessandro RosandGitHub f1c437acf2 update readme (#1944) 2023-06-15 17:00:38 +02:00
Alessandro RosandGitHub 73d3a81126 fix make dockerhub-legacy (#1924) 2023-06-07 13:48:10 +02:00
Alessandro RosandGitHub c9eb1a56aa change Docker repository to bluenviron/mediamtx (#1923) 2023-06-07 12:35:31 +02:00
Alessandro RosandGitHub ae883040fd improve Docker images (#1771) (#1909)
* add ffmpeg variant
* remove 'v' prefix from tags
2023-06-07 12:26:08 +02:00
Alessandro RosandGitHub 4dd518cbb1 rebrand initial log message (#1922) 2023-06-07 12:25:16 +02:00
Alessandro RosandGitHub 083151360e return an error in case configuration file can't be opened (#1920) 2023-06-06 21:17:40 +02:00
Alessandro RosandGitHub e2a6c380b0 api: fix setting default parameters when creating a path (#1853) (#1905)
this fixes a regression introduced in v0.23.0.
2023-06-02 18:43:04 +02:00
Alessandro RosandGitHub f162ce1f07 update documentation (#1900) 2023-06-02 11:54:10 +02:00
Alessandro RosandGitHub 681a00347d support reading MP4A-LATM-encoded AAC with RTMP and HLS (#1694) (#1898) 2023-06-02 00:38:27 +02:00
Alessandro RosandGitHub efda44cfae rtmp: fix timestamp conversion from RTSP/HLS to RTMP (#1899)
this was causing moments of silence and timing errors when reading with
RTMP a stream originally published with RTSP or HLS.
2023-06-02 00:34:09 +02:00
Alessandro RosandGitHub 210603d7c4 update documentation (#1885) 2023-05-31 18:16:39 +02:00
Alessandro RosandGitHub ce1d2abc15 fix using multicast when a single interface doesn't support it (#1874) 2023-05-28 18:12:32 +02:00
Alessandro RosandGitHub af324c9e91 rpi camera: allow using decimal FPS (#1743) (#1873) 2023-05-28 17:29:37 +02:00
Alessandro RosandGitHub 89ebc83993 update golangci-lint (#1870) 2023-05-28 17:18:16 +02:00
Alessandro RosandGitHub 22f05e97e8 replace math/rand with crypto/rand (#1872) 2023-05-28 17:10:40 +02:00
Alessandro RosandGitHub 7d04742426 restore sending session ID to external authentication (#1871)
this fixes a regression introduced in v0.23.0
2023-05-28 13:45:19 +02:00
Alessandro RosandGitHub 128f2d3e20 print error that caused an external command to exit (#1869) 2023-05-27 19:28:07 +02:00
Alessandro RosandGitHub 06cc28b372 add explicit instructions on how to run an executable in the current folder (#1867) 2023-05-27 18:20:17 +02:00
Alessandro RosandGitHub a0b973963d allow using special characters in external commands (#1652) (#1868)
on Windows, when using cmd.exe or a bat file as external command.
2023-05-27 18:20:06 +02:00
Alessandro RosandGitHub 99aa0d0ac9 webrtc: fix WHIP/WHEP implementation (#1857) (#1861)
offers and answers are now encoded in SDP in place of JSON; Location
header is set by the server.

This fixes compatibility with GStreamer and whipsink
2023-05-24 17:06:06 +02:00
Alessandro RosandGitHub 65f617aa7c api: allow using paths/list when a path is being deleted (#1849) 2023-05-20 11:11:26 +02:00
Alessandro RosandGitHub 1889641c8c webrtc: add POST and PATCH methods to Access-Control-Allow-Methods (#1848) 2023-05-20 11:10:14 +02:00
Alessandro RosandGitHub 1fe22a8141 update gortsplib (#1846) 2023-05-20 11:05:57 +02:00
Alessandro RosandGitHub 766260f8dd fix usage of Access-Control-Expose-Headers (#1847) 2023-05-20 10:59:44 +02:00
Alessandro RosandGitHub cefa16849e apidocs: fix method of /get endpoints (#1835) 2023-05-19 00:20:22 +02:00
Alessandro RosandGitHub 6e5f87f65e hls: fix 404 error when hlsAlwaysRemux and sourceOnDemand are both true (#1818) (#1834) 2023-05-18 23:14:18 +02:00
Alessandro RosandGitHub 6cb3ff0d55 api: sort results of /list endpoints (#1828) 2023-05-18 20:17:04 +02:00
Alessandro RosandGitHub e10055ad69 api: add item count to /list endpoints (#1813) (#1829) 2023-05-18 20:05:59 +02:00
Alessandro RosandGitHub 13fb559f5f fix race condition in TestMetrics (#1830) 2023-05-18 20:05:35 +02:00
Alessandro RosandGitHub 330a9e027c fix race condition in tests (#1826) 2023-05-18 19:16:07 +02:00
Alessandro RosandGitHub 67672ea9c6 api: fix wrong pageCount in /list endpoints (#1813) (#1824) 2023-05-18 18:59:51 +02:00
Alessandro RosandGitHub 581a840771 fix missing H264/H265 keyframe warning message (#1825) 2023-05-18 18:00:53 +02:00
Alessandro RosandGitHub b93eed64bc api: add /get endpoints (#1577) (#1823)
this allows to get entities by ID or name after /list endpoints were
changed in v0.23.0.
2023-05-18 15:07:47 +02:00
Alessandro RosandGitHub bbd8f006fe rtmp: fix crash when publishing video-only tracks (#1819) (#1822)
this fixes a regression introduced in v0.23.0.
2023-05-18 15:05:26 +02:00
Alessandro RosandGitHub 6b8c65f5d7 webrtc: fix exception in browser when webrtcICEServers is empty (#1817) (#1821)
this fixes a regression introduced in v0.23.0.
2023-05-18 14:58:19 +02:00
Alessandro RosandGitHub 586df289e2 bump API prefix from /v1 to /v2 (#1815) 2023-05-17 15:44:30 +02:00
Alessandro RosandGitHub 998c75e038 fix api documentation link (#1811) 2023-05-16 20:54:12 +02:00
Alessandro RosandGitHub 0fdc322bd9 fix API docs (#1810) 2023-05-16 20:54:06 +02:00
Alessandro RosandGitHub adf94092a8 add base class to all HTTP servers (#1809) 2023-05-16 20:12:45 +02:00
Alessandro RosandGitHub 9c79197f36 api: add pagination to all /list endpoints (#1808) 2023-05-16 19:48:13 +02:00
Alessandro RosandGitHub bf4d6c905f hls muxer: show index page even if stream is not present (#1806) 2023-05-16 19:23:02 +02:00
Alessandro RosandGitHub 35b67a9ec1 bump hls.js (#1807) 2023-05-16 19:22:54 +02:00
Alessandro RosandGitHub 503a131097 webrtc: return 404 when a stream is not present (#1805) 2023-05-16 18:01:05 +02:00
Alessandro RosandGitHub 2686c7b04b webrtc: discard empty RTP packets coming from Chrome (#1804) 2023-05-16 17:29:20 +02:00
Alessandro RosandGitHub 418d987a86 remove pion/ice replacement (#1803) 2023-05-16 17:29:09 +02:00
Alessandro RosandGitHub 39c072edd6 change repository owner (#1801) 2023-05-16 16:14:20 +02:00
Alessandro RosandGitHub a14246d776 webrtc: support publishing with WHIP and reading with WHEP (#1800) 2023-05-16 15:59:37 +02:00
Alessandro RosandGitHub 8a264d9fa2 do not post comments when locking pull requests (#1799) 2023-05-15 11:43:58 +02:00
Alessandro RosandGitHub 71310c5eb0 webrtc: validate ICE servers in configuration (#1798) 2023-05-15 10:51:00 +02:00
Alessandro RosandGitHub 29f23c6dad speed up compilation of binaries (#1797)
run compilation in parallel
2023-05-15 09:52:56 +02:00
Alessandro RosandGitHub 1688e5d2e5 support publishing with WebRTC (#1659) (#1786) 2023-05-14 14:18:03 +02:00
Alessandro RosandGitHub 6ea299fc56 api: fix type of RTMPS readers (#1784)
it was wrongly set to RTMP.
2023-05-10 11:39:40 +02:00
Alessandro RosandGitHub f079fd365e fix race condition in tests (#1781) 2023-05-09 16:29:19 +02:00
Alessandro RosandGitHub d8678cef90 unify authentication mechanisms (#1775) 2023-05-08 17:04:14 +02:00
Alessandro RosandGitHub 7aa163366f return error in case of string-to-int overflows (#1776) 2023-05-08 13:12:47 +02:00
Alessandro RosandGitHub e998688757 allow setting rpiCameraSaturation to 0 (#1651) (#1772) 2023-05-06 23:00:42 +02:00
Alessandro RosandGitHub 7ec753f8a3 support reading AV1 tracks with WebRTC (#1768) 2023-05-04 20:46:48 +02:00
Alessandro RosandGitHub e8124e2f56 support publishing H265 and AV1 tracks with Enhanced RTMP (#1393) (#1446) (#1621) (#1756) 2023-05-04 20:37:25 +02:00
Alessandro RosandGitHub 225220ddd5 print warning in case no key frames are being received (#1763) 2023-05-04 20:16:41 +02:00
Alessandro RosandGitHub 22fe65509b cleanup (#1754) 2023-05-02 13:05:19 +02:00