From 72f896d6dfb2a7dda8d452e0b928f079ce7476b5 Mon Sep 17 00:00:00 2001 From: Hampton Maxwell Date: Mon, 31 Dec 2018 21:39:12 -0800 Subject: [PATCH] Don't format bandwidth update bitrate --- ios/Video/RCTVideo.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/Video/RCTVideo.m b/ios/Video/RCTVideo.m index 9b6f89c370..b71bbf2853 100644 --- a/ios/Video/RCTVideo.m +++ b/ios/Video/RCTVideo.m @@ -720,7 +720,7 @@ - (void)handleAVPlayerAccess:(NSNotification *)notification { AVPlayerItemAccessLogEvent *lastEvent = accessLog.events.lastObject; if (self.onBandwidthUpdate) { - self.onBandwidthUpdate(@{@"bitrateEstimate": [NSNumber numberWithFloat:(lastEvent.observedBitrate/1000)]}); + self.onBandwidthUpdate(@{@"bitrate": [NSNumber numberWithFloat:lastEvent.observedBitrate]}); } }