pili 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pili/stream.rb +1 -1
- data/lib/pili/version.rb +1 -1
- 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: 9865e9866575afe5e7d4237d81e632fd7000a919
|
4
|
+
data.tar.gz: e9c96dd71f418ce1d5d5b4fc71610b00210a0833
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53caacf8ab81601fe91c5e710b78e0da2757f362d75ab4c02296f4568b0ff12da9ef9b6da9b9301450bdead75c06ed13d4543fecdded02cded17227db36914d7
|
7
|
+
data.tar.gz: 99f70ed7c9180b8c3c38bd6dbf6ed1c2c747b803f9753f450dc3279bb322f6a65bd0129e20031c2be85b9233723d5be4097110e66ceea5307ba0dc86fae4b4ba
|
data/lib/pili/stream.rb
CHANGED
@@ -76,7 +76,7 @@ module Pili
|
|
76
76
|
if @publish_security == "static"
|
77
77
|
return "rtmp://#{rtmp_publish_host}/#{@hub}/#{@title}?key=#{@publish_key}"
|
78
78
|
else
|
79
|
-
nonce =
|
79
|
+
nonce = Time.now.to_i
|
80
80
|
token = Auth.sign(publish_key, "/#{@hub}/#{@title}?nonce=#{nonce}")
|
81
81
|
return "rtmp://#{rtmp_publish_host}/#{@hub}/#{@title}?nonce=#{nonce}&token=#{token}"
|
82
82
|
end
|
data/lib/pili/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pili
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miclle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|