Which is correct?

When the dog jumped on the raccoon, it opened its mouth and let out what (could be / could have been) a scream.

Thanks!
4 answers 4