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

Stations with redirect will not work when SPIRAM enabled #213

Open
h1aji opened this issue Feb 27, 2022 · 7 comments
Open

Stations with redirect will not work when SPIRAM enabled #213

h1aji opened this issue Feb 27, 2022 · 7 comments

Comments

@h1aji
Copy link

h1aji commented Feb 27, 2022

Hi Ed,
I noticed that if SPIRAM enabled then stations with redirect wont work. Here is output

D: New preset/file requested (1/0) from n0d.radiojar.com/hcrb063nn3quv
D: Connect to new host n0d.radiojar.com/hcrb063nn3quv
D: Connect to n0d.radiojar.com on port 80, extension /hcrb063nn3quv
D: Connected to server
D: Switch to HEADER
D: Access-Control-Allow-Origin: *
D: No data input
D: No data input
D: Trying other station/file...
D: STOP requested
D: New preset/file requested (8/0) from stream.live.vc.bbcmedia.co.uk/bbc_world_service

Although ringbuf works perfectly fine

@Edzelf
Copy link
Owner

Edzelf commented Feb 27, 2022

Yes, I know. That is because there is a delay (a number of input bytes). The redirect info is less than that number and is therefore not handled.

@Edzelf
Copy link
Owner

Edzelf commented Feb 27, 2022

I have no way to test it.

@h1aji
Copy link
Author

h1aji commented Feb 27, 2022

I tested it and it works fine

@Edzelf
Copy link
Owner

Edzelf commented Feb 27, 2022

so, what is the problem?

@h1aji
Copy link
Author

h1aji commented Feb 27, 2022

No issue with the code itself. Just redirect is not working

@h1aji
Copy link
Author

h1aji commented Mar 6, 2022

Hi @Edzelf
I was trying to modify

if ( datamode == HEADER ) // Handle next byte of MP3 header

with no success.

Would you be able to advise how it can be done, maybe you can give me a clue? Thanks

@h1aji
Copy link
Author

h1aji commented Jun 5, 2024

Hi @Edzelf
Is there any chance to make redirect working while SPIRAM option is enabled?
Thanks

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

No branches or pull requests

2 participants