Disable onBandwidthUpdate for iOS since it's not working yet

This commit is contained in:
Hampton Maxwell
2018-12-31 22:06:50 -08:00
parent ba439cc319
commit fb5f87bc9b
2 changed files with 3 additions and 1 deletions

View File

@@ -719,9 +719,11 @@ static int const RCTVideoUnset = -1;
AVPlayerItemAccessLog *accessLog = [((AVPlayerItem *)notification.object) accessLog];
AVPlayerItemAccessLogEvent *lastEvent = accessLog.events.lastObject;
/* TODO: get this working
if (self.onBandwidthUpdate) {
self.onBandwidthUpdate(@{@"bitrate": [NSNumber numberWithFloat:lastEvent.observedBitrate]});
}
*/
}
- (void)playbackStalled:(NSNotification *)notification