Commit Graph

362 Commits

Author SHA1 Message Date
Alessandro Ros 3c9eed5fae
rpicamera: add text overlay with current time (#1288) (#1604) 2023-03-31 17:33:30 +02:00
Alessandro Ros bca3013bd0
general: add Clone() method to Conf and PathConf (#1633)
this allows to detect errors during cloning
2023-03-31 16:22:08 +02:00
Alessandro Ros 5b61983fa6
add option to set max size of outgoing UDP packets (#1588) (#1601) 2023-03-31 11:53:49 +02:00
Alessandro Ros ebc723d9d4
update gortsplib (#1611)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-31 11:52:37 +02:00
Alessandro Ros c9dea38e27
tests: fix race condition in tests (#1629) 2023-03-31 11:43:57 +02:00
Alessandro Ros fb1c16d606
support reading UDP/MPEG-TS streams (#1490)
* support reading UDP/MPEG-TS streams

* support reading H265 and Opus tracks inside UDP/MPEG-TS streams

* improve timestamp precision of Opus packets
2023-03-21 11:12:43 +01:00
Alessandro Ros 7a4928643d
restore compatibility with non-raspberry arm systems (#1587) 2023-03-20 23:01:47 +01:00
Alessandro Ros 7e684f157d
rpicamera: print an error when libcamera is not found (#1585) 2023-03-20 16:15:14 +01:00
Alessandro Ros 51a1cb9c78
update gohlslib (#1583) 2023-03-20 00:34:13 +01:00
Alessandro Ros 32d6cb4435
rpicamera: support two CSI cameras at once (#1573) (#1574) 2023-03-20 00:22:44 +01:00
Alessandro Ros c1bcd0c7eb
hls muxer: add option to dump segments on disk (#1322) (#1567) 2023-03-20 00:22:21 +01:00
Alessandro Ros ed45a09800
update gohlslib (#1566) 2023-03-12 16:59:04 +01:00
Alessandro Ros f4b9133bb8
update gohlslib (#1565) 2023-03-12 13:22:57 +01:00
Alessandro Ros 45727a6de4
switch to go 1.19 (#1563) 2023-03-12 12:42:11 +01:00
Alessandro Ros 4c667917db
continue rebranding (#1560) 2023-03-11 12:22:34 +01:00
Alessandro Ros 8ad376de53
move HLS implementation into gohlslib (#1557) 2023-03-10 13:26:56 +01:00
Alessandro Ros e8bdad8a1e
rename Data into Unit (#1556) 2023-03-10 12:44:59 +01:00
Alessandro Ros c51a686208
webrtc: rename stunServers into iceServers (#1545) 2023-03-09 16:55:35 +01:00
Alessandro Ros 633340bcbb
start rebranding (#1511) 2023-02-25 20:45:03 +01:00
Alessandro Ros 13fa14168f
tests: fix race condition in TestHLSSource (#1506) 2023-02-23 15:20:02 +01:00
Alessandro Ros 2cffea6d51
rtmp: fix crash when receiving unexpected video packets (#1459) (#1504) 2023-02-23 11:22:28 +01:00
Alessandro Ros d7e493c77e
tests: fix race condition into TestHLSSource (#1503) 2023-02-22 21:08:10 +01:00
Alessandro Ros 64b8fd3554
webrtc: fix crash during client disconnection (#1482) (#1501)
OnConnectionStateChange of pion/webrtc is not thread safe. Add a mutex
to make it thread safe.
2023-02-21 23:35:22 +01:00
Alessandro Ros 339d6ab16e
hls source: set type of audio medias to 'audio' (#1489)
it was wrongly set to "video".
2023-02-19 00:28:50 +01:00
aler9 f1455a6e1f fix bug that prevented publishing twice to the same path (#1470) (#1469) 2023-02-14 17:34:02 +01:00
aler9 19b06f96eb rpicamera: allow to set gain without disconnecting readers 2023-02-14 11:36:21 +01:00
aler9 31d315ba93 rpicamera: allow to set shutter without disconnecting readers 2023-02-14 11:36:21 +01:00
Alessandro Ros b461f15a4c
rpicamera: support changing parameters without interrupting the stream (#1463) 2023-02-13 12:12:04 +01:00
aler9 ad978ab732 tests: fix race condition 2023-02-12 18:54:06 +01:00
Azsde 4841189456
Add support for libcamera Autofocus parameters (#1417)
* [DEV #1416] Add support for libcamera Autofocus parameters

* [DEVMINOR] Fix Go formatting

* [DEV] Support AF window parameter for rpiCamera

* [DEV] Update default .yml file to add rpiCameraAfWindow parameter
2023-02-10 12:20:50 +01:00
Alessandro Ros 44fda6650f
rtsp server: make runOnConnect work again (#1409) 2023-01-22 21:30:03 +01:00
Alessandro Ros b02d3b83c7
Send additional fields to the external authentication URL (#1408)
* send 'protocol' to the external authentication URL

* send session ID to the external authentication URL
2023-01-22 19:48:33 +01:00
Alessandro Ros bf97435eb3
replace command line parser (#1383) 2023-01-16 21:45:20 +01:00
aler9 79562b15ab update gortsplib 2023-01-11 01:11:05 +01:00
aler9 36d2fbcd12 hls muxer: fix race condition 2023-01-08 21:57:15 +01:00
aler9 d5dfce16ea hls muxer: fix race condition 2023-01-08 21:16:20 +01:00
aler9 20448ec6a8 webrtc muxer: fix sending local candidates 2023-01-08 19:18:13 +01:00
aler9 7420ef1ce4 hls muxer: avoid infinite loop when hlsAlwaysRemux is true
when hlsAlwaysRemux is true and a muxer fails, add a pause between its
recreation, in order to avoid infinite loops
2023-01-08 16:08:10 +01:00
aler9 b20abbed6c webrtc muxer: keep the WebSocket connection
The WebSocket connection is kept open in order to use it to notify
shutdowns.
2023-01-08 15:37:47 +01:00
aler9 f3f55452e5 webrtc muxer: fix multiple race conditions 2023-01-08 13:36:55 +01:00
aler9 2de0941e5c update gortsplib 2023-01-08 13:36:27 +01:00
aler9 e7e8d5ce20 api: add more attributes to WebRTC connections
new attributes: peerConnectionEstablished, localCandidate, remoteCandidate
2023-01-07 13:48:03 +01:00
aler9 cca4702357 webrtc muxer: fix race condition
this happened when server was recreated due to API or hot reloading
2023-01-07 13:11:19 +01:00
aler9 9d19ccc837 add WebRTC and low-latency HLS tests 2023-01-07 12:33:28 +01:00
aler9 ec1f957627 webrtx muxer: fix timeout in case of H264 tracks 2023-01-06 20:30:43 +01:00
aler9 777860f757 webrtc muxer: fix freeze on Firefox 2023-01-06 20:02:23 +01:00
aler9 5a0143056a webrtc muxer: fix HTTP status code of index page
Status code was 404, not is 200.
2023-01-06 18:47:54 +01:00
aler9 f837ba6a83 hls source: support proxying H265 and Opus tracks 2023-01-06 15:39:20 +01:00
aler9 3f7009f72a hls source: support proxying any number of tracks
Tracks were previously limited to 2
2023-01-06 15:25:35 +01:00
aler9 e3fff72b7c move format processors into dedicated folder 2023-01-05 12:54:00 +01:00