@granite-js/video 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -308,7 +308,7 @@ class GraniteVideoViewManager(
|
|
|
308
308
|
.put("topVideoPictureInPictureStatusChanged", MapBuilder.of("registrationName", "onVideoPictureInPictureStatusChanged"))
|
|
309
309
|
.put("topVideoControlsVisibilityChange", MapBuilder.of("registrationName", "onVideoControlsVisibilityChange"))
|
|
310
310
|
.put("topVideoAspectRatio", MapBuilder.of("registrationName", "onVideoAspectRatio"))
|
|
311
|
-
.put("
|
|
311
|
+
.put("topTransferEnd", MapBuilder.of("registrationName", "onTransferEnd"))
|
|
312
312
|
.build()
|
|
313
313
|
}
|
|
314
314
|
|
|
@@ -265,7 +265,7 @@ class GraniteVideoOnTransferEndEvent(
|
|
|
265
265
|
private val uri: String,
|
|
266
266
|
private val bytesTransferred: Long
|
|
267
267
|
) : Event<GraniteVideoOnTransferEndEvent>(surfaceId, viewId) {
|
|
268
|
-
override fun getEventName(): String = "
|
|
268
|
+
override fun getEventName(): String = "topTransferEnd"
|
|
269
269
|
override fun getEventData(): WritableMap = Arguments.createMap().apply {
|
|
270
270
|
putString("uri", uri)
|
|
271
271
|
putLong("bytesTransferred", bytesTransferred)
|