2018-08-27 15:55:44 +00:00
|
|
|
class VideoSessionChannel < ApplicationCable::Channel
|
|
|
|
def subscribed
|
|
|
|
# video session
|
2018-08-27 18:05:57 +00:00
|
|
|
stream_from "video_session_channel"
|
2018-08-27 15:55:44 +00:00
|
|
|
# stream_from "chat_room_#{params[:chat_room_id]}"
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
def unsubscribed
|
|
|
|
# Any cleanup needed when channel is unsubscribed
|
|
|
|
end
|
|
|
|
end
|