Skip to main content

AppleNetworkConfiguration

Player configuration specific to Apple platform.

Properties

allowsCellularAccess?

optional allowsCellularAccess: boolean

A Boolean value that determines whether connections should be made over a cellular network. The value is assigned on the URLSession-level and on the URLRequest-level


httpAdditionalHeaders?

optional httpAdditionalHeaders: Record<string, string>

A dictionary of additional headers to send with requests.


timeoutIntervalForDrmAcquisitionMs?

optional timeoutIntervalForDrmAcquisitionMs: number

The drm license requests dedicated timeout. By default, the timeout is set to 0.0, which means that the request will not forcefully timeout.


timeoutIntervalForResourceMs?

optional timeoutIntervalForResourceMs: number

The maximum amount of time that a resource request should be allowed to take. The value is assigned on the URLSession-level and on the URLRequest-level


waitsForConnectivity?

optional waitsForConnectivity: boolean

A Boolean value that indicates whether the session should wait for connectivity to become available, or fail immediately.