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
Alessandro Ros
95ab9375c7
support recording to MPEG-TS ( #2505 )
2023-10-14 22:52:10 +02:00
Alessandro Ros
4ec12a6c8b
add runOnRecordSegmentCreate hook ( #2451 ) ( #2503 )
2023-10-14 16:48:02 +02:00
Alessandro Ros
8a633d2b79
allow setting different recording parameters for each path ( #2410 ) ( #2457 )
2023-10-07 23:48:37 +02:00
Alessandro Ros
9a01ab7fd5
allow changing default path settings; bump API in order to allow so ( #2455 )
2023-10-07 23:32:15 +02:00
Alessandro Ros
ca2a4873a6
support recording LPCM tracks ( #2475 )
2023-10-07 15:50:13 +02:00
Alessandro Ros
84b2293c9c
fix typo in README ( #2446 )
2023-10-02 20:11:12 +02:00
Alessandro Ros
eb975027b2
add runOnRecordSegmentComplete and rclone integration ( #2404 ) ( #2428 )
2023-09-29 18:24:10 +02:00
Alessandro Ros
cadc6b3ea7
rename 'external commands' into 'hooks' ( #2400 )
2023-09-23 12:49:08 +02:00
Alessandro Ros
1f11d95059
support recording M-JPEG tracks ( #2391 )
2023-09-22 12:35:35 +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
ac10102329
automatically set 'record: yes' when not specified ( #2366 )
2023-09-18 22:34:38 +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