webrtc-rails 0.3.9 → 0.3.10

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: 8805d636cb43da43f9396d8c87d1ed5167539918
4
- data.tar.gz: d652c0c1d9b11e0eac2d3454745d658701155536
3
+ metadata.gz: 102ce3b28c0ad4bfe1f395b681ed5e323f5e550f
4
+ data.tar.gz: 0a89133bbf6cd37e42251a12294ca4126b24c625
5
5
  SHA512:
6
- metadata.gz: d6739cbebb3671b268e321ffde2aa03ddb55f622b1f762589d8a3a96397883a9dd0ea705853a026e4d092d96b2977bd6bce834d2ac6e6ec12239c4c9badf047a
7
- data.tar.gz: 4000cee35761f98ee2ee7592450f554787202534e824714a775c3b1a919d5729112a0bc8a8a280e94d19e92787bfd81b6f58cfb79002048c3f9c582ef1ca9acf
6
+ metadata.gz: f2c687e56fc2b4029bf6eb1e0788ddd95c82052d2a2076a10f2ac16d24ea84676e8d59ada51ac230734e83e0202e7de5faffdf8f199b9b6ccfc22d95a6447bc1
7
+ data.tar.gz: fb3fb51c6b5d1e96549432b28a1baa15e4978ddb2e3b1c1736b9b58c851482433310ee778eb0bed0e4d7f1ca1621742cbc9b39fc7866c32c6f4723e6d5823e85
@@ -103,9 +103,13 @@ class @WebRTC
103
103
  track.enabled = enabled
104
104
 
105
105
  hangUp: ->
106
- @_hangUp()
107
106
  @_sendMessage(type: 'hangUp')
107
+ @_hangUp()
108
108
 
109
+ readyState: ->
110
+ unless @_webSocket?
111
+ return WebSocket.CLOSED
112
+ return @_webSocket.readyState
109
113
  # private
110
114
 
111
115
  _hangedUp: true
@@ -367,6 +371,7 @@ class @WebRTC
367
371
  @_stop()
368
372
  @_hangedUp = true
369
373
  @onWebRTCHangedUp()
374
+ @remoteUserIdentifier = null
370
375
 
371
376
  _stop: ->
372
377
  if @_peerConnection?
@@ -1,3 +1,3 @@
1
1
  module WebrtcRails
2
- VERSION = "0.3.9"
2
+ VERSION = "0.3.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webrtc-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.9
4
+ version: 0.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Koji Murata