To the best of my knowledge you telling someone you did something and them telling the cop is a good example of hearsay, or at least pretty arguable.
Far easier to just have a standard camera in the room, since a video of a confession is far more compelling and sidesteps any arguments about hearsay.