webrtc-rails 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assets/javascripts/webrtc_rails/main.js.coffee +10 -0
- data/lib/webrtc_rails/daemon.rb +0 -0
- data/lib/webrtc_rails/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: 46715b540b07d892527e2b7f6f247304cd8d2ff6
|
4
|
+
data.tar.gz: bfcbfc2836a9cfaf8800a0589f712a609acc6afd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e19d70a685b8a37cc879cc80b9986db73c20a894bc4609333ef7be5eadd41bf803beebc516d17971381795b3e65e95cdfe7fc3a951f2302f8fdfc4e67aa4b2ad
|
7
|
+
data.tar.gz: 69c07d010291f9ed3639c598e91fb59fc843143c07ceae596c64f9ab684d34362102dca5e069af9d89da9b86b8a77d9e45b890904318d71e6567f5599cebfec5
|
@@ -24,6 +24,16 @@ class @WebRTC
|
|
24
24
|
@_webSocketInitialize(url, userToken)
|
25
25
|
@_addNetworkEventListener()
|
26
26
|
|
27
|
+
window.onbeforeunload = (e) =>
|
28
|
+
if @_hangedUp then null else '通話が切断されます。'
|
29
|
+
|
30
|
+
onunload = window.onunload
|
31
|
+
window.onunload = (e) =>
|
32
|
+
if onunload?
|
33
|
+
onunload()
|
34
|
+
unless @_hangedUp
|
35
|
+
@hangUp()
|
36
|
+
|
27
37
|
call: (remoteUserIdentifier) ->
|
28
38
|
if @_webRTCReconnecting && @_hangedUp
|
29
39
|
@_webRTCReconnecting = false
|
data/lib/webrtc_rails/daemon.rb
CHANGED
File without changes
|
data/lib/webrtc_rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webrtc-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Koji Murata
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: em-websocket
|