kvdroid / Kvdroid

Some Pyjnius tools for Kivy-Android developments.
MIT License
94 stars 24 forks source link

How to add buffer on player.stream ? #42

Closed isaffathir closed 10 months ago

isaffathir commented 1 year ago

Im trying to make online music that stream music format .mp3 from url. but player.stream() doesnt play music if the music not fully downloaded its mean on low speed connection the music would not played

how to add buffer so user can stream music even on low speed connection?

kengoon commented 10 months ago

@isaffathir playyer.strem works seamlessly, you can verify by testing this https://github.com/kvdroid/KvDroidAssets/blob/main/demo_apk/kvdroid-0.1-armeabi-v7a_arm64-v8a-debug.apk. Documentation of the proper use case is on the way