-
Notifications
You must be signed in to change notification settings - Fork 31
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
Buffer limit #83
Comments
Hi @arthurgeron-work, have you tried the initialBufferDuration prop? https://github.com/aws/amazon-ivs-react-native-player/blob/main/docs/ivs-player-reference.md#initialbufferduration-optional You can also limit the quality of the non-focused players: https://github.com/aws/amazon-ivs-react-native-player/blob/main/docs/ivs-player-reference.md#automaxquality-optional |
@maxstoller could you please elaborate a little more about initialBufferDuration? I really couldn't measure anything when I played with values between 1-5. Should I set a value of 0 for non-focused players? |
Hi @hirbod, The Lower Value: Playback will start faster, but the viewer may experience more rebuffering due to the small buffer.
You may not notice a difference on a fast connection.
The minimum is 100ms. Can you share more info about your use case and goal? |
@maxstoller thanks for the explanation. I created a TikTok/Instagram like reel. I have 3 videos pre-rendered (FlashList) and I want to prevent consuming too much bandwidth before the video is visible. I wasn't really sure what to pick. It's important for me that playback starts super fast without having to pre buffer too much. |
I'm using this lib on react-native, it renders a feed (Youtube Shorts like) and I'd like to limite the bandwidth non-focused videos use, currently that's impossible because I can't set/limit the buffer size on the current params.
It'd be great to have this feature.
The text was updated successfully, but these errors were encountered: