gstreamer/subprojects/gst-plugins-bad/ext/webrtc
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
..
fwd.h
gstwebrtc.c
gstwebrtcbin.c webrtcice: Add webrtc ALPN header for HTTP proxy 2023-08-17 00:45:05 +00:00
gstwebrtcbin.h
gstwebrtcstats.c
gstwebrtcstats.h
meson.build
transportreceivebin.c
transportreceivebin.h
transportsendbin.c
transportsendbin.h
transportstream.c
transportstream.h
utils.c
utils.h
webrtcdatachannel.c
webrtcdatachannel.h
webrtcsctptransport.c
webrtcsctptransport.h
webrtcsdp.c
webrtcsdp.h
webrtctransceiver.c
webrtctransceiver.h