Commit Graph

739 Commits

Author SHA1 Message Date
Alessandro Ros aae8eb943e
general: change prefix of environment variables (#1639) 2023-04-01 19:31:23 +02:00
Alessandro Ros 1b9584384c
rpicamera: convert font into C header during compilation (#1638) 2023-04-01 19:06:35 +02:00
Alessandro Ros 2dffccf9c1
update gortsplib, gohlslib (#1637) 2023-04-01 18:39:12 +02:00
Alessandro Ros 3c9eed5fae
rpicamera: add text overlay with current time (#1288) (#1604) 2023-03-31 17:33:30 +02:00
Alessandro Ros 868704e9d4
hls muxer: make Low Latency-HLS the default variant (#1610) 2023-03-31 16:46:05 +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 33b72c5018
update gortsplib (#1571) 2023-03-14 18:24:33 +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 695da99e22
rpicamera: support libcamera 0.0.4 (#1548) 2023-03-09 19:18:49 +01:00
irsl 4e579702ed
hls: make hlsEncryption optional even with Low-latency variant (#1530) 2023-03-09 18:08:01 +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 bf691d1680
formatprocessor: prevent generating empty H264/H265 RTP packets (#1505) 2023-02-23 14:46:26 +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 c7938eb832
rtmp: fix panic when publishing audio-only streams (#1459) (#1502) 2023-02-22 19:36:04 +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 6ae0cddbcd
rpicamera: fix low framerate when rpiCameraMode is set (#1436)
when two video streams are used, each request must contain two buffers in order to read frames from both streams, even if one of them is not used.
2023-01-30 18:17:16 +01:00
aler9 a679fc6321 rpicamera: set default denoise mode to "off"
this improves performance for most users.
2023-01-28 16:02:50 +01:00
aler9 c49416c07a rpicamera: fix application of denoise mode (#1296)
a typo prevented the application of the denoise mode. Since the denoise
mode influences performance, this was leading to low performances.
2023-01-28 15:49:37 +01:00
aler9 246f1fb76c rpicamera: avoid using explicit libcamera namespace 2023-01-28 12:20:41 +01:00
Alessandro Ros 22d86ba7fa
update go-mp4 (#1411) 2023-01-23 14:46:45 +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 ef214b7649
rtmp server: fix compatibility with Neko (#1405) 2023-01-22 13:36:36 +01:00
aler9 97c1e68c0b improve tests 2023-01-19 19:30:19 +01:00
Alessandro Ros e3d00878b3
rtmp server: fix handshake and compatibility with streamlabs (#1244) (#1398) 2023-01-19 16:03:48 +01:00
Alessandro Ros c79c3c83cb
rtmp server: improve efficiency of outgoing packets (#1395)
group together messages by using a buffered writer between the network
connection and the WriteMessage() function
2023-01-19 13:27:54 +01:00