[MPlayer-dev-eng] support https: URLs
Nico Sabbi
nicola_sabbi at fastwebnet.it
Sun Feb 11 12:42:37 CET 2007
Mark Glines wrote:
> Hi,
>
> I spent some time today, and hacked together a patch for mplayer to
> support https:// URLs. It works for me, I can stream an mp3 file from a
> web server over ssl. Please consider applying it.
>
> Since the http-streaming code in mplayer wants to manipulate file
> descriptors directly, it was not easy to convert mplayer to use the
> libssl calls (SSL_read(), SSL_write() and so forth) instead of the
> native send/recv calls. So instead, I just forked off a helper process
> to shovel data between libssl and mplayer. It communicates with mplayer
> using a socket (created with socketpair), so the normal API still works
> on the mplayer side of things.
>
> Mark
>
> + pid = fork();
rejected, as I already rejected something similat to access something
like scp:// streams
Mplayer _CAN_NOT_ fork
--
"Without a frontend, mplayer is useless" - someone in mplayer-users
More information about the MPlayer-dev-eng
mailing list