Instance Property


The number of media read requests from the server to this client.


var numberOfMediaRequests: Int { get }


For HTTP live streaming, this property contains the count of media requests downloaded from the server. For progressive-style HTTP media downloads, it contains a count of HTTP GET (byte-range) requests for the resource.

The property corresponds to “sc-count".

The value of this property is negative if unknown.

This property is not compatible with Key-value observing.

See Also

Getting Server-Related Log Events

var uri: String?

The URI of the playback item.

var serverAddress: String?

The IP address of the server that was the source of the last delivered media segment.

var numberOfServerAddressChanges: Int

A count of changes to the server address over the last uninterrupted period of playback.

var mediaRequestsWWAN: Int

The number of network read requests over a WWAN.

var transferDuration: TimeInterval

The accumulated duration, in seconds, of active network transfer of bytes.

var numberOfBytesTransferred: Int64

The accumulated number of bytes transferred by the item.