I have another problem with files on web servers.
Many web servers support ranges, i.e. the client can select whether it
wants to resume download from a given location. I use this feature to
support seeking on HTTP files that are not yet downloaded (like many web
video players do).
But MPG123 tries to examine the stream size and the ID3V1 tag at
mpg123_open_handle processing. This necessarily causes the the HTTP
stream to be opened 4 times (OPEN, SEEK_END, SEEK_END-128 and REWIND).
And this can cause significant delays, especially if working with a
proxy, authentication and/or a slow internet connection.
As far as I can see there is no way to prevent mpg123 from doing this
job in get_fileinfo for some streams. I only can set the stream size
/after/ the seeks have been done.
Did I miss something?
Get latest updates about Open Source Projects, Conferences and News.