lock stream && recording