<% import Mediasync.Constants {video_info, websocket_path, state_url, home_button_url} = if in_discord_activity? do { %{video_info | url: "/.proxy/room/#{room_id}/video?#{query_param_discord_activity_inner()}"}, "/.proxy/room/#{room_id}/websocket?#{query_param_discord_activity_inner()}", "/.proxy/room/#{room_id}/state.json?#{query_param_discord_activity_inner()}", "/.proxy/?#{query_param_discord_activity_inner()}" } else {video_info, "/room/#{room_id}/websocket", "/room/#{room_id}/state.json", nil} end %> room | mediasync