Don't format bandwidth update bitrate
This commit is contained in:
parent
45a851e79a
commit
72f896d6df
@ -720,7 +720,7 @@ static int const RCTVideoUnset = -1;
|
|||||||
AVPlayerItemAccessLogEvent *lastEvent = accessLog.events.lastObject;
|
AVPlayerItemAccessLogEvent *lastEvent = accessLog.events.lastObject;
|
||||||
|
|
||||||
if (self.onBandwidthUpdate) {
|
if (self.onBandwidthUpdate) {
|
||||||
self.onBandwidthUpdate(@{@"bitrateEstimate": [NSNumber numberWithFloat:(lastEvent.observedBitrate/1000)]});
|
self.onBandwidthUpdate(@{@"bitrate": [NSNumber numberWithFloat:lastEvent.observedBitrate]});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user