215 Commits

Author SHA1 Message Date
Alessandro Ros
d6e6954a12 api: fix crash in rtspsessions/list and /rtspsessions/get (#5030) (#5031)
sometimes sessions have an empty associated path, and this caused a
crash.
2025-09-25 10:57:03 +02:00
Alessandro Ros
6b57c5187b webrtc: add authentication parameters to publisher.js and reader.js (#5026)
add user, pass and token configuration parameters.
2025-09-24 18:28:53 +02:00
Alessandro Ros
f987695d9d rtsp: log authentication failure reason (#4641) (#5017) 2025-09-23 10:18:13 +02:00
bluenviron-bot
b192dbc492 bump hls.js to v1.6.13 (#5024) 2025-09-23 09:36:32 +02:00
Alessandro Ros
b517631b8f fix authentication failure reason not being displayed (#5007) 2025-09-22 09:48:51 +02:00
Alessandro Ros
558d1c3818 api: add tunnel and profile to RTSP conns and sessions (#4985) 2025-09-17 22:18:21 +02:00
Alessandro Ros
e3b8af8933 switch to gortsplib/v5 (#4978) 2025-09-16 13:10:34 +02:00
Alessandro Ros
1b8897d30d rtmp: move implementation to gortmplib (#4968) 2025-09-13 11:50:36 +02:00
Alessandro Ros
e8b746b6d5 rtsp: fix memory leak when closing sessions (#4964) (#4678) (#4967) 2025-09-12 15:48:14 +02:00
bluenviron-bot
8e359a1eea bump hls.js to v1.6.12 (#4957) 2025-09-12 08:53:53 +02:00
Alessandro Ros
9318107779 rtmp: support additional enhanced RTMP features (#4168) (#4321) (#4954)
* support reading AV1, VP9, H265, Opus, AC-3, G711, LPCM
* support reading multiple video or audio tracks at once
2025-09-11 23:18:46 +02:00
Alessandro Ros
e0f4748839 modernize code (#4947) 2025-09-07 16:08:47 +02:00
bluenviron-bot
9fce341fa2 bump hls.js to v1.6.11 (#4898) 2025-08-26 23:51:13 +02:00
bp0
fa6a20a5f9 hls, webrtc: Add disablepictureinpicture param (#4883)
ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/video#disablepictureinpicture
2025-08-17 21:45:48 +02:00
bluenviron-bot
9ab48ea480 bump hls.js to v1.6.10 (#4877) 2025-08-15 10:57:24 +02:00
Alessandro Ros
b627128d0f remove context from webrtc.PeerConnection arguments (#4854)
contexts are useless since there's already PeerConnection.Close().
2025-08-12 15:19:59 +02:00
Alessandro Ros
5ae934887d remove custom forks of pion/webrtc and pion/ice (#4861)
this fixes IPv6 reliability issues and allows to receive upstream
updates in a more linear way.
2025-08-12 14:30:08 +02:00
Alessandro Ros
1a0f8e53f3 webrtc: show SDP answers in logs (#4862) 2025-08-12 14:11:42 +02:00
Alessandro Ros
03623799f5 use slices.Contains when possible (#4859) 2025-08-12 12:28:20 +02:00
Alessandro Ros
da08b128c4 webrtc: fix crash when loading an invalid configuration (#4856) 2025-08-11 19:16:00 +02:00
Alessandro Ros
462fb2bd0f allow setting UDP read buffer size (#3308) (#4846)
new parameters: rtspUDPReadBufferSize, rtpUDPReadBufferSize, mpegtsUDPReadBufferSize
2025-08-11 12:21:00 +02:00
Alessandro Ros
19a47acca1 webrtc: close WebRTC sessions when closing browser tabs (#4477) (#4849)
This should decrease the delay before WebRTC sessions are marked as closed.
2025-08-11 10:48:37 +02:00
bluenviron-bot
cb01d81c0e bump hls.js to v1.6.9 (#4833) 2025-08-08 10:19:49 +02:00
bluenviron-bot
ecc25c2b37 bump hls.js to v1.6.8 (#4824) 2025-08-05 17:07:18 +02:00
krystiancha
6ffa07e8e8 Add support for HTTP over unix sockets (#4241)
This adds support for using unix scheme in xxxAddress config options.
For example `hlsAddress: "unix://hls.sock"`.

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2025-08-03 12:30:26 +02:00
Alessandro Ros
40c4a7fd04 webrtc: fix crash introduced in #4795 (#4800) 2025-07-29 11:02:32 +02:00
Alessandro Ros
534ea4d0c6 api: add additional WebRTC statistics (#4795)
rtpPacketsReceived, rtpPacketsSent, rtpPacketsLost, rtpPacketsJitter,
rtcpPacketsReceived, rtcpPacketsSent
2025-07-29 10:43:52 +02:00
Alessandro Ros
d423a71aaa update linter settings (#4790) 2025-07-26 16:44:32 +02:00
Alessandro Ros
0b901ade3e remove PathManager.StartPublisher and StopPublisher (#4766)
simplify path manager usage.
2025-07-21 13:52:55 +02:00
Alessandro Ros
cc27cf6563 mpegts, srt: support MPEG-4 Audio LATM tracks (#4403) (#4759) 2025-07-21 10:02:40 +02:00
dependabot[bot]
d0a97e47ff build(deps): bump github.com/bluenviron/gohlslib/v2 from 2.2.1 to 2.2.2 (#4763)
Bumps [github.com/bluenviron/gohlslib/v2](https://github.com/bluenviron/gohlslib) from 2.2.1 to 2.2.2.
- [Commits](https://github.com/bluenviron/gohlslib/compare/v2.2.1...v2.2.2)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/gohlslib/v2
  dependency-version: 2.2.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-21 09:55:10 +02:00
Alessandro Ros
9ddcbf5c97 recorder: limit maximum part size (#4674) (#4760)
this prevents RAM exhaustion.
2025-07-20 19:16:33 +02:00
Alessandro Ros
bb3cfeec6f webrtc: fix re-establishing connection in iframe (#4721)
Prevent a bug in Firefox in which, when the page is loaded in an iframe
and the iframe is deleted and recreated, WebRTC is unable to
re-establish the connection.
2025-07-13 09:37:19 +02:00
dishmaker
cfcdab1f9e webrtc: fix endless loading in Firefox (#4707)
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2025-07-12 22:58:14 +02:00
dishmaker
1bd5febcad hls: fix endless loading in Firefox (#4706)
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2025-07-12 22:05:18 +02:00
Andrew Klofas
cf28d6028a hls: add query params to iOS streams (#4708) 2025-07-12 14:21:51 +02:00
bluenviron-bot
e96fe4e04c bump hls.js to v1.6.7 (#4703) 2025-07-08 09:09:06 +02:00
Alessandro Ros
3e9ca21448 rtsp: fix reading with RTSP and hashed credentials (#4698) (#4700) 2025-07-07 10:42:39 +02:00
Alessandro Ros
1083eea307 make RTP packet size compatible with RTSP/SRTP (#4692)
when RTSP encryption is enabled, maximum RTP packet size is slightly
decreased to make room for SRTP.
2025-07-05 15:42:58 +02:00
Alessandro Ros
c475f84e5d rtsp: support encrypting UDP and UDP-multicast streams (#4690) 2025-07-05 13:46:59 +02:00
Alessandro Ros
81af4075f0 fix crash when ConfWatcher fails to initialize (#4689) 2025-07-05 10:59:57 +02:00
bluenviron-bot
2f06100648 bump hls.js to v1.6.6 (#4683) 2025-07-03 07:01:56 +02:00
dependabot[bot]
d422fab734 build(deps): bump github.com/bluenviron/gohlslib/v2 from 2.1.5 to 2.2.0 (#4634)
Bumps [github.com/bluenviron/gohlslib/v2](https://github.com/bluenviron/gohlslib) from 2.1.5 to 2.2.0.
- [Commits](https://github.com/bluenviron/gohlslib/compare/v2.1.5...v2.2.0)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/gohlslib/v2
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-09 23:04:34 +02:00
Alessandro Ros
c21c969a8c revert #4583 (#4606)
This reverts commit 500d18b6c6.
2025-06-03 20:27:53 +02:00
Alessandro Ros
500d18b6c6 rtmp: fix timeout when publishing with GLive T80 (#4002) (#4583) 2025-06-03 18:26:00 +02:00
bluenviron-bot
870b99f69f bump hls.js to v1.6.5 (#4601) 2025-06-03 07:53:46 +02:00
github-actions[bot]
eeee743d6c bump hls.js to v1.6.4 (#4586) 2025-05-31 09:48:14 +02:00
github-actions[bot]
945b6d5cb3 bump hls.js to v1.6.3 (#4584) 2025-05-30 09:17:15 +02:00
Alessandro Ros
189c99d5fc improve tests (#4581) 2025-05-29 20:37:44 +02:00
Alessandro Ros
5d203b4d98 webrtc: prevent routine leaks (#4558)
wait for all routines to exit before assuming a WebRTC connection is closed.
2025-05-26 11:33:46 +02:00