Commit Graph

28 Commits

Author SHA1 Message Date
arpi d483a015a2 tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-22 02:33:28 +00:00
bertrand afe4a4e96f Don't try to reread from the socket if the server says EOF
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7311 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-07 20:38:44 +00:00
bertrand 97afbee906 - If fatal error while trying to connect to a WM server, skip other proto.
- Fix that makes mplayer works with corona(WMS9) servers.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7253 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-03 01:32:13 +00:00
bertrand b5a178733e Fixed the asf http authentication.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6678 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-09 08:26:34 +00:00
atmos4 fbab7bb6b4 Add missing authentication for asf streaming.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6671 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-08 04:11:23 +00:00
bertrand 7b2e403283 Changed the way that the streams are requested.
Now the streams are requested depending on the bandwidth option.
If the option is not set, the higher bitrate stream is chose.
Moved the asf_http_streaming_ctrl_t struct to asf.h


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6644 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-05 02:46:03 +00:00
bertrand 17a2a90da8 Enable mmst support. MMST will be tried if the HTTP support failed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6095 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-14 22:33:30 +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 956439594b Added big endian handling for the ASF_chunk_t struct.
(reworked of the patch from Guillaume Morin <guillaume@morinfr.org>)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5618 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-14 05:51:32 +00:00
bertrand e0d2510337 Readded the content-type checking, in case of the no HTTP body are
sent we can still try with the content-type.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4335 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-24 09:29:52 +00:00
nexus 53ddbc7ccc 10l ...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4316 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-23 14:11:19 +00:00
bertrand d00d8ff8bf Added a turn around for badly configured web servers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4313 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-23 08:50:30 +00:00
bertrand b1bee536f0 Changed the asf_file_header_t struct to read all the fields properly.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4289 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-20 21:38:11 +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 180ae10466 Changed the return value of the start function. Doesn't return the fd
anymore. Just -1 for fail and 0 for OK.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4074 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-10 01:42:31 +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 a1e6e85834 As nobody fixed this yet:
"asf_streaming.c: In function asf_http_request':
 asf_streaming.c:414: warning: too few arguments for format
 asf_streaming.c:431: warning: too few arguments for format"


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3728 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-25 11:40:10 +00:00
bertrand 64f97cd0a1 Fixed the multiple ASF header stream chunk.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3552 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-17 01:58:24 +00:00
bertrand 4217f14cf7 Applied the patch from Alban Bedel <albeu@free.fr>.
Changed the header parser to handle the ASF header in
multiple network chunk.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3534 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-16 21:23:36 +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 da9b539467 Applied the patch from Alban Bedel <albeu@free.fr> to
make the asf network streaming work for some links.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3476 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-12 22:35:51 +00:00
bertrand 6ca596f928 Added a switch for the ASF streaming protocol. It will first try ASF/UDP,
then ASF/TCP and then ASF/HTTP.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3455 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-11 01:07:40 +00:00
bertrand 55d2e87d8f Removed my buffer hack to use cache2.
Removed the network thread.
Changed the network layer to use cache2.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3043 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-20 22:20:20 +00:00
arpi 9ee7852bb7 config.h cleanup, few things added to steram/demuxer headers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2556 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-30 17:03:11 +00:00
bertrand 1e7d31cc88 Added ASF http server streaming (Not mms streaming).
Fixed one bug in the ASF mms streaming.
Fixed a typo in http.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2490 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-26 18:26:06 +00:00
arpi 881e5d0783 libdemuxer...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2311 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-20 18:49:08 +00:00