Alessandro Ros
c80220eb7c
webrtc: solve domains in webrtcAdditionalHosts on server-side ( #4817 ) ( #4866 )
2025-08-12 15:49:38 +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
03623799f5
use slices.Contains when possible ( #4859 )
2025-08-12 12:28:20 +02:00
Alessandro Ros
eeb6ac3824
webrtc: re-enable ipv6 ( #3227 ) ( #4816 )
2025-08-02 23:32:48 +02:00
Alessandro Ros
548cdbeb8f
webrtc: fix crash introduced in #4795 ( #4814 )
2025-08-02 12:58:45 +02:00
Alessandro Ros
81abc2e008
webrtc: speed up candidate extraction ( #4801 )
2025-07-29 12:09:12 +02:00
Alessandro Ros
89e295eb4a
metrics: add additional WebRTC metrics ( #3304 ) ( #4797 )
...
webrtc_sessions_rtp_packets_received, webrtc_sessions_rtp_packets_sent,
webrtc_sessions_rtp_packets_lost, webrtc_sessions_rtp_packets_jitter,
webrtc_sessions_rtcp_packets_received,
webrtc_sessions_rtcp_packets_sent.
2025-07-29 11:17:12 +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
3c703052f6
webrtc: fix writing tracks to some clients ( #4602 )
...
some clients require PayloadType to be unique among all tracks, not
only among tracks of same kind.
2025-06-03 16:23:38 +02:00
Alessandro Ros
823697210e
webrtc: fix race condition after #4558 ( #4564 )
2025-05-27 15:17:31 +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
Alessandro Ros
77a3c7ae6e
webrtc: route original absolute timestamp of packets ( #1300 ) ( #4415 )
2025-04-12 11:34:27 +02:00
Alessandro Ros
986e270862
count and log all discarded frames, decode errors, lost packets ( #4363 )
...
Discarded frames, decode errors and lost packets were logged
individually, then there was a mechanism that prevented more than 1 log
entry per second from being printed, resulting in inaccurate reports.
Now discarded frames, decode errors and lost packets are accurately
counted, and their count is printed once every second.
2025-03-25 21:59:58 +01:00
Alessandro Ros
c692f3b78c
webrtc: rewrite WHIP client ( #4299 )
2025-03-01 17:01:57 +01:00
Alessandro Ros
aa101c680c
webrtc: make client always provide UDP candidates ( #4298 )
2025-03-01 16:52:59 +01:00
Alessandro Ros
5c6cf58d75
webrtc: fix connecting to TCP-only sources ( #4293 )
2025-03-01 11:07:50 +01:00
Jean-Philippe Bergeron
e8297478f3
Configurable webrtcSTUNGatherTimeout ( #4221 )
2025-02-07 16:34:17 +01:00
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