SAN FRANCISCO — AT&T Inc. has agreed to pay TiVo Inc. $215 million to settle two patent infringement suits over digital video recording technology after the companies entered into a patent licensing arrangement, TiVo announced Tuesday.

AT&T has agreed to an initial payment of $51 million and recurring quarterly payments through June 2018 for a total of $164 million. In addition, the telecommunications company will pay incremental recurring per-subscriber monthly license fees through July 2018 if AT&T’s DVR subscriber base exceeds certain levels.