Discovery reported spotty financial results in the second quarter, but delivered better-than-expected free cash flow.

The streaming unit posted revenue of $2.7 billion.

David Zaslav

Warner Bros. Discovery CEO David ZaslavKevin Mazur/Getty Images for Warner Bros. Discovery

Operating expenses decreased 8% on a pro forma basis.

Previously, it had guided to profit by 2025.

Like its peers in the traditional media business, WBD is managing through a challenging operating environment.

Warner Bros Discovery earnings