Track at the fragment level

You can get information about each downloaded fragment.

  1. Implement and register the onLoadInfo callback, which the PSDK calls every time a fragment has downloaded.
  2. Read the data of interest from the LoadInfo parameter passed to the callback.

    The PSDK provides the fragment URL, fragment size in bytes, and the duration of the download in ms.

    Note:

    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.