Ziggeo 2.16 → 2.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +30 -1
- data/lib/classes/ZiggeoEffectProfileProcess.rb +4 -0
- data/lib/classes/ZiggeoStreams.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b3573398f4f7aec5727e419d132283004753ff3
|
4
|
+
data.tar.gz: bb7a5303da0562707a1521207153bf0ff88c5a6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fecd566da12d03919cfc40618adc80575f1f71cdd825fbbf9e0c81b2aba9a56eeccb42da1c2b3fa653bfc6c5fc788c008d04a6170b0950e8cf46a29bd72c555
|
7
|
+
data.tar.gz: 67536ab5e683fdedc8631f91da84f10fd3e6f16f031efd6b9817b27301d067d351c17a65dd9deb886d94b91d25114f49f0caed8e23bdabd8b6f904ff2cbf620f
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Ziggeo Ruby Server SDK 2.
|
1
|
+
# Ziggeo Ruby Server SDK 2.17
|
2
2
|
|
3
3
|
Ziggeo API (https://ziggeo.com) allows you to integrate video recording and playback with only
|
4
4
|
two lines of code in your site, service or app. This is the Ruby Server SDK repository.
|
@@ -374,6 +374,20 @@ Arguments
|
|
374
374
|
- file: *Video file to be attached*
|
375
375
|
|
376
376
|
|
377
|
+
#### Attach Subtitle
|
378
|
+
|
379
|
+
Attaches a video to a new stream
|
380
|
+
|
381
|
+
```ruby
|
382
|
+
ziggeo.streams().attach_subtitle(video_token_or_key, token_or_key, arguments = nil)
|
383
|
+
```
|
384
|
+
|
385
|
+
Arguments
|
386
|
+
- lang: *Subtitle language*
|
387
|
+
- label: *Subtitle reference*
|
388
|
+
- data: *Actual subtitle*
|
389
|
+
|
390
|
+
|
377
391
|
#### Bind
|
378
392
|
|
379
393
|
Closes and submits the stream
|
@@ -619,6 +633,21 @@ Arguments
|
|
619
633
|
- video_scale: *Specify the image scale of your watermark (a value between 0.0 and 1.0)*
|
620
634
|
|
621
635
|
|
636
|
+
#### Edit Watermark Process
|
637
|
+
|
638
|
+
Edits an existing watermark process.
|
639
|
+
|
640
|
+
```ruby
|
641
|
+
ziggeo.effectProfileProcess().edit_watermark_process(effect_token_or_key, token_or_key, arguments = nil, file = nil)
|
642
|
+
```
|
643
|
+
|
644
|
+
Arguments
|
645
|
+
- file: *Image file to be attached*
|
646
|
+
- vertical_position: *Specify the vertical position of your watermark (a value between 0.0 and 1.0)*
|
647
|
+
- horizontal_position: *Specify the horizontal position of your watermark (a value between 0.0 and 1.0)*
|
648
|
+
- video_scale: *Specify the image scale of your watermark (a value between 0.0 and 1.0)*
|
649
|
+
|
650
|
+
|
622
651
|
### MetaProfiles
|
623
652
|
|
624
653
|
The meta profiles resource allows you to access and create meta profiles for your app. Each meta profile may contain one process or more.
|
@@ -24,4 +24,8 @@ class ZiggeoEffectProfileProcess
|
|
24
24
|
return @application.connect.postJSON('/v1/effects/' + effect_token_or_key + '/process/watermark', data, file)
|
25
25
|
end
|
26
26
|
|
27
|
+
def edit_watermark_process(effect_token_or_key, token_or_key, data = nil, file = nil)
|
28
|
+
return @application.connect.postJSON('/v1/effects/' + effect_token_or_key + '/process/watermark/' + token_or_key + '', data, file)
|
29
|
+
end
|
30
|
+
|
27
31
|
end
|
@@ -40,6 +40,10 @@ class ZiggeoStreams
|
|
40
40
|
return @application.connect.postJSON('/v1/videos/' + video_token_or_key + '/streams/' + token_or_key + '/video', data, file)
|
41
41
|
end
|
42
42
|
|
43
|
+
def attach_subtitle(video_token_or_key, token_or_key, data = nil)
|
44
|
+
return @application.connect.postJSON('/v1/videos/' + video_token_or_key + '/streams/' + token_or_key + '/subtitle', data)
|
45
|
+
end
|
46
|
+
|
43
47
|
def bind(video_token_or_key, token_or_key)
|
44
48
|
return @application.connect.postJSON('/v1/videos/' + video_token_or_key + '/streams/' + token_or_key + '/bind')
|
45
49
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: Ziggeo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '2.
|
4
|
+
version: '2.17'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ziggeo, Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|