Commit Graph

38 Commits

Author SHA1 Message Date
rtognimp f285c25435 Fix for some audio asf streams like http://ms.bandeapart.fm/bap/albums/973/6573_h_07-Patience.asf
Patch by adland


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12225 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-17 16:47:52 +00:00
mosu a2be6012e5 Accept video/x-ms-asf as the MIME type for ASF as well. Patch by Dominique Andre Gunia <Dominique.Gunia@schunter.etc.tu-bs.de>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11350 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-01 14:10:32 +00:00
rfelker aee0faef0a simple fix for buffer overflow (remotely exploitable). feel free to
commit a better fix if you don't like it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10940 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-25 00:36:04 +00:00
albeu 755e127c26 ftp support. The change on connect2Server is needed bcs we need 2
different level of verbosity for control and data connections.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10626 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-15 19:13:23 +00:00
diego 6ac4f22567 Networking support under MinGW.
Patch by flo/yepyep <flodt8@yahoo.de>.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10282 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-11 16:48:09 +00:00
alex 85cbbc3530 Using recv/send instead read/write for proper MinGW support (it's a 4.2BSD standard). Patch by FloDt <flodt8@yahoo.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10207 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-29 19:36:58 +00:00
albeu c5c742302c Use new config headers
Remove STREAMTYPE_PLAYLIST.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9750 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-30 17:10:36 +00:00
bertrand 3ee5e0438f 10l bug...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8824 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-06 16:42:20 +00:00
bertrand 4cc8c41392 - Now mmst will use the MMS/TCP implementation first, instead of trying
MMS/HTTP first.
- Fixed a bug when reporting ASF redirector for a text/html payload, was
  generating a seg fault in playtree.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8719 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-02 15:38:26 +00:00
bertrand 4dc9465cb8 GCC warning fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7954 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-29 09:18:53 +00:00
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