% import Mediasync.Constants {video_info, websocket_path, state_url, home_button_url, show_snap_button?} = 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()}", true } else {video_info, "/room/#{room_id}/websocket", "/room/#{room_id}/state.json", nil, false} end %>