Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Video Player ignores the buffering config. #3773

Closed
Mohamed-M2M opened this issue May 15, 2024 · 4 comments
Closed

[BUG]: Video Player ignores the buffering config. #3773

Mohamed-M2M opened this issue May 15, 2024 · 4 comments
Labels

Comments

@Mohamed-M2M
Copy link

Mohamed-M2M commented May 15, 2024

Version

5.2.1

What platforms are you having the problem on?

iOS, Android

Architecture

Old architecture

What happened?

The video player ignores the buffering configuration and keeps loading the video far beyond the added limits. It keeps loading too much video at once.

<Video
automaticallyWaitsToMinimizeStalling={false}
preferredForwardBufferDuration={3}
posterResizeMode={resizeMode}
source={videoSource}
fullscreenAutorotate={false}
onProgress={handleProgress}
ignoreSilentSwitch='ignore'
onLoadStart={onLoadStart}
playInBackground={false}
poster={thumbnail}
resizeMode={resizeMode}
style={styles.video}
autoPlay
paused={forcePause}
preload={isVisible}
muted={forcePause}
onError={onError}
onLoad={onLoad}
useTextureView
ref={videoRef}
bufferConfig={{
minBufferMs: 1500,
maxBufferMs: 3000,
bufferForPlaybackMs: 1500,
bufferForPlaybackAfterRebufferMs: 1500
}}
repeat
maxBitRate={1000000}
/>

Reproduction

repository link

Reproduction

Step to reproduce this bug are:

@freeboub
Copy link
Collaborator

Is it reproduced on 6.0.0 ?

@Mohamed-M2M
Copy link
Author

Is it reproduced on 6.0.0 ?

nope, Not yet reproduced on 6.0.0.

@abbasmoosavi
Copy link

@Mohamed-M2M Buffer config only for android

@freeboub
Copy link
Collaborator

There is another feature request for ios.
Android works fine on 6.0.0, I think we can close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants