file-IO extensions (SDL_RWops)

I am currently working on a media player application/framework using SDL
as the base. I would like to have support for playing files over http,
ftp, rtp, etc., and the most obvious way to do this is using SDL_RWops.
However, I would like to have protocol modules be loaded from dynamic
libraries, and there is no easy way to do this using only SDL.
Therefore, I am thinking that making a libtransport or something like
that would be the best way to go about it.

The reason I’m posting this here is because libtransport could be quite
useful outside of this one application, and I wanted to get feedback
from Sam or whomever as to whether this is a good idea as is, or if
there is a better way support could be integrated into existing
SDL_RWops code.

~jeffrey :j
@Jeffrey_Bridge

I am currently working on a media player application/framework using SDL
as the base. I would like to have support for playing files over http,
ftp, rtp, etc., and the most obvious way to do this is using SDL_RWops.
However, I would like to have protocol modules be loaded from dynamic
libraries, and there is no easy way to do this using only SDL.
Therefore, I am thinking that making a libtransport or something like
that would be the best way to go about it.

The reason I’m posting this here is because libtransport could be quite
useful outside of this one application, and I wanted to get feedback
from Sam or whomever as to whether this is a good idea as is, or if
there is a better way support could be integrated into existing
SDL_RWops code.

It probably makes sense to have this a separate library. You could
write an SDL_RWops container that uses functions from this library if
you wanted to have seamless SDL support.

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software