Bug #2130

ST can't play some icecast playlists (All platforms)

Added by Leonid Protasov almost 7 years ago. Updated almost 7 years ago.

Status:FixedStart date:05/03/2014
Priority:HighDue date:
Assignee:Andreas Smas% Done:

100%

Category:Audio
Target version:4.6
Found in version:4.5.379 Platform:Linux

Description

http://www.hamsi.fm/online/Hamsi_Fm.pls

Plays ok in other players...


Related issues

Related to Bug #2123: HLS playing problems (regression) (All platforms) Fixed 05/01/2014

Associated revisions

Revision fb552772
Added by Andreas Smas almost 7 years ago

http: Check if we are reading outsize known filesize before reconnect attempt

This fixes so we don't fail to detect EOF for connection: close and
when client does not want us to reconnect

Fixes #2130

Change included in version 4.5.385

History

#1 Updated by Leonid Protasov almost 7 years ago

  • Priority changed from Normal to High

That's after HTTP client optimization :( Checked on ST 4.5.302 - works flawless...

#2 Updated by Leonid Protasov almost 7 years ago

Server is: Apache. Also noted this behaviour on Flashcom with HLS (Megogo). Looks like HTTP client needs tuning for compatibility issues :(

#3 Updated by Leonid Protasov almost 7 years ago

  • Related to Bug #2123: HLS playing problems (regression) (All platforms) added

#4 Updated by Leonid Protasov almost 7 years ago

Looks like adding following code to the icecast.c in open_stream function does the trick:

    if(ct != NULL && !strcasecmp(ct, "application/pls+xml")) {
      is_pls = 1;
      goto load;
    }   

#5 Updated by Andreas Smas almost 7 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF