Skip to main content
Version: 11.8.0

Network on iOS

THEOplayer makes a number of network requests, and receives responses, while it is loading and playing a stream. The Network API allows you to intercept those requests and responses, so you can inspect them, modify them, redirect them, or respond with your own data.

Common use cases are adding authentication headers or query parameters to segment requests, redirecting requests to another CDN, or rewriting a manifest before the player parses it.

The iOS SDK exposes this API through NetworkAPI, available on player.network. It allows you to intercept the requests and responses of HLS playlists.