Unverified Commit c40ec567 authored by Wolle's avatar Wolle Committed by GitHub

Hostaddress is empty' trying to play BBC .m3u8 stream #645

parent 832791c3
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* *
* Created on: Oct 26.2018 * Created on: Oct 26.2018
* *
* Version 3.0.8b * Version 3.0.8c
* Updated on: Jan 02.2024 * Updated on: Jan 02.2024
* Author: Wolle (schreibfaul1) * Author: Wolle (schreibfaul1)
* *
...@@ -2231,7 +2231,8 @@ void Audio::loop() { ...@@ -2231,7 +2231,8 @@ void Audio::loop() {
setDatamode(HTTP_RESPONSE_HEADER); setDatamode(HTTP_RESPONSE_HEADER);
} }
else { // host == NULL means connect to m3u8 URL else { // host == NULL means connect to m3u8 URL
httpPrint(m_lastM3U8host); if(host) httpPrint(m_lastM3U8host);
else httpPrint(m_lastHost); // if url has no first redirection
setDatamode(HTTP_RESPONSE_HEADER); // we have a new playlist now setDatamode(HTTP_RESPONSE_HEADER); // we have a new playlist now
} }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* *
* Created on: Oct 28,2018 * Created on: Oct 28,2018
* *
* Version 3.0.8b * Version 3.0.8c
* Updated on: Jan 02.2024 * Updated on: Jan 02.2024
* Author: Wolle (schreibfaul1) * Author: Wolle (schreibfaul1)
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment