No events in AVPlayerItemAccessLog for audio livestreams?

Hi,


I am developing a media player using AVPlayer. One of the feature of the player is to report its usage of network bandwidth by counting the bytes received during playback (our streams are all remote HLS).


To access this data I use the AVPlayerItem accessLog, and parse the 'events' of it. These events are instances of AVPlayerItemAccessLog, with a 'numberOfBytesTransferred' property.


But I discovered that there is no events for audio livestreams! There are events for AODs, VODs and video livestreams, but none for the audio live. The consequence is that I am unable to track the bandwidth usage for live radios!


Anyone having the same problem?

Can you write this up and include a test case. I discussed this with HLS engineers and they're curious to check it out since it sounds like a bug as described.


Thanks!

No events in AVPlayerItemAccessLog for audio livestreams?
 
 
Q