The deposition, or a certified copy of it, may be read in evidence, or if the examination was video-recorded, that video-recording may be shown by either party at the trial if the court finds that the witness is unavailable as a witness within the meaning of Section 240 of the Evidence Code. The same objections may be taken to a question or answer contained in the deposition or video-recording as if the witness had been examined orally in court.
Ca. Pen. Code § 1345