Commit Graph

62 Commits

Author SHA1 Message Date
Jean-Philippe Bergeron
e8297478f3
Configurable webrtcSTUNGatherTimeout (#4221) 2025-02-07 16:34:17 +01:00
dependabot[bot]
c6a9d81d4c
build(deps): bump github.com/bluenviron/mediacommon (#4193)
Bumps [github.com/bluenviron/mediacommon](https://github.com/bluenviron/mediacommon) from 1.13.4-0.20250119173005-20b296ab1174 to 1.13.4.
- [Commits](https://github.com/bluenviron/mediacommon/commits/v1.13.4)

---
updated-dependencies:
- dependency-name: github.com/bluenviron/mediacommon
  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-01-24 11:04:08 +01:00
Alessandro Ros
8f6267deb8
bump pion/webrtc to v4 (#4145) 2025-01-13 23:19:29 +01:00
Alessandro Ros
b49acb1e00
accept durations expressed as days (i.e. '1d') (#4094) 2025-01-02 12:44:15 +01:00
Alessandro Ros
8cbbbc05c3
rtmp: support additional Enhanced-RTMP features (#3685) (#4088)
new features:
* support publishing Opus and AC-3 tracks
* support publishing more than 2 tracks. This is compatible with OBS multitrack video and OBS VOD audio track
2025-01-02 12:44:01 +01:00
Alessandro Ros
8cb584b514
api, metrics: fix RTC lowercase in webRTCSession and webRTCSource (#4076) 2024-12-25 17:47:24 +01:00
github-actions[bot]
212382ed2f
bump mediamtx-rpicamera to v2.3.6 (#4004) 2024-12-03 07:59:45 +01:00
Alessandro Ros
235fd27dce
rpicamera: fix restarting camera when component crashes (#3997) 2024-11-30 18:58:33 +01:00
Alessandro Ros
e6fa56dd06
rpicamera: fix restarting stream in case of disconnections or driver errors (#3988) 2024-11-30 11:25:31 +01:00
Alessandro Ros
716660217d
remove deprecated build flags syntax (#3930) 2024-11-06 15:07:33 +01:00
Andres Uribe
f8b366c604
webrtc: restart ICE only on failed connection states (#3899)
* webrtc: Restart ICE only on failed connection states

* rename "connected" into "ready" since WebRTC can emit the "connected" state multiple times

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-10-31 12:47:35 +01:00
github-actions[bot]
6cd7487857
bump mediamtx-rpicamera to v2.3.4 (#3895)
Co-authored-by: mediamtx-bot <bot@mediamtx>
2024-10-20 16:40:33 +02:00
Alessandro Ros
e2121c6949
bump mediamtx-rpicamera (#3870) 2024-10-13 21:28:27 +02:00
Alessandro Ros
d13dc1074a
make better use of Gin middleware system (#3849) 2024-10-08 17:02:16 +02:00
Alessandro Ros
23002d9f5f
route original timestamps without converting to durations (#3839)
This improves timestamp precision.
2024-10-07 17:59:32 +02:00
Alessandro Ros
c71694741e
show right server version when server is compiled from source (#3409) 2024-10-05 23:10:14 +02:00
Alessandro Ros
4d0ce87f09
hls: support generating streams with multiple audio tracks (#2728) (#3793) 2024-10-03 19:38:54 +02:00
Alessandro Ros
471019f606
warn users about skipped tracks when reading or publishing (#3753) 2024-09-15 19:28:05 +02:00
Alessandro Ros
6a38c87a5b
hls, webrtc: add FromStream / ToStream (#3752) 2024-09-09 12:59:23 +02:00
Alessandro Ros
e6653857aa
rtmp: support ingesting AV1, VP9, H265, MP3, PCM from other servers (#3751) 2024-09-09 12:26:35 +02:00
Alessandro Ros
6a7be47d73
rpi: fix compatibility with Raspberry Pi 5 and Camera Module 3 (#3715) (#3746) 2024-09-08 20:33:29 +02:00
Alessandro Ros
abd34d8978
rpi: throw an error when trying to run the 32-bit server on 64-bit os and vice-versa (#3721) 2024-09-03 19:12:31 +02:00
Alessandro Ros
7da91a77d9
rpi: fix compatibility with latest mediamtx-rpicamera (#3674) 2024-08-21 12:53:08 +02:00
Alessandro Ros
3700d5e5b9
rpi: fix passing unsigned integers to component (#3672) 2024-08-21 00:08:54 +02:00
Alessandro Ros
41a3fd503d
rpi: add H264 software encoder (#2581) (#3670)
This allows to use the RPI camera on the Raspberry Pi 5 too.
2024-08-21 00:05:40 +02:00
Alessandro Ros
f4051eb63d
rpi: add rpiCameraFlickerPeriod (#3463) (#3667) 2024-08-19 11:22:54 +02:00
Alessandro Ros
6256d0b893
rpi: embed libcamera and libfreetype into the server (#2581) (#3665) 2024-08-18 19:12:26 +02:00
Alessandro Ros
c5059fa7a0
move RPI Camera component into dedicated repository (#3656) 2024-08-14 23:24:17 +02:00
Alessandro Ros
342c257df5
srt: process connection requests in parallel (#3382) (#3534) 2024-07-05 22:17:40 +02:00
Alessandro Ros
65d90f7cc6
allow using MTX_QUERY inside source (#3486)
this allows to pass query parameters to sources, for instance:

source: rtsp://my_host/my_path?$MTX_QUERY
sourceOnDemand: true
2024-06-18 22:10:26 +02:00
Alessandro Ros
f227971517
fix UDP-related tests (#3484)
for some reason, using "localhost" with UDP inside GitHub Actions and
Docker stopped working.
2024-06-17 23:09:25 +02:00
Alessandro Ros
80a133afc9
bump dependencies (#3457) 2024-06-11 22:43:27 +02:00
Jason Walton
1c2f95f609
webrtc: allow configuring timeouts (#3404) (#3406)
* webrtc: allow configuring timeouts (#3404)

* fix from code inspect
2024-05-30 13:36:58 +02:00
Alessandro Ros
407702380a
webrtc: in answer, include codecs that are actually in use (#3374) 2024-05-19 19:41:42 +02:00
Alessandro Ros
e283725cde
support routing multichannel Opus between RTSP, SRT, HLS, UDP and recording in MPEG-TS and fMP4 (#3355) (#3368) 2024-05-19 14:38:57 +02:00
Alessandro Ros
dcb5b45e84
update dependencies (#3325) 2024-05-05 19:06:47 +02:00
Alessandro Ros
1204f76eb7
update golangci-lint (#3300) 2024-04-28 18:20:08 +02:00
Rafael Scheidt
2bd8ac7e19
fix support for JWT authentication in API, metrics, playback, pprof (#3253)
Co-authored-by: Rafael Scheidt <rafaelscheidt@Rafaels-MacBook-Air.local>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-04-18 23:55:48 +02:00
Alessandro Ros
b84f0b90d0
add JWT authentication tests (#3272) 2024-04-18 22:58:37 +02:00
Alessandro Ros
36a6ca6ba6
fix race condition in SRT tests (#3215) 2024-04-09 10:04:56 +02:00
Alessandro Ros
c7dbb951f3
update golangci-lint (#3149) 2024-03-19 12:53:26 +01:00
Alessandro Ros
24cc62e344
hls: decrease number of idle connections kept open after a reconnection (#3128) 2024-03-10 11:51:15 +01:00
Jonathan Martin
1989997fe1
webrtc: fix memory leak when WHEP track gathering fails and decrease count of idle HTTP connections (#3124)
* fix: whep gathering failure leaks peer connections

* fix: failure to create whep client leaks

when read fails, client is not closed

* fix: close idle connection with whip client

* fix: no link check on early whip client close

* move http.Client.CloseIdleConnections() outside WHIPClient

* automatically call WHEPClient.Close() in case of errors during WHEPClient.Read() or WHEPClient.Publish()

---------

Co-authored-by: Jonathan Martin <jonathan.martin@marss.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-03-10 11:33:00 +01:00
Alessandro Ros
c7bdcea741
move RTSP tests into internal/servers/rtsp (#3049) 2024-02-20 19:35:35 +01:00
Alessandro Ros
9e5de737f0
move SRT tests into internal/servers/srt (#3037) 2024-02-17 20:42:41 +01:00
Alessandro Ros
ad58efe47d
move RTMP tests into internal/servers/rtmp (#3035) 2024-02-16 23:27:27 +01:00
Alessandro Ros
1ae3240b91
hls: fix crash when muxer is being recreated, improve performance (#3017) 2024-02-13 23:32:15 +01:00
Alessandro Ros
b6eaa6bc18
move test utilities into 'test' (#3016)
* move test utilities into 'test'

* rename newEmptyTimer into emptyTimer
2024-02-13 18:49:27 +01:00
Alessandro Ros
0f733bab26
add rpiCameraAWBGains (#2858) (#2954) 2024-01-28 21:48:21 +01:00
Alessandro Ros
e50def6afd
update gohlslib (#2862) 2024-01-03 18:56:18 +01:00