Alessandro Ros
547e56e82b
enable runOnDemandRestart by default ( #3605 )
2024-08-03 20:51:54 +02:00
Alessandro Ros
a1dc9f45f5
webrtc: support publishing H265 tracks ( #3435 ) ( #3492 )
...
IMPORTANT NOTE: this doesn't allow to read H265 tracks with WebRTC,
just to publish them. The inability to read H265 tracks with WebRTC is
not in any way related to the server but depends on browsers and on the
fact that they are not legally entitled to embed a H265 decoder inside
them.
2024-06-19 21:02:08 +02:00
Alessandro Ros
39ae1269ad
webrtc: support passing username and password through Bearer Token ( #3248 ) ( #3459 )
2024-06-11 23:37:59 +02:00
Alessandro Ros
caa9fa6ca0
webrtc, hls: support passing JWT through Authorization header ( #3248 ) ( #3458 )
2024-06-11 23:33:01 +02:00
Alessandro Ros
3eabe6ac54
expose MTX_SEGMENT_DURATION to runOnRecordSegmentComplete ( #3440 ) ( #2983 ) ( #3456 )
...
* improve tests
* add duration to OnSegmentComplete
* expose MTX_SEGMENT_DURATION to runOnRecordSegmentComplete
* add tests
2024-06-11 18:30:40 +02:00
Alessandro Ros
2bb7db5314
simplify Raspberry Pi build instructions ( #3385 )
2024-05-24 13:40:05 +02:00
Alessandro Ros
9e636308d9
bump Go to 1.22 ( #3279 )
2024-04-21 11:12:14 +02:00
Alessandro Ros
6513f05bb6
update README ( #3278 )
2024-04-21 11:11:23 +02:00
Alessandro Ros
dc3eae7f96
add whipclientsink instructions to the README ( #3276 )
2024-04-20 23:21:39 +02:00
Alessandro Ros
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
Dan Bason
87c0535823
Add option for ICE servers to be client only ( #3164 )
...
* Add option for ICE servers to be client only
* add clientOnly to configuration file and API docs
---------
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-04-06 18:32:53 +02:00
Mauricio Antunes
4666e5f427
Fix API version in docs ( #3180 )
2024-04-01 12:18:02 +02:00
Alessandro Ros
9c6ba7e2c7
New authentication system ( #1341 ) ( #1992 ) ( #2205 ) ( #3081 )
...
This is a new authentication system that covers all the features exposed by the server, including playback, API, metrics and PPROF, improves internal authentication by adding permissions, improves HTTP-based authentication by adding the ability to exclude certain actions from being authenticated, adds an additional method (JWT-based authentication).
2024-03-04 14:20:34 +01:00
Alessandro Ros
da7c5744b1
rtmp: add new AMF0 encoder and encoder ( #3069 )
...
This improves performance, security and removes a dependency.
2024-02-24 19:11:42 +01:00
Alessandro Ros
e06155b9b0
update README ( #3053 )
2024-02-21 20:11:58 +01:00
Spencer Lowe
e5e029a7f4
srt: add additional metrics ( #2962 )
...
* first attempt at the srt metrics
* Updated variables to better match mediamtx
* Prometheus metrics for SRT
* Update readme for SRT metrics
* Switch openapi to number from float
* SRT metrics metrics response fix
* Make the metric test less strict, and nolint line length on the SRT metrics struct
* remove nolint
* move BytesSent and BytesReceived into APISRTConnMetrics
* merge APISRTConn and APISRTConnMetrics
* improve tests
---------
Co-authored-by: slowe <slowe@clairglobal.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-02-16 14:22:30 +01:00
Alessandro Ros
e46a124eb7
update documentation ( #3025 )
2024-02-15 12:31:28 +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
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
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
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
27975d8b67
rtmp: support publishing G711 and LPCM tracks ( #2857 ) ( #2884 )
2024-01-07 17:02:22 +01:00
RdL
bc7804cb33
Update README.md ( #2870 )
...
* Update README.md
update link what pointed to publish_index.html
* fix read_index.html too
---------
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-01-04 21:35:51 +01:00
Alessandro Ros
698963ad03
support recording G711 tracks with fMP4 ( #2853 )
2023-12-28 23:17:50 +01:00
Alessandro Ros
b0ca00fca6
add instructions on cross compilation ( #2817 )
2023-12-17 12:27:02 +01:00
Alessandro Ros
db52e94040
update issue template ( #2815 )
2023-12-17 12:07:26 +01:00
Alessandro Ros
d261bfe773
support static sources in paths with regular expressions ( #824 ) ( #2799 )
...
This allows to proxy requests to other servers by using regular
expressions.
2023-12-10 21:23:41 +01:00
Alessandro Ros
e06f4bc998
add instructions on OpenWrt service ( #2795 )
2023-12-09 16:30:30 +01:00
Alessandro Ros
5ee26130d2
rewrite OpenWrt installation procedure ( #2794 )
...
Forward users to standalone binaries whey they are available for their
architecture, otherwise send them to instructions on how to compile
from source.
2023-12-09 14:39:16 +01:00
Alessandro Ros
11988249df
move servers into internal/servers ( #2792 )
2023-12-08 19:17:17 +01:00
Alessandro Ros
b8dd7b9e52
add RTMPS metrics ( #2783 )
2023-12-03 16:59:35 +01:00
Neeraj Kanhere
47bd7352f0
support unix timestamp in filenames of recorded segments ( #2774 )
...
* added support for %s to use unix timestamp in filenames
* fix lint errors
* add tests
* update documentation
---------
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2023-12-02 14:36:13 +01:00
Alessandro Ros
42150c7ae5
update readme ( #2695 )
2023-11-13 18:05:07 +01:00
Alessandro Ros
687d8685ef
webrtc: improve connectivity mechanism ( #2686 )
2023-11-12 23:55:28 +01:00
Alessandro Ros
cb04d28f6e
metrics: expose state of WebRTC sessions ( #2662 )
2023-11-08 12:01:39 +01:00
Dr. Ralf S. Engelschall
4bf0d10079
metrics: add paths_bytes_sent, srt_conns, srt_conns_bytes_received, srt_conns_bytes_sent ( #2620 ) ( #2619 ) ( #2629 )
...
* add missing Prometheus exports (#2620 , #2619 ):
paths_bytes_sent, srt_conns, srt_conns_bytes_received, srt_conns_bytes_sent
* protect Stream.BytesSent()
* add tests
---------
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2023-11-08 11:20:16 +01:00
Alessandro Ros
813611057d
add runOnUnDemand hook ( #2645 )
2023-11-04 13:07:51 +01:00
Alessandro Ros
1d1d64cb89
rename sourceProtocol into rtspTransport, sourceAnyPortEnable into rtspAnyPort ( #2644 )
2023-11-04 11:12:22 +01:00
Alessandro Ros
4f876ed207
fix crash when publishing to a path with 'runOnDemand' from outside 'runOnDemand' ( #2636 ) ( #2637 )
2023-11-03 16:54:25 +01:00
Dr. Ralf S. Engelschall
42afc8d327
fix SRT URL in README by replacing 'publish' with 'read' ( #2628 )
2023-11-02 13:55:50 +01:00
Alessandro Ros
4c25529369
move rpicamera into internal/protocols ( #2607 )
2023-10-30 11:40:55 +01:00
Alessandro Ros
6d27d690dc
update docs ( #2590 )
2023-10-28 11:52:31 +02:00
Alessandro Ros
55b8985c8d
bump Go to 1.21 ( #2546 )
2023-10-23 14:02:53 +02:00
guangwu
b3a3812097
fix: typo ( #2532 )
2023-10-20 09:05:21 +02:00
Alessandro Ros
3a5bb06e26
add environment variable MTX_QUERY to some hooks ( #2483 ) ( #2522 )
2023-10-18 11:50:26 +02:00