Commit Graph

382 Commits

Author SHA1 Message Date
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
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
ba954d5b93
update specs (#2344) 2023-09-14 18:41:02 +02:00
SwhiG
e74c45865a
Update README.md (#2256)
docs: fix typo in readme
2023-08-27 21:56:01 +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
1e15d4995c
embed hls.js into the server (#2202) (#2236) 2023-08-23 18:37:07 +02:00
Alessandro Ros
7e0fb20eed
add instructions on how to forward streams (#2212) 2023-08-16 17:57:41 +02:00
Alessandro Ros
d289b9872e
make sure that GStreamer pipelines in README use yuv420 (#2211) 2023-08-16 17:57:21 +02:00
Alessandro Ros
7001164e2f
simplify sample SRT read URL (#2196) 2023-08-13 15:24:51 +02:00
Alessandro Ros
6f65aed1cb
fix typo in README (#2184) 2023-08-09 13:49:01 +02:00
Alessandro Ros
8357f294f6
update readme (#2183) 2023-08-09 13:45:28 +02:00
Alessandro Ros
a3e5dff488
update readme (#2177) 2023-08-07 20:44:21 +02:00
Alessandro Ros
cffbf59898
update codec checking tool (#2174) 2023-08-07 20:29:14 +02:00
Alessandro Ros
40b4fa1e8e
support reading and proxying VP9 tracks with HLS (#2162) 2023-08-06 21:10:16 +02:00
Alessandro Ros
153463466c
hls: support reading and proxying AV1 tracks (#2155) 2023-08-06 02:28:28 +02:00
Alessandro Ros
47d06a9dd8
update browser codec support tool (#2153) 2023-08-05 17:42:08 +02:00
Alessandro Ros
8bb71ac8d8
srt, udp: support reading and writing MPEG-1 audio streams (#2147) 2023-08-05 14:47:20 +02:00
Alessandro Ros
bc3084ae7b
support proxying WebRTC streams (#2142) 2023-08-03 23:12:05 +02:00
Alessandro Ros
b4e3033ea3
support publishing, reading, proxying with SRT (#2068) 2023-07-31 21:20:09 +02:00
Alessandro Ros
e4bd1b35a2
update dependencies (#2113) 2023-07-28 00:06:58 +02:00
Alessandro Ros
2e476cf4e0
rpi camera: remove patchelf dependency (#2093) 2023-07-22 13:54:08 +02:00
Alessandro Ros
e3b8ee4328
update readme (#2087) 2023-07-19 20:22:15 +02:00
Alessandro Ros
0d3ea6614e
update readme (#2086) 2023-07-19 19:48:08 +02:00
Alessandro Ros
8dad1e9d50
add to the README instructions on authentication with RTMP (#2056) (#2057) 2023-07-14 11:12:37 +02:00