Giter Site home page Giter Site logo

On https chunked stream, stream->available() returns 31 or less and hangs , but stream unblocks if we read these bytes about esp32_vs1053_stream HOT 4 CLOSED

vladkozlov69 avatar vladkozlov69 commented on June 18, 2024
On https chunked stream, stream->available() returns 31 or less and hangs , but stream unblocks if we read these bytes

from esp32_vs1053_stream.

Comments (4)

CelliesProjects avatar CelliesProjects commented on June 18, 2024

@vladkozlov69 Thanks for reporting this.
Could you post some of those urls?

from esp32_vs1053_stream.

vladkozlov69 avatar vladkozlov69 commented on June 18, 2024

@CelliesProjects
"https://eu3.fastcast4u.com/proxy/twr0"
"https://stream.purewave.ru:8443/live128.mp3"
"https://nlradio.stream:8000/nlradio-low.aac"

I use ESP32-WROOM so no ringbuffer there. Maybe with ringbuffer it will work without this fix, but on ESP32-WROOM it plays 500-700 milliseconds and stops because of "underbuffered" stream. stream->available() returns less than 32 until I forcibly read all buffer contents.

from esp32_vs1053_stream.

CelliesProjects avatar CelliesProjects commented on June 18, 2024

@vladkozlov69 The issue should be solved with the latest commit.

I tested the three urls above and they run fine.

Let me know if #32 can be merged.

from esp32_vs1053_stream.

vladkozlov69 avatar vladkozlov69 commented on June 18, 2024

Hi @CelliesProjects I tested it and it works fine now. Thanks a lot! It can be merged now.

from esp32_vs1053_stream.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.