Commit graph

715 commits

Author SHA1 Message Date
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
Alessandro Ros
fb06f6db72
hls muxer: fix crash (#1394)
this happened when variant is lowLatency and two AUs have adjacent
DTSs, resulting in a sample duration equal to zero.

discovered while investigating #1156
2023-01-18 16:41:35 +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
d0e8d00616 tests: fix race condition in HLS tests 2023-01-07 16:08:34 +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
6d14b011c4 hls muxer: improve generation of H265 codec parameters 2023-01-06 16:48:35 +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
fa1c07253f hls source: skip unsupported tracks
Skip AC-3, EC-3, closed caption tracks
2023-01-05 14:04:36 +01:00
aler9
59c0ef520f fix crash when H264 or H265 parameters are nil (#1155)
in H264 and H264, parameters (VPS, SPS and PPS) are automatically
prepended to random access units. When parameters were nil, they were
prepended anyway, leading to a crash. Parameters are not prepended only
if they are valid.
2023-01-05 13:13:19 +01:00
aler9
e3fff72b7c move format processors into dedicated folder 2023-01-05 12:54:00 +01:00
aler9
535cbe41e8 speed up tests 2023-01-05 00:01:15 +01:00