src/events.rb in kurento_rails-0.1.4 vs src/events.rb in kurento_rails-0.1.5
- old
+ new
@@ -15,9 +15,11 @@
subscribe :active_streams, to: KurentoWebsocketsController, with_method: :active_streams
subscribe :recorded_streams, to: KurentoWebsocketsController, with_method: :recorded_streams
subscribe :broadcast, to: KurentoWebsocketsController, with_method: :broadcast
subscribe :stop_broadcasting, to: KurentoWebsocketsController, with_method: :stop_broadcasting
subscribe :view, to: KurentoWebsocketsController, with_method: :view
+ subscribe :stop_viewing, to: KurentoWebsocketsController, with_method: :stop_viewing
+ subscribe :is_live?, to: KurentoWebsocketsController, with_method: :is_live?
end
subscribe :client_disconnected, to: KurentoWebsocketsController, with_method: :user_disconnect
end