Television and movie actors have reached a tentative four-year contract agreement with studios and streaming services