mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-23 03:50:59 +00:00
aws: Update to AWS SDK 0.52/0.22
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1020>
This commit is contained in:
parent
a507f24694
commit
4e444a066c
5 changed files with 11 additions and 11 deletions
|
@ -16,13 +16,13 @@ futures = "0.3"
|
|||
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
||||
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
||||
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_16"] }
|
||||
aws-config = "0.51.0"
|
||||
aws-sdk-s3 = "0.21.0"
|
||||
aws-sdk-transcribe = "0.21.0"
|
||||
aws-types = "0.51.0"
|
||||
aws-sig-auth = "0.51.0"
|
||||
aws-smithy-http = { version = "0.51.0", features = [ "rt-tokio" ] }
|
||||
aws-smithy-types = "0.51.0"
|
||||
aws-config = "0.52.0"
|
||||
aws-sdk-s3 = "0.22.0"
|
||||
aws-sdk-transcribe = "0.22.0"
|
||||
aws-types = "0.52.0"
|
||||
aws-sig-auth = "0.52.0"
|
||||
aws-smithy-http = { version = "0.52.0", features = [ "rt-tokio" ] }
|
||||
aws-smithy-types = "0.52.0"
|
||||
http = "0.2.7"
|
||||
chrono = "0.4"
|
||||
url = "2"
|
||||
|
|
|
@ -370,7 +370,7 @@ impl S3HlsSink {
|
|||
|
||||
let config = if let Some(uri) = endpoint_uri {
|
||||
config_builder
|
||||
.endpoint_resolver(Endpoint::mutable(uri))
|
||||
.endpoint_resolver(Endpoint::mutable_uri(uri).expect("Failed to parse endpoint"))
|
||||
.build()
|
||||
} else {
|
||||
config_builder.build()
|
||||
|
|
|
@ -535,7 +535,7 @@ impl S3Sink {
|
|||
|
||||
let config = if let Some(uri) = endpoint_uri {
|
||||
config_builder
|
||||
.endpoint_resolver(Endpoint::mutable(uri))
|
||||
.endpoint_resolver(Endpoint::mutable_uri(uri).expect("Failed to parse endpoint"))
|
||||
.build()
|
||||
} else {
|
||||
config_builder.build()
|
||||
|
|
|
@ -148,7 +148,7 @@ impl S3Src {
|
|||
|
||||
let config = if let Some(uri) = endpoint_uri {
|
||||
config_builder
|
||||
.endpoint_resolver(Endpoint::mutable(uri))
|
||||
.endpoint_resolver(Endpoint::mutable_uri(uri).expect("Failed to parse endpoint"))
|
||||
.build()
|
||||
} else {
|
||||
config_builder.build()
|
||||
|
|
|
@ -10,7 +10,7 @@ use aws_config::meta::region::RegionProviderChain;
|
|||
use aws_sdk_s3::{config::timeout::TimeoutConfig, Credentials, Region};
|
||||
use aws_types::sdk_config::SdkConfig;
|
||||
|
||||
use aws_smithy_http::byte_stream::{ByteStream, Error};
|
||||
use aws_smithy_http::byte_stream::{error::Error, ByteStream};
|
||||
|
||||
use bytes::{buf::BufMut, Bytes, BytesMut};
|
||||
use futures::stream::TryStreamExt;
|
||||
|
|
Loading…
Reference in a new issue