Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc95bb75

Browse files
committed
provider: remove elastictranscoder
Related to#239.
1 parent30f9985 commitc95bb75

File tree

9 files changed

+2
-1854
lines changed

9 files changed

+2
-1854
lines changed

‎README.md‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ The Video Transcoding API provides an agnostic API to transcode media assets
1010
across different cloud services. Currently, it supports the following
1111
providers:
1212

13-
-[Amazon Elastic Transcoder](https://aws.amazon.com/elastictranscoder/)
1413
-[Bitmovin](http://bitmovin.com)
1514
-[Elemental Conductor](http://www.elementaltechnologies.com/products/elemental-conductor)
1615
-[Encoding.com](http://encoding.com)
@@ -25,19 +24,6 @@ environment variables:
2524

2625
###Providers configuration
2726

28-
####For[Amazon Elastic Transcoder](https://aws.amazon.com/elastictranscoder/)
29-
30-
```
31-
export AWS_ACCESS_KEY_ID=your.access.key.id
32-
export AWS_SECRET_ACCESS_KEY=your.secret.access.key
33-
export AWS_REGION="us-east-1"
34-
export ELASTICTRANSCODER_PIPELINE_ID="yourpipeline-id"
35-
```
36-
37-
Please notice that for Elastic Transcoder you don't specify the destination
38-
bucket, as it is[defined in the Elastic Transcoder
39-
Pipeline](https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/pipeline-settings.html#pipeline-settings-configure-transcoded-bucket).
40-
4127
####For[Bitmovin](http://bitmovin.com)
4228

4329
```

‎config/config.go‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ type Config struct {
1515
DefaultSegmentDurationuint`envconfig:"DEFAULT_SEGMENT_DURATION" default:"5"`
1616
Redis*storage.Config
1717
EncodingCom*EncodingCom
18-
ElasticTranscoder*ElasticTranscoder
1918
ElementalConductor*ElementalConductor
2019
Hybrik*Hybrik
2120
Zencoder*Zencoder
@@ -41,15 +40,6 @@ type Zencoder struct {
4140
Destinationstring`envconfig:"ZENCODER_DESTINATION"`
4241
}
4342

44-
// ElasticTranscoder represents the set of configurations for the Elastic
45-
// Transcoder provider.
46-
typeElasticTranscoderstruct {
47-
AccessKeyIDstring`envconfig:"AWS_ACCESS_KEY_ID"`
48-
SecretAccessKeystring`envconfig:"AWS_SECRET_ACCESS_KEY"`
49-
Regionstring`envconfig:"AWS_REGION"`
50-
PipelineIDstring`envconfig:"ELASTICTRANSCODER_PIPELINE_ID"`
51-
}
52-
5343
// ElementalConductor represents the set of configurations for the Elemental
5444
// Conductor provider.
5545
typeElementalConductorstruct {

‎config/config_test.go‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ func TestLoadConfigFromEnv(t *testing.T) {
2929
"AWS_ACCESS_KEY_ID":"AKIANOTREALLY",
3030
"AWS_SECRET_ACCESS_KEY":"secret-key",
3131
"AWS_REGION":"us-east-1",
32-
"ELASTICTRANSCODER_PIPELINE_ID":"mypipeline",
3332
"ELEMENTALCONDUCTOR_HOST":"elemental-server",
3433
"ELEMENTALCONDUCTOR_USER_LOGIN":"myuser",
3534
"ELEMENTALCONDUCTOR_API_KEY":"secret-key",
@@ -83,12 +82,6 @@ func TestLoadConfigFromEnv(t *testing.T) {
8382
PresetPath:"transcoding-api-presets",
8483
},
8584
Zencoder:&Zencoder{},
86-
ElasticTranscoder:&ElasticTranscoder{
87-
AccessKeyID:"AKIANOTREALLY",
88-
SecretAccessKey:"secret-key",
89-
Region:"us-east-1",
90-
PipelineID:"mypipeline",
91-
},
9285
ElementalConductor:&ElementalConductor{
9386
Host:"elemental-server",
9487
UserLogin:"myuser",
@@ -151,7 +144,6 @@ func TestLoadConfigFromEnvWithDefaults(t *testing.T) {
151144
"AWS_ACCESS_KEY_ID":"AKIANOTREALLY",
152145
"AWS_SECRET_ACCESS_KEY":"secret-key",
153146
"AWS_REGION":"us-east-1",
154-
"ELASTICTRANSCODER_PIPELINE_ID":"mypipeline",
155147
"ELEMENTALCONDUCTOR_HOST":"elemental-server",
156148
"ELEMENTALCONDUCTOR_USER_LOGIN":"myuser",
157149
"ELEMENTALCONDUCTOR_API_KEY":"secret-key",
@@ -187,12 +179,6 @@ func TestLoadConfigFromEnvWithDefaults(t *testing.T) {
187179
Destination:"https://safe-stuff",
188180
StatusEndpoint:"http://status.encoding.com",
189181
},
190-
ElasticTranscoder:&ElasticTranscoder{
191-
AccessKeyID:"AKIANOTREALLY",
192-
SecretAccessKey:"secret-key",
193-
Region:"us-east-1",
194-
PipelineID:"mypipeline",
195-
},
196182
ElementalConductor:&ElementalConductor{
197183
Host:"elemental-server",
198184
UserLogin:"myuser",

‎go.mod‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ module github.com/video-dev/video-transcoding-api/v2
33
require (
44
github.com/NYTimes/gizmov1.2.14
55
github.com/NYTimes/gziphandlerv1.1.1
6-
github.com/aws/aws-sdk-gov1.23.3
76
github.com/aws/aws-sdk-go-v2v0.10.0
87
github.com/bitmovin/bitmovin-gov1.29.0
98
github.com/fsouza/ctxloggerv1.5.8

‎go.sum‎

Lines changed: 2 additions & 60 deletions
Large diffs are not rendered by default.

‎main.go‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88
"github.com/google/gops/agent"
99
"github.com/video-dev/video-transcoding-api/v2/config"
1010
_"github.com/video-dev/video-transcoding-api/v2/provider/bitmovin"
11-
_"github.com/video-dev/video-transcoding-api/v2/provider/elastictranscoder"
1211
_"github.com/video-dev/video-transcoding-api/v2/provider/elementalconductor"
1312
_"github.com/video-dev/video-transcoding-api/v2/provider/encodingcom"
1413
_"github.com/video-dev/video-transcoding-api/v2/provider/hybrik"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp