tcking / GiraffePlayer

android video player base on ijkplayer
Apache License 2.0
682 stars 193 forks source link

How to increment the size of Preload Buffer #80

Open TuxRneR opened 7 years ago

TuxRneR commented 7 years ago

Hello, some way to get more preload buffer, when the video have a long duration?. Thank You!

tcking commented 7 years ago

call ijkMediaPlayer.setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER, "max-buffer-size", your size in bytes) in IjkVideoView.openVideo(),other options can refer to ff_ffplay_options.h