-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into pip-enter-leave-programmatically
- Loading branch information
Showing
7 changed files
with
180 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/** | ||
* Configures buffer target levels for different MediaTypes. | ||
*/ | ||
export interface BufferMediaTypeConfig { | ||
/** | ||
* The amount of data in seconds the player tries to buffer in advance. | ||
* | ||
* iOS only: If set to `0`, the player will choose an appropriate forward buffer duration suitable | ||
* for most use-cases. | ||
* | ||
* Default value is `0` on iOS, `50` on Android | ||
*/ | ||
forwardDuration?: number; | ||
} | ||
|
||
/** | ||
* Player buffer config object to configure buffering behavior. | ||
*/ | ||
export interface BufferConfig { | ||
/** | ||
* Configures various settings for the audio and video buffer. | ||
*/ | ||
audioAndVideo?: BufferMediaTypeConfig; | ||
/** | ||
* Amount of seconds the player buffers before playback starts again after a stall. This value is | ||
* restricted to the maximum value of the buffer minus 0.5 seconds. | ||
* | ||
* Default is `5` seconds. | ||
* | ||
* @platform Android | ||
*/ | ||
restartThreshold?: number; | ||
/** | ||
* Amount of seconds the player buffers before playback starts. This value is restricted to the | ||
* maximum value of the buffer minus 0.5 seconds. | ||
* | ||
* Default is `2.5` seconds. | ||
* | ||
* @platform Android | ||
*/ | ||
startupThreshold?: number; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters