avalon-wowza 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a4d079fd0fb04dacc068fd109789bcf9fc53b60
4
- data.tar.gz: e7f388f96496052a0109253cedef40b2f3aae23f
3
+ metadata.gz: b1380fb749f191e0e893c8bf0ca71ceed8ff24cc
4
+ data.tar.gz: bdfa340bafac6c5ed195c9f14983ecd75fbf07be
5
5
  SHA512:
6
- metadata.gz: 0d3a833ddac2a02cfede2b38f5d0580b623a65cac5944cbd69df46aca5566c380c2f5917f782a6695865d05169b77d3cf6c49df302d3e96751e5f24c5cd65e2d
7
- data.tar.gz: 028edbf5cd8a063d99b54b776e7d169258a3bab6a2e93661fac54703d459e8d46311ae3f115bec1cc56fb358e46663b3d60304e9f67f4a48e5cbe2053ab32244
6
+ metadata.gz: 41214df8d587a57c4e5abd54b4a535126e44b604e70e0de8147b5628390e4590cd5b0ae4332fb651eb8cf001981e216e0a50c7e59b6c6ba0fd7e9946cab7804d
7
+ data.tar.gz: cfbaf51d800695c46fcf11c6a4fe64bb3baf4c09fed9a90fbb03054fb1d1b12e2fa7c2edcd98b07d1c310a957eb03a569f4bfa02a54852f2ffd5ad3911c75fe0
@@ -1,22 +1,6 @@
1
1
  require "avalon/wowza/version"
2
-
2
+ require "url_handler/wowza"
3
3
  module Avalon
4
- module UrlHandler
5
- class Wowza
6
-
7
- def self.patterns
8
- {
9
- 'rtmp' => {
10
- 'video' => "<%=prefix%>:<%=media_id%>/<%=stream_id%>/<%=filename%>",
11
- 'audio' => "<%=prefix%>:<%=media_id%>/<%=stream_id%>/<%=filename%>",
12
- },
13
- 'http' => {
14
- 'video' => "<%=prefix%>:<%=media_id%>/<%=stream_id%>/<%=filename%>.<%=extension%>/playlist.m3u8",
15
- 'audio' => "<%=prefix%>:<%=media_id%>/<%=stream_id%>/<%=filename%>.<%=extension%>/playlist.m3u8",
16
- }
17
- }
18
- end
19
-
20
- end
4
+ module Wowza
21
5
  end
22
6
  end
@@ -1,5 +1,5 @@
1
1
  module Avalon
2
2
  module Wowza
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -0,0 +1,18 @@
1
+ module UrlHandler
2
+ class Wowza
3
+
4
+ def self.patterns
5
+ {
6
+ 'rtmp' => {
7
+ 'video' => "<%=prefix%>:<%=media_id%>/<%=stream_id%>/<%=filename%>",
8
+ 'audio' => "<%=prefix%>:<%=media_id%>/<%=stream_id%>/<%=filename%>",
9
+ },
10
+ 'http' => {
11
+ 'video' => "<%=prefix%>:<%=media_id%>/<%=stream_id%>/<%=filename%>.<%=extension%>/playlist.m3u8",
12
+ 'audio' => "<%=prefix%>:<%=media_id%>/<%=stream_id%>/<%=filename%>.<%=extension%>/playlist.m3u8",
13
+ }
14
+ }
15
+ end
16
+
17
+ end
18
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avalon-wowza
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Klein
@@ -52,6 +52,7 @@ files:
52
52
  - avalon-wowza.gemspec
53
53
  - lib/avalon/wowza.rb
54
54
  - lib/avalon/wowza/version.rb
55
+ - lib/url_handler/wowza.rb
55
56
  homepage: https://github.com/avalonmediasystem/wowza-avalon
56
57
  licenses:
57
58
  - Apache 2.0