How to detect HLS stream switching

Is there a way to detect when HLS streams switch? I would like to gather some statistics. From what I can tell an isStreamStarted event is thrown when streams switch and I see there is some data in the isStreamStarted event on roVideoScreen, but StreamBitrate seems to always be 0.