polyglot/app/channels/video_session_channel.rb

12 lines
237 B
Ruby
Raw Normal View History

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