aler9
d5dfce16ea
hls muxer: fix race condition
3 years ago
aler9
20448ec6a8
webrtc muxer: fix sending local candidates
3 years ago
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
3 years ago
aler9
b20abbed6c
webrtc muxer: keep the WebSocket connection
...
The WebSocket connection is kept open in order to use it to notify
shutdowns.
3 years ago
aler9
f3f55452e5
webrtc muxer: fix multiple race conditions
3 years ago
aler9
2de0941e5c
update gortsplib
3 years ago
aler9
e7e8d5ce20
api: add more attributes to WebRTC connections
...
new attributes: peerConnectionEstablished, localCandidate, remoteCandidate
3 years ago
aler9
cca4702357
webrtc muxer: fix race condition
...
this happened when server was recreated due to API or hot reloading
3 years ago
aler9
9d19ccc837
add WebRTC and low-latency HLS tests
3 years ago
aler9
ec1f957627
webrtx muxer: fix timeout in case of H264 tracks
3 years ago
aler9
777860f757
webrtc muxer: fix freeze on Firefox
3 years ago
aler9
5a0143056a
webrtc muxer: fix HTTP status code of index page
...
Status code was 404, not is 200.
3 years ago
aler9
f837ba6a83
hls source: support proxying H265 and Opus tracks
3 years ago
aler9
3f7009f72a
hls source: support proxying any number of tracks
...
Tracks were previously limited to 2
3 years ago
aler9
e3fff72b7c
move format processors into dedicated folder
3 years ago
aler9
535cbe41e8
speed up tests
3 years ago
aler9
034e42f463
hls muxer: support reading Opus tracks ( #1338 )
3 years ago
aler9
b26f848613
webrtc: add webrtcICEUDPMuxAddress
3 years ago
aler9
c42e2a5b8a
webrtc: print ICE candidate descriptions
3 years ago
aler9
3e0419358a
fix crash when webrtcICETCPMuxAddress is already taken
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
Alessandro Ros
5de600ffaa
support reading H265 tracks with HLS ( #1342 )
...
* support reading H265 tracks with HLS
* update README
3 years ago
aler9
37baa33fc8
hls muxer: add workaround for bug on latest iPhone iOS
...
In iPhone iOs 16.1.1, the EXT-X-PRELOAD-HINT file is requested without
the last character, and "partXX.mp4" becomes "partXX.mp"
3 years ago
aler9
ec8175e434
fix tests
3 years ago
aler9
fbf8e82db5
update gortsplib
3 years ago
aler9
455b8beff7
simplify code
3 years ago
Alessandro Ros
ad52b3fab7
Support publishing with RTMP and H265 (for OBS Studio) ( #1333 )
...
* support publishing with RTMP and H265 (for OBS Studio)
* rtmp source: block H265 tracks
3 years ago
aler9
738c953a59
update gortsplib
3 years ago
aler9
f394c9f8a8
api: add ID to WebRTC readers ( #1318 )
3 years ago
aler9
bab5caee01
webrtc: fix connection in case of high latency
...
When latency is high, one side of the peer connection switched to the
"connected" state before the other one, and then closed the WebSocket
connection since it's useless after the peer connection has been
established. This caused the other side of the connection to detect a
WebSocket error and to exit.
The WebSocket connection must remain open, otherwise the
"connected" state is not set by both parts.
3 years ago
aler9
ec86401037
webrtc: make HTTPS optional ( #1312 )
3 years ago
aler9
0e68aedf12
webrtc: fix support for video + audio
3 years ago
aler9
aac0f1b8a2
webrtc: fix sending of RTCP sender reports
3 years ago
aler9
ac371d8dca
remove sendrecv comment
3 years ago
aler9
0772db509a
fix freeze when reading a stream with both HLS and RTSP
3 years ago
Alessandro Ros
5efe97abf1
Support reading with WebRTC ( #1242 )
3 years ago
aler9
478607a602
hls muxer: ask credentials again after failed attemps
3 years ago
aler9
57015e2bf0
fix authentication with VLC
...
This fixes the case in which VLC is trying to read a path with a query
(i.e. stream?mykey=myval) and the path requires read credentials.
3 years ago
aler9
6524130ab9
implement resizing of oversized H265 RTP packets
3 years ago
aler9
ffbdf51669
fix handling of oversized H264 RTP packets
...
Resized RTP packets were wrongly mixed with original packets.
Original packets are now discarded correctly.
3 years ago
aler9
39da300345
update H265 track parameters when resolution, VPS, SPS or PPS change
3 years ago
aler9
4bafa4ea9b
add dedicated processors for H265 and Opus
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
aler9
7ed0a873f5
use Track.String() instead of reflect for getting track names
3 years ago
Alessandro Ros
e605727c78
produce same absolute time in RTSP and HLS ( #1249 )
...
* add a NTP timestamp to each data unit
* use that NTP timestamp in all protocols
3 years ago
aler9
282d155a4f
update gortsplib
3 years ago
Alessandro Ros
8bee4af86a
api, metrics: add number of bytes received and sent from/to all entities ( #1235 )
...
* API: number of bytes received/sent from/to RTSP connections
* API: number of bytes received/sent from/to RTSP sessions
* API: number of bytes received/sent from/to RTMP connections
* API: number of bytes sent to HLS connections
* API: number of bytes received from paths
* metrics of all the above
3 years ago
Alessandro Ros
423bb61daa
use UUIDs as IDs in all entities ( #1234 )
3 years ago
Alessandro Ros
4ac175d3cc
api, metrics: add endpoints and metrics for RTSP connections ( #1233 )
...
new API endpoints:
* /v1/rtspconns/list
* /v1/rtspsconns/list
new metrics:
* rtsp_conns
* rtsps_conns
3 years ago
aler9
4d770cef94
hide normal decoder states from logs
3 years ago