diff --git a/Cargo.lock b/Cargo.lock index 7c0c5f00..cc9b4dcc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/net/webrtc/Cargo.toml b/net/webrtc/Cargo.toml index 541d7657..4472f6c8 100644 --- a/net/webrtc/Cargo.toml +++ b/net/webrtc/Cargo.toml @@ -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" diff --git a/net/webrtc/src/aws_kvs_signaller/imp.rs b/net/webrtc/src/aws_kvs_signaller/imp.rs index aada6f57..95490400 100644 --- a/net/webrtc/src/aws_kvs_signaller/imp.rs +++ b/net/webrtc/src/aws_kvs_signaller/imp.rs @@ -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();