Commit Graph
29 Commits
Author SHA1 Message Date
Alessandro RosandGitHub c7dbb951f3 update golangci-lint (#3149) 2024-03-19 12:53:26 +01:00
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
732bf565bf webrtc: fix deadlock when a WHEP source fails (#3062) (#3108) (#3110)
Co-authored-by: Jonathan Martin <jonathan.martin@marss.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2024-03-06 22:38:36 +01:00
Alessandro RosandGitHub b6db3121b5 rtsp: add random value to timestamp of tracks from other protocols (#3071) 2024-02-26 00:41:05 +01:00
Alessandro RosandGitHub da7c5744b1 rtmp: add new AMF0 encoder and encoder (#3069)
This improves performance, security and removes a dependency.
2024-02-24 19:11:42 +01:00
Alessandro RosandGitHub a52f550ee6 webrtc: return an error when proxying stream with no tracks (#3042) 2024-02-18 21:58:11 +01:00
Alessandro RosandGitHub 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 RosandGitHub 3161e73a58 rename httpserv into httpp (#3014) 2024-02-13 13:04:56 +01:00
Alessandro RosandGitHub 487f92ac55 hls: in logs, store both ip and port of incoming requests (#3013) 2024-02-12 22:44:44 +01:00
Alessandro RosandGitHub 22a589b724 stop logging HTTP requests twice (#2993) 2024-02-05 22:26:33 +01:00
Alessandro RosandGitHub 0f733bab26 add rpiCameraAWBGains (#2858) (#2954) 2024-01-28 21:48:21 +01:00
Alessandro RosandGitHub f8a56aae91 rtmp: simplify Audio message structure (#2924) 2024-01-21 16:29:13 +01:00
Alessandro RosandGitHub cd2495423a do not wait for HTTP connections to close when shutting down the server (#2909) 2024-01-15 17:54:52 +01:00
Alessandro RosandGitHub 20bb9b90cd support G711 tracks with multiple channels and custom sample rates (#2891) 2024-01-13 11:40:26 +01:00
Alessandro RosandGitHub 27975d8b67 rtmp: support publishing G711 and LPCM tracks (#2857) (#2884) 2024-01-07 17:02:22 +01:00
Alessandro RosandGitHub 7437ee7a09 update golangci-lint (#2868) 2024-01-03 21:13:20 +01:00
Alessandro RosandGitHub 89560c19a0 rtmp: fix parsing error caused by extended timestamps (#2393) (#2556) (#2384) (#1550) (#2564) (#2808) 2023-12-16 17:17:42 +01:00
Alessandro RosandGitHub 0c131a2e92 rpi: pass log level to libcamera (#2617) (#2811) 2023-12-15 12:10:16 +01:00
Alessandro RosandGitHub 22414bb38c rtmp: return error in case of extended chunk stream IDs (#2806) 2023-12-14 11:38:47 +01:00
Alessandro RosandGitHub 11988249df move servers into internal/servers (#2792) 2023-12-08 19:17:17 +01:00
Alessandro RosandGitHub 3e12f83732 hls, webrtc: fix appending slash to paths that contain slashes (#2773) 2023-12-01 21:14:45 +01:00
Alessandro RosandGitHub aade2eedb9 hls, webrtc: prevent XSS attack when appending slash to paths (#2766) (#2767) (#2772) 2023-12-01 20:54:18 +01:00
Alessandro RosandGitHub 0e5e3324a7 rpicamera: allow to change bitrate and IDR period dynamically (#2703) (#2764) 2023-11-30 21:43:19 +01:00
Alessandro RosandGitHub 81c803ba64 webrtc: fix bad quality when converting Opus from WebRTC to LL-HLS (#2499) (#2740) 2023-11-24 22:07:33 +01:00
Alessandro RosandGitHub 687d8685ef webrtc: improve connectivity mechanism (#2686) 2023-11-12 23:55:28 +01:00
Alessandro RosandGitHub 43d41c070b move static sources into dedicated package (#2616) 2023-10-31 14:19:04 +01:00
Alessandro RosandGitHub 7fb3b749d5 rtmp: fix publishing screen with iOS StreamLabs (#2352) (#2611) 2023-10-30 11:45:05 +01:00
Alessandro RosandGitHub 4c25529369 move rpicamera into internal/protocols (#2607) 2023-10-30 11:40:55 +01:00
Alessandro RosandGitHub 99bc327d67 move protocol-related code into internal/protocols (#2572) 2023-10-26 21:46:18 +02:00