Update record.lua

better online record broadcast