Skip to content

Commit

Permalink
provider: remove elastictranscoder
Browse files Browse the repository at this point in the history
Related to #239.
  • Loading branch information
fsouza committed Aug 2, 2019
1 parent 36a19fa commit dd68ef6
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 1,804 deletions.
14 changes: 0 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ The Video Transcoding API provides an agnostic API to transcode media assets
across different cloud services. Currently, it supports the following
providers:

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

### Providers configuration

#### For [Amazon Elastic Transcoder](https://aws.amazon.com/elastictranscoder/)

```
export AWS_ACCESS_KEY_ID=your.access.key.id
export AWS_SECRET_ACCESS_KEY=your.secret.access.key
export AWS_REGION="us-east-1"
export ELASTICTRANSCODER_PIPELINE_ID="yourpipeline-id"
```

Please notice that for Elastic Transcoder you don't specify the destination
bucket, as it is [defined in the Elastic Transcoder
Pipeline](https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/pipeline-settings.html#pipeline-settings-configure-transcoded-bucket).

#### For [Bitmovin](http://bitmovin.com)

```
Expand Down
10 changes: 0 additions & 10 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ type Config struct {
DefaultSegmentDuration uint `envconfig:"DEFAULT_SEGMENT_DURATION" default:"5"`
Redis *storage.Config
EncodingCom *EncodingCom
ElasticTranscoder *ElasticTranscoder
ElementalConductor *ElementalConductor
Hybrik *Hybrik
Zencoder *Zencoder
Expand All @@ -41,15 +40,6 @@ type Zencoder struct {
Destination string `envconfig:"ZENCODER_DESTINATION"`
}

// ElasticTranscoder represents the set of configurations for the Elastic
// Transcoder provider.
type ElasticTranscoder struct {
AccessKeyID string `envconfig:"AWS_ACCESS_KEY_ID"`
SecretAccessKey string `envconfig:"AWS_SECRET_ACCESS_KEY"`
Region string `envconfig:"AWS_REGION"`
PipelineID string `envconfig:"ELASTICTRANSCODER_PIPELINE_ID"`
}

// ElementalConductor represents the set of configurations for the Elemental
// Conductor provider.
type ElementalConductor struct {
Expand Down
14 changes: 0 additions & 14 deletions config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ func TestLoadConfigFromEnv(t *testing.T) {
"AWS_ACCESS_KEY_ID": "AKIANOTREALLY",
"AWS_SECRET_ACCESS_KEY": "secret-key",
"AWS_REGION": "us-east-1",
"ELASTICTRANSCODER_PIPELINE_ID": "mypipeline",
"ELEMENTALCONDUCTOR_HOST": "elemental-server",
"ELEMENTALCONDUCTOR_USER_LOGIN": "myuser",
"ELEMENTALCONDUCTOR_API_KEY": "secret-key",
Expand Down Expand Up @@ -83,12 +82,6 @@ func TestLoadConfigFromEnv(t *testing.T) {
PresetPath: "transcoding-api-presets",
},
Zencoder: &Zencoder{},
ElasticTranscoder: &ElasticTranscoder{
AccessKeyID: "AKIANOTREALLY",
SecretAccessKey: "secret-key",
Region: "us-east-1",
PipelineID: "mypipeline",
},
ElementalConductor: &ElementalConductor{
Host: "elemental-server",
UserLogin: "myuser",
Expand Down Expand Up @@ -151,7 +144,6 @@ func TestLoadConfigFromEnvWithDefaults(t *testing.T) {
"AWS_ACCESS_KEY_ID": "AKIANOTREALLY",
"AWS_SECRET_ACCESS_KEY": "secret-key",
"AWS_REGION": "us-east-1",
"ELASTICTRANSCODER_PIPELINE_ID": "mypipeline",
"ELEMENTALCONDUCTOR_HOST": "elemental-server",
"ELEMENTALCONDUCTOR_USER_LOGIN": "myuser",
"ELEMENTALCONDUCTOR_API_KEY": "secret-key",
Expand Down Expand Up @@ -187,12 +179,6 @@ func TestLoadConfigFromEnvWithDefaults(t *testing.T) {
Destination: "https://safe-stuff",
StatusEndpoint: "http://status.encoding.com",
},
ElasticTranscoder: &ElasticTranscoder{
AccessKeyID: "AKIANOTREALLY",
SecretAccessKey: "secret-key",
Region: "us-east-1",
PipelineID: "mypipeline",
},
ElementalConductor: &ElementalConductor{
Host: "elemental-server",
UserLogin: "myuser",
Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ module github.com/video-dev/video-transcoding-api/v2
require (
github.com/NYTimes/gizmo v1.2.12
github.com/NYTimes/gziphandler v1.1.1
github.com/aws/aws-sdk-go v1.21.8
github.com/aws/aws-sdk-go-v2 v0.10.0
github.com/bitmovin/bitmovin-go v1.29.0
github.com/fsouza/ctxlogger v1.5.6
Expand Down
10 changes: 0 additions & 10 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ github.com/Gurpartap/logrus-stack v0.0.0-20170710170904-89c00d8a28f4 h1:vdT7QwBh
github.com/Gurpartap/logrus-stack v0.0.0-20170710170904-89c00d8a28f4/go.mod h1:SvXOG8ElV28oAiG9zv91SDe5+9PfIr7PPccpr8YyXNs=
github.com/NYTimes/gizmo v1.2.9 h1:DzAWlQBS7ZU4BlrJr6/U+A3Od1M1LH5sVuCpbwDsqgI=
github.com/NYTimes/gizmo v1.2.9/go.mod h1:+Ic0KePzIxrkcfIXnII7WMmrciukqbXuQcTOWAzJQNg=
github.com/NYTimes/gizmo v1.2.10 h1:0M2wSXQIlolVTyChFnBnXwqxhnheVKj6rk8YnXBEk9U=
github.com/NYTimes/gizmo v1.2.10/go.mod h1:+Ic0KePzIxrkcfIXnII7WMmrciukqbXuQcTOWAzJQNg=
github.com/NYTimes/gizmo v1.2.11 h1:PadcuT9T51hklWtjlS+U6Hkf4uZ3V7osAupDItC3NP8=
github.com/NYTimes/gizmo v1.2.11/go.mod h1:+Ic0KePzIxrkcfIXnII7WMmrciukqbXuQcTOWAzJQNg=
github.com/NYTimes/gizmo v1.2.12 h1:dz88yhOQNeOQ2BqCdEyHjl37BtHk0jfCXUVINFXagiw=
github.com/NYTimes/gizmo v1.2.12/go.mod h1:+Ic0KePzIxrkcfIXnII7WMmrciukqbXuQcTOWAzJQNg=
github.com/NYTimes/gziphandler v1.1.1 h1:ZUDjpQae29j0ryrS0u/B8HZfJBtBQHjqw2rQ2cqUQ3I=
Expand All @@ -34,12 +30,6 @@ github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMx
github.com/StackExchange/wmi v0.0.0-20170410192909-ea383cf3ba6e/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg=
github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c=
github.com/aws/aws-sdk-go v1.15.31/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0=
github.com/aws/aws-sdk-go v1.21.6 h1:3GuIm55Uls52aQIDGBnSEZbk073jpasfQyeM5eZU61Q=
github.com/aws/aws-sdk-go v1.21.6/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
github.com/aws/aws-sdk-go v1.21.7 h1:ml+k7szyVaq4YD+3LhqOGl9tgMTqgMbpnuUSkB6UJvQ=
github.com/aws/aws-sdk-go v1.21.7/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
github.com/aws/aws-sdk-go v1.21.8 h1:Lv6hW2twBhC6mGZAuWtqplEpIIqtVctJg02sE7Qn0Zw=
github.com/aws/aws-sdk-go v1.21.8/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
github.com/aws/aws-sdk-go-v2 v0.10.0 h1:qxZ7TyWFEIucMPQR2qymRx7JZ+hWF0N8HyCWh0XKh6Q=
github.com/aws/aws-sdk-go-v2 v0.10.0/go.mod h1:cpXCmy3BB+lqwGweJjdawczHW3a+g8QgcFHcoOVoHao=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973 h1:xJ4a3vCFaGF/jqvzLMYoU8P317H5OQ+Via4RmuPwCS0=
Expand Down
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"github.com/google/gops/agent"
"github.com/video-dev/video-transcoding-api/v2/config"
_ "github.com/video-dev/video-transcoding-api/v2/provider/bitmovin"
_ "github.com/video-dev/video-transcoding-api/v2/provider/elastictranscoder"
_ "github.com/video-dev/video-transcoding-api/v2/provider/elementalconductor"
_ "github.com/video-dev/video-transcoding-api/v2/provider/encodingcom"
_ "github.com/video-dev/video-transcoding-api/v2/provider/hybrik"
Expand Down
Loading

0 comments on commit dd68ef6

Please sign in to comment.