The PSDK provides QoS information about downloaded fragments and tracks. All the QoS information related to resources that are downloaded is exposed through the LoadInfo class.
| Property | Type | Description |
|---|---|---|
| downloadDuration | long | The duration of the download in milliseconds. |
| mediaDuration | long | The media duration of the downloaded fragments in milliseconds. |
| periodIndex | int | The timeline period index associated with the downloaded resource. |
| size | long | The size of the downloaded resource in bytes. |
| trackIndex | int | The index of the corresponding track, if known; otherwise, 0. |
| trackName | String | The name of the corresponding track, if known; otherwise, null. |
| trackType | String | The type of the corresponding track, if known; otherwise, null. |
| type | The type of the download :
|
|
| url | String | The URL pointing to the downloaded resource. |
The PSDK does not differentiate between the time it took the client to connect to the server and the time it took to download the full fragment. For example, the PSDK provides information that a 10 MB segment took 8 seconds to download, but does not identify that it took 4 seconds until the first byte and another 4 seconds to download the entire fragment.