Commit Graph
979 Commits
Author SHA1 Message Date
Alessandro RosandGitHub 4c25529369 move rpicamera into internal/protocols (#2607) 2023-10-30 11:40:55 +01:00
Alessandro RosandGitHub 4b4d57f18e api: add path name to config/paths/list and config/paths/get (#2535) (#2596) 2023-10-28 15:06:06 +02:00
Alessandro RosandGitHub bbb989ee87 api: return full configuration in config/paths/list and config/paths/get (#2535) (#2595) 2023-10-28 14:53:23 +02:00
Alessandro RosandGitHub 64eb90738a webrtc: return detailed errors in responses (#2594) 2023-10-28 14:08:34 +02:00
Alessandro RosandGitHub c42fa76afd rpi: switch default autofocus mode to 'continuous' (#2591) 2023-10-28 12:32:39 +02:00
Alessandro RosandGitHub f11f39f023 confwatcher: remove redundant code (#2592) 2023-10-28 12:16:57 +02:00
88dd8d23f4 evaluate confwatcher event paths to ensure consistency with stored path (#2586)
Co-authored-by: James Bohnert <jbohnert@haivision.com>
2023-10-28 12:08:11 +02:00
Alessandro RosandGitHub 6d27d690dc update docs (#2590) 2023-10-28 11:52:31 +02:00
Alessandro RosandGitHub cde19097bd api: send error messages in response body (#2518) (#2583) 2023-10-27 20:43:34 +02:00
Alessandro RosandGitHub 07ff79f553 api: return 500 instead of 404 in case of non-existing items (#2582)
This is needed to differentiate between calls to non-existent andpoints
and calls to valid endpoints, but with an ID pointing to a non-existing
item, and to return JSON in the latter case.
2023-10-27 20:23:46 +02:00
Alessandro RosandGitHub 99bc327d67 move protocol-related code into internal/protocols (#2572) 2023-10-26 21:46:18 +02:00
Alessandro RosandGitHub 3ebc585539 restart recordings in case of errors (#2439) (#2571) 2023-10-26 21:40:44 +02:00
Alessandro RosandGitHub 38f228c739 webrtc: improve stability by reordering incoming packets (#2570) 2023-10-26 21:31:14 +02:00
Alessandro RosandGitHub 28452acf56 move webrtc utilities into internal/webrtc (#2559) 2023-10-25 11:48:57 +02:00
Rui LopesandGitHub 9f5169ba26 webrtc: support WHIP/WHEP DELETE method (#2507) 2023-10-24 16:30:44 +02:00
Alessandro RosandGitHub 4dc6e338dd fix crash when setting deprecated settings with environment (#2529) (#2550) 2023-10-23 20:07:28 +02:00
Alessandro RosandGitHub 141ee331c6 rpi camera: fix Raspberry Pi Camera 3 auto focus (#2326) (#2552) 2023-10-23 19:46:13 +02:00
Alessandro RosandGitHub 3a5bb06e26 add environment variable MTX_QUERY to some hooks (#2483) (#2522) 2023-10-18 11:50:26 +02:00
Alessandro RosandGitHub 91f83a8c45 rtmp: fix compatibility with nginx-rtmp-module (#2383) (#2520) 2023-10-17 21:14:18 +02:00
Alessandro RosandGitHub 95ab9375c7 support recording to MPEG-TS (#2505) 2023-10-14 22:52:10 +02:00
Alessandro RosandGitHub 4ec12a6c8b add runOnRecordSegmentCreate hook (#2451) (#2503) 2023-10-14 16:48:02 +02:00
Aakash SinghandGitHub 18733294c0 webrtc: expose ice servers on OPTIONS CORS requests (#2479)
the link header was getting ignored by browser fetch as it was not exposed by Access-Control-Expose-Headers
2023-10-09 18:26:34 +02:00
Alessandro RosandGitHub 6c727b4472 rename 'all' path configuration into 'all_others' (#2443) 2023-10-09 18:13:44 +02:00
Alessandro RosandGitHub 8a633d2b79 allow setting different recording parameters for each path (#2410) (#2457) 2023-10-07 23:48:37 +02:00
Alessandro RosandGitHub 9a01ab7fd5 allow changing default path settings; bump API in order to allow so (#2455) 2023-10-07 23:32:15 +02:00
3c4039b81f Supports webrtc interface filtering on server (#2460)
* Supports webrtc interface filtering on server

* test(#2707): Fixed testing for build

* lint(#2707): Fixed lint issues for build

* normalize setting name

* move instructions in the configuration file

---------

Co-authored-by: Pieter Fabry <pieterfabry@observe.tech>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2023-10-07 17:51:01 +02:00
Alessandro RosandGitHub bb8c02b9f0 fix 'fragment sequence discontinuity' warning when reading record segments with VLC (#2476) 2023-10-07 17:36:57 +02:00
Alessandro RosandGitHub ca2a4873a6 support recording LPCM tracks (#2475) 2023-10-07 15:50:13 +02:00
Alessandro RosandGitHub 64f4185537 webrtc: optimize publish page for mobile devices (#2066) (#2472) 2023-10-06 23:31:36 +02:00
Alessandro RosandGitHub 3b4cac5af7 webrtc: disallow publishing screen on devices that don't support it (#2066) (#2471) 2023-10-06 23:00:15 +02:00
Alessandro RosandGitHub 412a48ac74 webrtc: fix reading Opus stereo tracks with Chrome (#2043) (#2470) 2023-10-06 22:09:08 +02:00
Alessandro RosandGitHub c37fd38f5c webrtc: print lost packets (#2468) 2023-10-06 21:06:29 +02:00
Rui LopesandGitHub 215f88e2dd webrtc: add Location header to CORS-allowed headers (#2453) 2023-10-04 17:00:15 +02:00
Alessandro RosandGitHub 9c6168e7e3 print path of configuration file (#2441) 2023-10-01 22:56:51 +02:00
Alessandro RosandGitHub eb975027b2 add runOnRecordSegmentComplete and rclone integration (#2404) (#2428) 2023-09-29 18:24:10 +02:00
Alessandro RosandGitHub 2d929e1132 move 'srtReadPassphrase' into the right section (#2435) 2023-09-28 19:40:24 +02:00
Alessandro RosandGitHub 442a48363c allow to start/stop recording without disconnecting clients (#2395) (#2434) 2023-09-28 19:39:56 +02:00
72e74b6456 api: fix crash when retrieving RTMP and SRT connections (#2430)
Co-authored-by: Paxx <daniel.botta@hiway.media>
2023-09-28 17:45:34 +02:00
Alessandro RosandGitHub 42aa979309 api: save errors in logs (#2426) 2023-09-27 15:18:02 +02:00
Alessandro RosandGitHub 61b77a3ff9 api: return 400 in case of non-existent config fields (#2425) 2023-09-27 14:56:31 +02:00
Alessandro RosandGitHub d7d96230ff rtmp: fix compatibility issue with some DJI drones (#2375) (#2409) 2023-09-27 14:38:07 +02:00
Alessandro RosandGitHub f1e28d053f webrtc: fix ETag header name according to specification (#2396) (#2401) 2023-09-23 14:21:53 +02:00
75f518a827 Support SRT encryption passphrases on configured paths (#2385)
* Support SRT encryption passphrases on configured paths

* Fix namespace; make passphrase use more clear

* Updates from Alessandro's feedback and lint output

* Fix lint findings

* Update lint.yml

* Update lint.yml

* Fix lint findings

* Add SRT passphrase tests for conf/path

* Reformat test to pass lint

* More changes to pass lint

* More changes to pass lint

* Use safeConf to prevent race conditions

* update API docs

* split configuration checks from connection checks

* add tests

* rename publishSRTPassphrase into srtPublishPassphrase, readSRTPassphrase into srtReadPassphrase

* remove redundant alias

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2023-09-23 12:55:45 +02:00
Alessandro RosandGitHub cadc6b3ea7 rename 'external commands' into 'hooks' (#2400) 2023-09-23 12:49:08 +02:00
Alessandro RosandGitHub 3a7d86ec03 normalize configuration (#2399) 2023-09-23 12:48:34 +02:00
Alessandro RosandGitHub 1f11d95059 support recording M-JPEG tracks (#2391) 2023-09-22 12:35:35 +02:00
Alessandro RosandGitHub d07ba5983e update gortsplib (#2390) 2023-09-21 17:21:18 +02:00
Alessandro RosandGitHub e4df14a447 fix timestamp of outgoing RTSP/RTP packets in case of aggregated access units (#2389) 2023-09-21 16:13:40 +02:00
Alessandro RosandGitHub 89cf3bb2fa fix crash when processing H265 (#2378) (#2381) 2023-09-20 12:32:01 +02:00
Alessandro RosandGitHub fadfda936d support AC-3 tracks in SRT and UDP; support recording AC-3 tracks (#2376) 2023-09-19 22:33:00 +02:00