gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/nice
Johan Sternerup 5b64cfaca3 webrtcice: Add webrtc ALPN header for HTTP proxy
Section 3.4 in RFC8835 states that if a WebRTC endpoint uses an HTTP
proxy to access the Internet it MUST include the "ALPN" header. This
commit adds this header.

By default the ALPN used when connecting to the TURN/TCP server via a
proxy is set to "webrtc". It can be changed by adding an alpn url
option for the http-proxy. For example:

http://user:pass@my.http.proxy.com:8080?alpn=c-webrtc

This will add the header "ALPN: c-webrtc" to the HTTP proxy CONNECT
request.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4212>
2023-08-17 00:45:05 +00:00
..
meson.build webrtc/nice: put usage of OPTION_CONSENT_FRESHNESS behind check 2023-06-01 00:42:28 +00:00
nice.c webrtcice: Add webrtc ALPN header for HTTP proxy 2023-08-17 00:45:05 +00:00
nice.h
nice_fwd.h
nicestream.c webrtc: Fix segfault traversing ice transports 2023-03-17 14:11:52 +00:00
nicestream.h
nicetransport.c webrtc: nice: WeakRef access fixes 2022-08-01 13:13:16 +00:00
nicetransport.h