Commit Graph

18 Commits

Author SHA1 Message Date
Alessandro Ros
a1c6da84dc webrtc: fix detecting closure of some sessions (#4204) (#4212) 2025-02-01 13:43:57 +01:00
Alessandro Ros
e86a7a8217 webrtc: disable UDP when not needed (#4176) 2025-01-19 15:43:58 +01:00
Alessandro Ros
8f6267deb8 bump pion/webrtc to v4 (#4145) 2025-01-13 23:19:29 +01:00
Alessandro Ros
d4c29f8283 webrtc: switch to recvonly transceivers (#4059) (#4108)
This fixes compatibility with devices that support decoding AV1 but
don't support encoding it.

This was previously impossible to achieve due to a bug that prevented
video from being displayed when recvonly transceivers were in use and
audio was not present.
2025-01-04 16:36:03 +01:00
Alessandro Ros
b49acb1e00 accept durations expressed as days (i.e. '1d') (#4094) 2025-01-02 12:44:15 +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
Alessandro Ros
1e30dcb555 webrtc: fix crash in case of congestion (#3813) (#3815) 2024-09-29 09:56:06 +02:00
Alessandro Ros
6a38c87a5b hls, webrtc: add FromStream / ToStream (#3752) 2024-09-09 12:59:23 +02:00
Alessandro Ros
427249877c webrtc: fix error "Failed to setup RTCP mux" on some readers (#3381) (#3449) 2024-06-10 15:43:52 +02:00
Alessandro Ros
095921dc26 webrtc: on browsers, display error messages from server (#3448) 2024-06-10 15:41:05 +02:00
Alessandro Ros
d7bc304e52 webrtc: speed up gathering of incoming tracks (#3441) 2024-06-09 22:58:40 +02:00
Alessandro Ros
ca1638976b webrtc: support reading and publishing multichannel Opus (#3371) (#3375) 2024-06-03 00:26:32 +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
Jonathan Martin
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 Ros
a52f550ee6 webrtc: return an error when proxying stream with no tracks (#3042) 2024-02-18 21:58:11 +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
99bc327d67 move protocol-related code into internal/protocols (#2572) 2023-10-26 21:46:18 +02:00