polyglot/app/channels/video_session_channel.rb

13 lines
277 B
Ruby
Raw Normal View History

class VideoSessionChannel < ApplicationCable::Channel
def subscribed
# video session
stream_from "video_session_channel"
# stream_from "chat_room_#{params[:chat_room_id]}"
end
def unsubscribed
# Any cleanup needed when channel is unsubscribed
end
end