azure_media_service 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/azure_media_service/model/asset.rb +1 -1
- data/lib/azure_media_service/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4a4632eaad064f5a27e4a7e9fe5bbf999937bbf
|
4
|
+
data.tar.gz: 3061b6b51bd6acb809464a97842c11bd73202221
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 898d1812365809e06db1fba3301c9f3c73e0dd31d6ee1ea5fcfedbfef0bdd66daf9b851f53ca8d22c57c6130dabfd4fbf69e7b3c21912ba969cdbc358a4b8e0b
|
7
|
+
data.tar.gz: c9b9107727099fab5f8c8764d55ddeda647b5f31edba53f8bd4c81c9b7f1b94e53e9e753944192205449013e337002d99cf1f285feea67b2e784223f814948fe
|
data/README.md
CHANGED
@@ -37,10 +37,10 @@ asset.upload('path/to/example.mp4')
|
|
37
37
|
|
38
38
|
# encode job
|
39
39
|
asset = AzureMediaService::Asset.get('nb:cid:UUID:xxxxxxxxxxx-xxxxxxxxxxx-xxxxxx-xxxxxxx')
|
40
|
-
job = asset.encode_job('
|
40
|
+
job = asset.encode_job('Adaptive Streaming')
|
41
41
|
|
42
42
|
# or
|
43
|
-
job = AzureMediaService::Job.create('nb:cid:UUID:xxxxxxxxxxx-xxxxxxxxxxx-xxxxxx-xxxxxxx', '
|
43
|
+
job = AzureMediaService::Job.create('nb:cid:UUID:xxxxxxxxxxx-xxxxxxxxxxx-xxxxxx-xxxxxxx', 'Adaptive Streaming')
|
44
44
|
|
45
45
|
# publish asset
|
46
46
|
asset = AzureMediaService::Asset.get('nb:cid:UUID:xxxxxxxxxxx-xxxxxxxxxxx-xxxxxx-xxxxxxx')
|
@@ -140,7 +140,7 @@ module AzureMediaService
|
|
140
140
|
|
141
141
|
|
142
142
|
def encode_job(encode_configuration)
|
143
|
-
media_processor = @service.media_processor_id_by_name('
|
143
|
+
media_processor = @service.media_processor_id_by_name('Media Encoder Standard')
|
144
144
|
|
145
145
|
conf_str = encode_configuration.gsub(' ', '_')
|
146
146
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_media_service
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- murayama
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
161
|
version: '0'
|
162
162
|
requirements: []
|
163
163
|
rubyforge_project:
|
164
|
-
rubygems_version: 2.
|
164
|
+
rubygems_version: 2.5.1
|
165
165
|
signing_key:
|
166
166
|
specification_version: 4
|
167
167
|
summary: Azure Media Service SDK for ruby
|