NetworkUsage

@protocol NetworkUsage

Network analytics related to network usage

  • Returns the number of bytes downloaded so far

    returns: the number of bytes downloaded so far

    Declaration

    Objective-C

    - (int64_t)bytesDownloaded;
  • Returns the empirical throughput, in bits per second, across all media downloaded

    returns: the throughput, in bits per second

    Declaration

    Objective-C

    - (double)downloadBitrate;
  • Returns the video track’s average bit rate, in bits per second

    returns: the video track’s average bit rate, in bits per second

    Declaration

    Objective-C

    - (double)downloadBitrateAverage;
  • Returns the number of media read requests from the server to this client

    returns: The number of media read requests from the server to this client or -1 if unknown

    Declaration

    Objective-C

    - (NSInteger)numberOfMediaRequests;
  • Returns the accumulated duration, in seconds, of active network transfer of bytes

    returns: the accumulated duration, in seconds, of active network transfer of bytes or -1 if unknown

    Declaration

    Objective-C

    - (NSTimeInterval)transferDuration;
  • Returns the total number of times that downloading the segments took too long.

    returns: the total number of times that downloading the segments took too long or -1 if unknown

    Declaration

    Objective-C

    - (NSInteger)downloadsOverdue;