Commit Graph

54 Commits

Author SHA1 Message Date
bertrand fbcc3a2466 Display the IP address that has been resolved.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7514 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-27 19:20:20 +00:00
bertrand fda754a0bb Added a new ASX playlist mime-type
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7394 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-13 22:39:48 +00:00
bertrand 8925019760 Return -2 for fatal error while connecting to a server.
Fatal are unable to resolve name, connection timeout...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7252 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-03 01:29:44 +00:00
arpi 4fe4fbd1d0 typo fixes by Ross Finlayson <finlayson@live.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7008 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-14 21:55:48 +00:00
arpi fa788640e2 applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
see <http://www.live.com/mplayer/> for details.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6911 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-05 00:39:07 +00:00
bertrand c98bfbf5f6 Retreive the bandwidth option from the command line.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6643 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-05 02:37:56 +00:00
bertrand c424df896c Changed the -pass option to -passwd to avoid clash with mencoder option.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6571 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-25 23:56:33 +00:00
bertrand f7f0dc084c Read username/password from the -user -pass command line options.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6559 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-25 08:04:52 +00:00
bertrand dd5ffb35bd Moved authentication code into its own function.
Disabled the user/pass interaction.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6556 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-24 20:12:18 +00:00
bertrand 1e3499e154 Improved the authentication interaction. Still need to replace scanf.
After 4 failed authentication, mplayer quits.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6517 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-23 09:39:09 +00:00
bertrand 9f6e8b1509 Added HTTP basic authentication support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6516 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-23 09:17:52 +00:00
bertrand 0b2ecf14e1 Here I go again, another fix for the timeout.
Note that we shouldn't rely on the value of the timeval struct
after select returns.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6478 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-21 07:06:46 +00:00
bertrand b40da6c55b Increased the timeout value on connection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6477 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-21 06:28:24 +00:00
bertrand cb69a70410 Added mplayer version in the user-agent field.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6467 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-20 08:50:40 +00:00
bertrand b2fa5e9868 Added some missing carriage returns.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6455 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-17 08:16:47 +00:00
alex 441a1048ff added some new types
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6033 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-09 14:52:23 +00:00
bertrand eebae88d07 Added ICY error 400: Server full.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5917 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-30 17:55:06 +00:00
albeu f76db05d53 Convert printf to mp_msg in the network layer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5916 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-30 16:58:54 +00:00
bertrand bd65848f56 Added ICY error 401: Service unavailable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5893 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-28 22:37:35 +00:00
atmos4 26c34c0862 Add some info prints to ICY code and handle return codes ICY specific, also avoid printing
content length in http if no Content-Length field in header.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5869 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-27 20:42:02 +00:00
albeu 89345ecadf ICY found (mp3 stream) != sucess.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5868 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-27 19:15:18 +00:00
albeu 9ada242c51 Make blocking call in libmpdemux interuptable (only with new input,
awnser to quit, pt_next, pt_up_step and alt_src_step)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4826 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-23 21:22:55 +00:00
bertrand 469f2d1b7e Handle HTTP OK response that doesn't contain a mime-type.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4818 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-23 07:40:25 +00:00
albeu c39148ec8a Finnaly figured out this little long living bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4803 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-22 14:05:41 +00:00
albeu c9fdd6b630 Support for retriving mp3 playlist from the network
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4784 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-21 13:14:52 +00:00
bertrand 63d13413b7 Changed the default prefill cache value for raw network input stream.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4731 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-17 00:05:08 +00:00
alex d6d9502386 fixed MP3 ICY detection, return detected file format for open_stream
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4730 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-16 21:48:59 +00:00
bertrand e1d2cd594d Cleaned up the way proxies checking was done.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4653 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-11 05:16:09 +00:00
arpi 403b791ab9 ehh. i forgot to commit this patch: fix RTP streaming. patch by Dave Chapman <dave@dchapman.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4554 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-06 20:30:34 +00:00
bertrand 63ddd5ab74 Modified the cache option value setting/reading, so we can report
in any case the cache size value used.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4303 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-22 06:12:18 +00:00
albeu f45bfe505d Add a check to not set the cache size if the user alredy set it.
Use m_config_set_int in place of m_config_set_option.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4294 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-21 10:47:47 +00:00
bertrand 34da4c1e7f Set the cache value if the network layer was able to compute it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4290 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-20 21:39:56 +00:00
bertrand 46ae846897 Moved network related code from open.c to network.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4252 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 09:04:02 +00:00
alex 5ac70db841 added .rm (real) and .y4m (yuv4mpeg)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4237 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-18 11:05:29 +00:00
bertrand 8629e9e819 Added support for the environment variable http_proxy.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4147 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-14 06:44:30 +00:00
bertrand 32d1e1014f Changed the proxy protocol to http_proxy.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4146 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-14 01:12:44 +00:00
bertrand 3b008ce8cf Added proxy support.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4122 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-12 21:08:12 +00:00
bertrand e2e270a848 Applied RTP patch from Brian Kuschak <bkuschak@yahoo.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4073 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-10 01:37:53 +00:00
bertrand 61b0de3564 Kept the HTTP connection open after autodetect, so
we don't need to reopen and request a second time.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4047 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-08 07:31:29 +00:00
arpi bf1a641ef4 various small streaming fixes by Alban Bedel <albeu@free.fr>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4042 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-08 01:13:22 +00:00
pl cc4d2ccbd1 possible uninit pointer free()'d
possible bad pointer


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3733 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-25 16:35:57 +00:00
arpi 7bbe389f7e RTP support patch by Brian Kuschak <bkuschak@yahoo.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3687 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-23 22:09:02 +00:00
bertrand adb50da1d7 If the demuxer type is unknown it will start an http streaming.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3605 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-19 09:04:03 +00:00
arpi fbd38db24f nop_steraming fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3600 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-19 01:59:25 +00:00
bertrand 2f6396e310 Added the Host field in the HTTP request.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3586 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-18 18:45:00 +00:00
bertrand 3ea29912ef Applied the patch from Alban Bedel <albeu@free.fr>.
He added some errors checking on network code.
Added a check on the port number parsing in the url.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3495 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-14 20:45:30 +00:00
bertrand dbfbbbae3d Added a data field in the streaming_ctrl_t struct, to store any
kind of data that the protocol need to keep track of.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3454 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-11 01:06:08 +00:00
bertrand 30c0c10a2d Moved the network related include files from network.c to network.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3425 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-10 01:34:08 +00:00
bertrand 5e4118bef3 Checked the return values on read.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3366 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-07 07:17:05 +00:00
alex e19dbe0bcf added some new types
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3073 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-22 17:14:26 +00:00