Netflix Inc. has agreed to pay Comcast Corp. to ensure Netflix movies and television shows stream smoothly to Comcast customers, a landmark pact that could set a precedent for Netflix's dealings with other broadband providers, people familiar with the matter said.

In exchange for payment, Netflix will get direct access to Comcast's broadband network.

The deal comes just 10 days after Comcast agreed to buy Time Warner Cable Inc. The acquisition, if approved, would establish Comcast as by far the dominant provider of broadband in the U.S., serving 32 million households before any divestitures it might make. It also comes amid growing signs that congestion deep in the Internet is causing interruptions for customers trying to stream Netflix movies and TV shows.

People familiar with the situation said Netflix Chief Executive Reed Hastings didn't want streaming speeds to deteriorate further and become a bigger problem for customers.