aler9
e7e8d5ce20
api: add more attributes to WebRTC connections
...
new attributes: peerConnectionEstablished, localCandidate, remoteCandidate
2023-01-07 13:48:03 +01:00
aler9
b26f848613
webrtc: add webrtcICEUDPMuxAddress
2022-12-30 17:23:41 +01:00
andrew-ld
b27c363ecf
(webrtc) added support for ice mux tcp and nat1to1ips ( #1323 )
...
* add webrtcp static tcp mux port
* add ice nat1 host configuration and cleanup
* typo
* rename config keys
* apply codecov suggestions
* apply review suggestions
* typo
* dont use deepequal for WebRTCICETCPMuxAddress
* unexport NewPeerConnection()
* remove Dockerfile
* use an empty list instead of nil value in webrtcICEHostNAT1To1IPs
* drop webrtcICETCPMuxEnable and enable TCP mux when webrtcICETCPMuxAddress is filled
* run go mod tidy
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2022-12-30 15:39:20 +01:00
aler9
ec86401037
webrtc: make HTTPS optional ( #1312 )
2022-12-19 23:26:07 +01:00
Alessandro Ros
5efe97abf1
Support reading with WebRTC ( #1242 )
2022-12-16 00:50:47 +01:00
Alessandro Ros
c778c049ce
switch to gortsplib v2 ( #1301 )
...
Fixes #1103
gortsplib/v2 supports multiple formats inside a single track (media). This allows to apply the resizing algorithm to single formats inside medias.
For instance, if a media contains a a proprietary format and an H264 format, and the latter has oversized packets, they can now be resized.
2022-12-13 20:54:17 +01:00
Alessandro Ros
bf14467331
move high-level tests into dedicate workflow ( #1219 )
2022-11-02 18:25:49 +01:00
aler9
8f48dfa49e
remove outdated command line description
2022-09-18 21:59:00 +02:00
aler9
f1fb00b80f
update golangci-lint
2022-09-17 21:19:45 +02:00
Alessandro Ros
820ba067f2
support RTMPS ( #1089 )
2022-08-16 18:44:31 +02:00
aler9
055e08ac6c
remove "on" prefix from most communication functions between components
2022-08-04 21:07:45 +02:00
aler9
e45820b2c0
hls server: show real client IPs when behind a proxy ( #955 )
2022-06-21 13:54:19 +02:00
Alessandro Ros
e115983296
Implement Low-Latency HLS ( #938 )
...
* add hlsVariant parameter
* hls: split muxer into variants
* hls: implement fmp4 segments
* hls muxer: implement low latency mode
* hls muxer: support audio with fmp4 mode
* hls muxer: rewrite file router
* hls muxer: implement preload hint
* hls muxer: add various error codes
* hls muxer: use explicit flags
* hls muxer: fix error in aac pts
* hls muxer: fix sudden freezes with video+audio
* hls muxer: skip empty parts
* hls muxer: fix video FPS
* hls muxer: add parameter hlsPartDuration
* hls muxer: refactor fmp4 muxer
* hls muxer: fix CAN-SKIP-UNTIL
* hls muxer: refactor code
* hls muxer: show only parts of last 2 segments
* hls muxer: implementa playlist delta updates
* hls muxer: change playlist content type
* hls muxer: improve video dts precision
* hls muxer: fix video sample flags
* hls muxer: improve iphone audio support
* hls muxer: improve mp4 timestamp precision
* hls muxer: add offset between pts and dts
* hls muxer: close muxer in case of error
* hls muxer: stop logging requests with the info level
* hls muxer: rename entry into sample
* hls muxer: compensate video dts error over time
* hls muxer: change default segment count
* hls muxer: add starting gap
* hls muxer: set default part duration to 200ms
* hls muxer: fix audio-only streams on ios
* hls muxer: add playsinline attribute to video tag of default web page
* hls muxer: keep mpegts as the default hls variant
* hls muxer: implement encryption
* hls muxer: rewrite dts estimation
* hls muxer: improve DTS precision
* hls muxer: use right SPS/PPS for each sample
* hls muxer: adjust part duration dynamically
* add comments
* update readme
* hls muxer: fix memory leak
* hls muxer: decrease ram consumption
2022-05-31 19:17:26 +02:00
aler9
98c6cd4650
RTSP: automatically remux oversized RTP/H264 packets; drop parameter ReadBufferSize
2022-04-09 20:20:14 +02:00
aler9
343a5f17fb
hls: add new parameter hlsSegmentMaxSize
2022-01-30 17:54:05 +01:00
aler9
11760fd79f
support external authentication ( #504 ) ( #517 )
2021-12-22 19:13:56 +01:00
aler9
1617d07ba3
do not wait for external commands to exit during runtime
...
wait for them during shutdown.
2021-12-21 12:43:45 +01:00
aler9
d9e8f3ff9f
change log message in case configuration file is missing
2021-12-21 12:29:50 +01:00
aler9
3496282ba7
fix crash that happens when using an invalid log file ( #706 )
2021-11-26 14:46:16 +01:00
aler9
21e0052bc4
close all connections gracefully when shutting down the server ( #682 )
2021-11-10 19:04:07 +01:00
aler9
afabd331d9
metrics: add hls_muxers metric
2021-11-05 17:29:13 +01:00
aler9
79e73c5cb4
api: add /v1/hlsmuxers/list endpoint
2021-11-05 17:15:46 +01:00
aler9
af63360079
remove count of readers and publishers from log lines
2021-10-28 17:33:43 +02:00
aler9
ab70f946b0
unexport members of private structs
2021-10-27 21:01:00 +02:00
aler9
75d4f1437d
add "error" log level
2021-10-27 19:54:36 +02:00
aler9
509bed355a
update gortsplib
2021-10-22 18:41:10 +02:00
aler9
f32d69a93d
fix race condition
2021-10-17 17:16:57 +02:00
aler9
6921a402d1
decode the configuration when decoding JSON
2021-09-27 16:40:49 +02:00
aler9
9398cea0c2
update golangci-lint
2021-09-09 23:05:54 +02:00
aler9
ddcd0c34cf
api: fix concurrency issue when creating multiple path configs at once ( #542 )
2021-09-06 18:39:15 +02:00
aler9
f1a812ba5d
rewrite metrics system to provide more data ( #492 )
2021-08-12 11:49:21 +02:00
aler9
ed375583d0
Implement an HTTP API to query and control the server
2021-08-07 19:20:39 +02:00
aler9
f0a283d141
reload only rtsp server when authMethods is changed
2021-08-01 16:56:53 +02:00
aler9
9819ae43e8
cleanup
2021-07-31 17:45:15 +02:00
aler9
82e65230fd
speed up hls remuxing by linking together pathManager and hlsServer
2021-07-30 14:49:09 +02:00
aler9
1146d5cf1b
hls: new option hlsAlwaysRemux to always remux streams into HLS, not only when requested
2021-07-29 16:56:40 +02:00
aler9
9062dbf883
move most components into internal/core
...
in this way coverage can be computed correctly.
2021-07-24 16:09:52 +02:00