Every person who, by any means whatsoever, willfully and knowingly, and without knowledge and consent of the jury, records, or attempts to record, all or part of the proceedings of any trial jury while it is deliberating or voting, or listens to or observes, or attempts to listen to or observe, the proceedings of any trial jury of which he is not a member while such jury is deliberating or voting is guilty of a misdemeanor.
This section is not intended to prohibit the taking of notes by a trial juror in connection with and solely for the purpose of assisting him in the performance of his duties as such juror.
Ca. Pen. Code § 167