webrtc: Update AWS signaller to http 1

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1457>
This commit is contained in:
Sebastian Dröge 2024-01-31 16:57:42 +02:00
parent fdfd10112b
commit ecd824adae
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View file

@ -2771,7 +2771,7 @@ dependencies = [
"gstreamer-utils",
"gstreamer-video",
"gstreamer-webrtc",
"http 0.2.11",
"http 1.0.0",
"human_bytes",
"livekit-api",
"livekit-protocol",

View file

@ -41,7 +41,7 @@ aws-smithy-http = { version = "0.60", features = [ "rt-tokio" ] }
aws-smithy-types = "1.0"
aws-sdk-kinesisvideo = "1.0"
aws-sdk-kinesisvideosignaling = "1.0"
http = "0.2"
http = "1.0"
chrono = "0.4"
data-encoding = "2.3.3"
url-escape = "0.1.1"

View file

@ -403,7 +403,7 @@ impl Signaller {
.expect("Failed to build valid request");
let (signing_instructions, _signature) =
sign(signable_request, &signing_params)?.into_parts();
signing_instructions.apply_to_request_http0x(&mut request);
signing_instructions.apply_to_request_http1x(&mut request);
let url = request.uri().to_string();