Loading android-exoplayer/src/main/java/com/brentvatne/exoplayer/VideoEventEmitter.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -125,7 +125,7 @@ class VideoEventEmitter { private static final String EVENT_PROP_TIMED_METADATA = "metadata"; private static final String EVENT_PROP_TIMED_METADATA = "metadata"; private static final String EVENT_PROP_BITRATE_ESTIMATE = "bitrateEstimate"; private static final String EVENT_PROP_BITRATE = "bitrate"; void setViewId(int viewId) { void setViewId(int viewId) { Loading Loading @@ -178,7 +178,7 @@ class VideoEventEmitter { void bandwidthReport(double bitRateEstimate) { void bandwidthReport(double bitRateEstimate) { WritableMap event = Arguments.createMap(); WritableMap event = Arguments.createMap(); event.putDouble(EVENT_PROP_BITRATE_ESTIMATE, bitRateEstimate / 1024D); event.putDouble(EVENT_PROP_BITRATE, bitRate); receiveEvent(EVENT_BANDWIDTH, event); receiveEvent(EVENT_BANDWIDTH, event); } } Loading Loading
android-exoplayer/src/main/java/com/brentvatne/exoplayer/VideoEventEmitter.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -125,7 +125,7 @@ class VideoEventEmitter { private static final String EVENT_PROP_TIMED_METADATA = "metadata"; private static final String EVENT_PROP_TIMED_METADATA = "metadata"; private static final String EVENT_PROP_BITRATE_ESTIMATE = "bitrateEstimate"; private static final String EVENT_PROP_BITRATE = "bitrate"; void setViewId(int viewId) { void setViewId(int viewId) { Loading Loading @@ -178,7 +178,7 @@ class VideoEventEmitter { void bandwidthReport(double bitRateEstimate) { void bandwidthReport(double bitRateEstimate) { WritableMap event = Arguments.createMap(); WritableMap event = Arguments.createMap(); event.putDouble(EVENT_PROP_BITRATE_ESTIMATE, bitRateEstimate / 1024D); event.putDouble(EVENT_PROP_BITRATE, bitRate); receiveEvent(EVENT_BANDWIDTH, event); receiveEvent(EVENT_BANDWIDTH, event); } } Loading