janus_gateway 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/janus_gateway/transport/websocket.rb +6 -1
- data/lib/janus_gateway/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: 1b5f1e1a634d58a9791fcc99947d960e9d2ced1a
|
4
|
+
data.tar.gz: 63ae487a9f49af06539aaba033e589fb19712b22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2e65926e02d77b161d61cd0c833c2d91641e03d6e5a74aea4b3e33f8ace6957be571f3959ce7ba70827fd8b686e0c3aff11fc02d9219ef885bd79b3a9e03a75
|
7
|
+
data.tar.gz: f103a5f8f5826147afc15bfcbe5304dc66918f866cc47f7473ac4fec11dcc7dae3b48d202b623b838ce7a300a43a59a51ec017c63b877328ffce797b6c651bfa
|
@@ -54,6 +54,11 @@ module JanusGateway
|
|
54
54
|
|
55
55
|
client.on :close do
|
56
56
|
emit :close
|
57
|
+
|
58
|
+
@transaction_queue.each do |transaction_id, promise|
|
59
|
+
error = JanusGateway::Error.new(0, "Transaction id `#{transaction_id}` has failed due to websocket `close`!")
|
60
|
+
promise.fail(error).execute
|
61
|
+
end
|
57
62
|
end
|
58
63
|
end
|
59
64
|
|
@@ -75,7 +80,7 @@ module JanusGateway
|
|
75
80
|
|
76
81
|
thread = Thread.new do
|
77
82
|
sleep(_transaction_timeout)
|
78
|
-
error = JanusGateway::Error.new(0, "Transaction id `#{transaction}` has failed due to timeout
|
83
|
+
error = JanusGateway::Error.new(0, "Transaction id `#{transaction}` has failed due to `timeout`!")
|
79
84
|
promise.fail(error).execute
|
80
85
|
end
|
81
86
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: janus_gateway
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cargo Media
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2016-01-11 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: faye-websocket
|
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
150
|
version: '0'
|
151
151
|
requirements: []
|
152
152
|
rubyforge_project:
|
153
|
-
rubygems_version: 2.
|
153
|
+
rubygems_version: 2.5.0
|
154
154
|
signing_key:
|
155
155
|
specification_version: 4
|
156
156
|
summary: janus-gateway client
|