amazon-ivs-player
Advanced tools
Comparing version 1.25.0 to 1.26.0
@@ -138,2 +138,3 @@ | ||
getPosition(): number; | ||
getSyncTime(): number; | ||
getQualities(): Quality[]; | ||
@@ -429,2 +430,15 @@ getQuality(): Quality; | ||
getPosition(): number; | ||
/** | ||
* Gets the synchronized time, in milliseconds | ||
* | ||
* The synchronized time is a UTC time that represents a specific time during playback, | ||
* at a granularity of 1 second. It can be used to sync external events and state to | ||
* a specific moment during playback. | ||
* | ||
* Note an event is dispatched when this value changes: | ||
* {@link PlayerEventType} events. | ||
* | ||
* @returns The current synchronized time of the player, in milliseconds. | ||
*/ | ||
getSyncTime(): number; | ||
@@ -747,2 +761,9 @@ | ||
/** | ||
* Indicates that the player syncTime changed. | ||
* @updated {@link Player.getSyncTime} | ||
* @param payload - `number` The updated syncTime of the player, in milliseconds. | ||
* @event | ||
*/ | ||
SYNC_TIME_UPDATE = "PlayerSyncTimeUpdate", | ||
/** | ||
* Indicates that the buffer size changed. This can be caused by an addition to or removal from the buffer. | ||
@@ -813,2 +834,3 @@ * @updated {@link Player.getPosition} {@link Player.getBufferDuration} {@link Player.getBuffered} | ||
[PlayerEventType.TIME_UPDATE]: number; | ||
[PlayerEventType.SYNC_TIME_UPDATE]: number; | ||
[PlayerEventType.VOLUME_CHANGED]: number; | ||
@@ -815,0 +837,0 @@ |
{ | ||
"name": "amazon-ivs-player", | ||
"version": "1.25.0", | ||
"version": "1.26.0", | ||
"description": "Amazon IVS Player Web SDK", | ||
@@ -5,0 +5,0 @@ "homepage": "https://aws.amazon.com/ivs/", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3162920
916
7