aler9
e7e8d5ce20
api: add more attributes to WebRTC connections
...
new attributes: peerConnectionEstablished, localCandidate, remoteCandidate
3 years ago
aler9
b26f848613
webrtc: add webrtcICEUDPMuxAddress
3 years ago
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>
3 years ago
aler9
ec86401037
webrtc: make HTTPS optional ( #1312 )
3 years ago
Alessandro Ros
5efe97abf1
Support reading with WebRTC ( #1242 )
3 years ago
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.
3 years ago
Alessandro Ros
bf14467331
move high-level tests into dedicate workflow ( #1219 )
3 years ago
aler9
8f48dfa49e
remove outdated command line description
3 years ago
aler9
f1fb00b80f
update golangci-lint
3 years ago
Alessandro Ros
820ba067f2
support RTMPS ( #1089 )
3 years ago
aler9
055e08ac6c
remove "on" prefix from most communication functions between components
3 years ago
aler9
e45820b2c0
hls server: show real client IPs when behind a proxy ( #955 )
3 years ago
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
3 years ago
aler9
98c6cd4650
RTSP: automatically remux oversized RTP/H264 packets; drop parameter ReadBufferSize
3 years ago
aler9
343a5f17fb
hls: add new parameter hlsSegmentMaxSize
4 years ago
aler9
11760fd79f
support external authentication ( #504 ) ( #517 )
4 years ago
aler9
1617d07ba3
do not wait for external commands to exit during runtime
...
wait for them during shutdown.
4 years ago
aler9
d9e8f3ff9f
change log message in case configuration file is missing
4 years ago
aler9
3496282ba7
fix crash that happens when using an invalid log file ( #706 )
4 years ago
aler9
21e0052bc4
close all connections gracefully when shutting down the server ( #682 )
4 years ago
aler9
afabd331d9
metrics: add hls_muxers metric
4 years ago
aler9
79e73c5cb4
api: add /v1/hlsmuxers/list endpoint
4 years ago
aler9
af63360079
remove count of readers and publishers from log lines
4 years ago
aler9
ab70f946b0
unexport members of private structs
4 years ago
aler9
75d4f1437d
add "error" log level
4 years ago
aler9
509bed355a
update gortsplib
4 years ago
aler9
f32d69a93d
fix race condition
4 years ago
aler9
6921a402d1
decode the configuration when decoding JSON
4 years ago
aler9
9398cea0c2
update golangci-lint
4 years ago
aler9
ddcd0c34cf
api: fix concurrency issue when creating multiple path configs at once ( #542 )
4 years ago
aler9
f1a812ba5d
rewrite metrics system to provide more data ( #492 )
4 years ago
aler9
ed375583d0
Implement an HTTP API to query and control the server
4 years ago
aler9
f0a283d141
reload only rtsp server when authMethods is changed
4 years ago
aler9
9819ae43e8
cleanup
4 years ago
aler9
82e65230fd
speed up hls remuxing by linking together pathManager and hlsServer
4 years ago
aler9
1146d5cf1b
hls: new option hlsAlwaysRemux to always remux streams into HLS, not only when requested
4 years ago
aler9
9062dbf883
move most components into internal/core
...
in this way coverage can be computed correctly.
4 years ago
aler9
0a1b8eee25
cleanup
4 years ago
aler9
7b1466146b
HLS: add Access-Control-Allow-Origin to every HTTP response; add parameter hlsAllowOrigin ( #415 )
4 years ago
aler9
fbe3d9c67e
RTSP server: use one IP for each multicast stream; add multicast parameter to the configuration file
4 years ago
aler9
75e1e3e4dc
RTSP server: support reading with multicast ( #214 ) ( #324 )
4 years ago
aler9
99323ba740
update golangci-lint
4 years ago
aler9
f086b624c1
use hierarchical contexts
4 years ago
aler9
e558b245e7
use contexts anywhere is possible
4 years ago
aler9
9bab230e0d
tidy up logs
4 years ago
aler9
bc9cbc8605
put protocol before entities
4 years ago
aler9
4d260412c4
remove number of clients from logs
4 years ago
aler9
e3dcdf2204
move clienthls inside serverhls; remove clientman
4 years ago
aler9
22ba5f3f18
move clientrtmp inside serverrtmp
4 years ago
aler9
ff8aadf722
move clientrtsp inside serverrtsp
4 years ago