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 +4 -4
- data/lib/avalon/wowza.rb +2 -18
- data/lib/avalon/wowza/version.rb +1 -1
- data/lib/url_handler/wowza.rb +18 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1380fb749f191e0e893c8bf0ca71ceed8ff24cc
|
4
|
+
data.tar.gz: bdfa340bafac6c5ed195c9f14983ecd75fbf07be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41214df8d587a57c4e5abd54b4a535126e44b604e70e0de8147b5628390e4590cd5b0ae4332fb651eb8cf001981e216e0a50c7e59b6c6ba0fd7e9946cab7804d
|
7
|
+
data.tar.gz: cfbaf51d800695c46fcf11c6a4fe64bb3baf4c09fed9a90fbb03054fb1d1b12e2fa7c2edcd98b07d1c310a957eb03a569f4bfa02a54852f2ffd5ad3911c75fe0
|
data/lib/avalon/wowza.rb
CHANGED
@@ -1,22 +1,6 @@
|
|
1
1
|
require "avalon/wowza/version"
|
2
|
-
|
2
|
+
require "url_handler/wowza"
|
3
3
|
module Avalon
|
4
|
-
module
|
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
|
data/lib/avalon/wowza/version.rb
CHANGED
@@ -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.
|
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
|