~motumedia/mplayer2/master

« back to all changes in this revision

Viewing changes to stream/stream.c

  • Committer: Uoti Urpala
  • Author(s): wm4
  • Date: 2013-01-15 22:29:10 UTC
  • Revision ID: git-v1:a16530e63730b4887d8f647c10e4a45d446ee133
stream_netstream: Remove netstream support

This allowed to move the input stream layer across the network,
allowing the user to play anything that mplayer could play remotely.
For example, playing a DVD related on a remote server (say, with the
host name "remotehost1") could be done by starting the netstream
server (from TOOLS/netstream.c) on that remote server, and then
running:

    mplayer mpst://remotehost1/dvd://

This would open the DVD on the remote host, and transfer the raw DVD
sector reads over network. It works the same for other protocols, and
all accesses to the stream layer are marshaled over network. It's
comparable to the way the cache layer (--cache) works.

It has questionable use and most likely was barely used at all.
There's lots of potential for breakage, because it doesn't translate
the stream CTRLs to network packets. Just get rid of it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
 
65
65
extern const stream_info_t stream_info_vcd;
66
66
extern const stream_info_t stream_info_cdda;
67
 
extern const stream_info_t stream_info_netstream;
68
67
extern const stream_info_t stream_info_pnm;
69
68
extern const stream_info_t stream_info_asf;
70
69
extern const stream_info_t stream_info_rtp;
98
97
#endif
99
98
  &stream_info_ffmpeg,  // use for rstp:// before http fallback
100
99
#ifdef CONFIG_NETWORKING
101
 
  &stream_info_netstream,
102
100
  &stream_info_http1,
103
101
  &stream_info_asf,
104
102
  &stream_info_pnm,