mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-08-10 10:39:13 +00:00
13 lines
277 B
Ruby
13 lines
277 B
Ruby
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
|