s3:awss3hlssink Bucket does not support setting subdirectory
Hi, When I use awss3sink, the plug-in supports setting subdirectory ,such as bucket awss3sink bucket=test/123 key=test.mp4
, but awss3hlsink does not support subdirectory . Will awss3hlssink support setting subdirectory in the future?
When i setting awss3hlssink
awss3hlssink net/aws/src/s3hlssink/imp.rs:278:gstaws::s3hlssink::imp::S3HlsSink::s3_request:<awss3hlssink0> Put object request for S3 key playlist.m3u8 of data length 118 failed with error FutureError(ServiceError(ServiceError { source: PutObjectError { kind: Unhandled(Unhandled { source: Error { code: Some("SignatureDoesNotMatch"), message: Some("The request signature we calculated does not match the signature you provided. Check your key and signing method."), request_id: Some("17412CD79CE95F12"), extras: {} } }), meta: Error { code: Some("SignatureDoesNotMatch"), message: Some("The request signature we calculated does not match the signature you provided. Check your key and signing method."), request_id: Some("17412CD79CE95F12"), extras: {} } }, raw: Response { inner: Response { status: 403, version: HTTP/1.1, headers: {"accept-ranges": "bytes", "content-length": "415", "content-security-policy": "block-all-mixed-content", "content-type": "application/xml", "server": "MinIO", "strict-transport-security": "max-age=31536000; includeSubDomains", "vary": "Origin", "vary": "Accept-Encoding", "x-amz-request-id": "17412CD79CE95F12", "x-content-type-options": "nosniff", "x-xss-protection": "1; mode=block", "date": "Mon, 06 Feb 2023 07:50:40 GMT"}, body: SdkBody { inner: Once(Some(b"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error><Code>SignatureDoesNotMatch</Code><Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message><Key>playlist.m3u8</Key><BucketName>123%2F%2F22</BucketName><Resource>/123//22/playlist.m3u8</Resource><RequestId>17412CD79CE95F12</RequestId><HostId>740bdc4a-b5d1-4e61-bb37-137420b13dc6</HostId></Error>")), retryable: true } }, properties: SharedPropertyBag(Mutex { data: PropertyBag, poisoned: false, .. }) } }))
ERROR: from element /GstPipeline:pipeline0/GstAwsS3HlsSink:awss3hlssink0: Could not write to resource.