summaryrefslogtreecommitdiffstats
path: root/libmpdemux/network.c
Commit message (Collapse)AuthorAgeFilesLines
* Do not force real demuxer on x-pn-realaudio mimetypertognimp2005-04-171-1/+1
| | | | | | | | | Real and realaudio share the same mimetype, forcing real demuxer prevent realaudio files from being played. Fixes http://www.bbc.co.uk/romanian/rom.ra git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15210 b3059339-0415-0410-9bf9-f77b7e298cf2
* added support for raw udp:// streamingnicodvb2005-02-171-3/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14721 b3059339-0415-0410-9bf9-f77b7e298cf2
* bzero is deprecated patch by Gianluigi Tiesi <mplayer at netfarm.it>faust32005-02-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14643 b3059339-0415-0410-9bf9-f77b7e298cf2
* Try http if pnm connection failsrtognimp2004-12-281-3/+7
| | | | | | | Fixes pnm://www.darrelbowen.com/videos/commercials256.rm git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14266 b3059339-0415-0410-9bf9-f77b7e298cf2
* Try port 7070 if 554 fails for realrtsp streamsrtognimp2004-11-221-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14018 b3059339-0415-0410-9bf9-f77b7e298cf2
* forced autodetection of file format when content-type is video-x-mpeg to ↵nicodvb2004-11-211-3/+3
| | | | | | give mpeg-ts a chance git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14003 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix segfault caused by changing a pointer that will be freed laterrtognimp2004-07-251-5/+7
| | | | | | | Patch by Martin Simmons ( vyslnqaaxytp at spammotel dot com ) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12895 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make rtp:// cohexist with LIVE.COMrtognimp2004-07-111-14/+4
| | | | | | | Patch by Nico Sabbi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12800 b3059339-0415-0410-9bf9-f77b7e298cf2
* avoid double slashes, patch by Yoshinori Satoalex2004-06-261-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12680 b3059339-0415-0410-9bf9-f77b7e298cf2
* RFC compliance patch by Eric Lammerts <eric@lammerts.org>alex2004-06-251-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12639 b3059339-0415-0410-9bf9-f77b7e298cf2
* calling bind with multicast addresses doesn't work on windows, patch by ↵faust32004-06-181-3/+21
| | | | | | Martin Decky <deckm1am at ss1000.ms.mff.cuni.cz> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12611 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add detection of nsa streamed by aol ultravox serverrtognimp2004-05-141-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12478 b3059339-0415-0410-9bf9-f77b7e298cf2
* Try to get an asf file with normal http protocol if http streamingrtognimp2004-05-011-0/+12
| | | | | | | fail. Patch by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12391 b3059339-0415-0410-9bf9-f77b7e298cf2
* Should be Connection: close, and not closed.bertrand2004-04-291-1/+1
| | | | | | | | It has been there since v1.3... Thanks to Jonas Jensen <jbj@knef.dk> to noticed it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12353 b3059339-0415-0410-9bf9-f77b7e298cf2
* Suggest -playlist if asf_stream_start failsrtognimp2004-04-251-0/+1
| | | | | | | Patch by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12275 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle url redirectionrtognimp2004-04-241-2/+30
| | | | | | | Patch by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12269 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l: don't run strcmp if arg is NULLrtognimp2004-04-191-1/+1
| | | | | | | Pathc by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12237 b3059339-0415-0410-9bf9-f77b7e298cf2
* Respect -playlist for asx streamsrtognimp2004-04-171-0/+6
| | | | | | | Patch by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12224 b3059339-0415-0410-9bf9-f77b7e298cf2
* Try Real rtsp, then live.com on every rtsp stream (remove extensionrtognimp2004-04-141-19/+14
| | | | | | | based selection) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12207 b3059339-0415-0410-9bf9-f77b7e298cf2
* nsv (Nullsoft streaming video) demuxerrtognimp2004-04-121-3/+12
| | | | | | | Patch by Reza Jelveh <reza (dot) jelveh (at) tu-harburg (dot) de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12176 b3059339-0415-0410-9bf9-f77b7e298cf2
* Seek in HTTP streams and stdin seek fixesrtognimp2004-03-131-1/+5
| | | | | | | Patch by eviv bulgroz <ebulgroz(at)yahoo(dot)com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12019 b3059339-0415-0410-9bf9-f77b7e298cf2
* enable seeking in http streamsattila2004-02-171-6/+65
| | | | | | | patch by Valentine Zaretsky <valik+mplayerdev@email.dp.ua> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11966 b3059339-0415-0410-9bf9-f77b7e298cf2
* Send HTTP Cookies (reading from mozilla/netscape files) support by Dave ↵alex2003-12-081-2/+8
| | | | | | Lambley <mplayer-dev-eng@dlambley.freeserve.co.uk>. Disabled by default. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11584 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add detection of Real rtsp when there are queries in url.rtognimp2003-11-231-21/+7
| | | | | | | Patch by rgselk <rgselknospam(at)yahoo(dot)com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11506 b3059339-0415-0410-9bf9-f77b7e298cf2
* User settable http user-agent. Patch by Per Wigrenalex2003-10-221-4/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11229 b3059339-0415-0410-9bf9-f77b7e298cf2
* disable a silly errormessagealex2003-10-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11228 b3059339-0415-0410-9bf9-f77b7e298cf2
* ftp support. The change on connect2Server is needed bcs we need 2albeu2003-08-151-14/+14
| | | | | | | different level of verbosity for control and data connections. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10626 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch from Andreas Hess <jaska@gmx.net>:bertrand2003-06-211-22/+17
| | | | | | | | rtsp://<host>/<file>:<port> is not a valid URL, but rtsp://<host>:<port>/<file> is. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10318 b3059339-0415-0410-9bf9-f77b7e298cf2
* Networking support under MinGW.diego2003-06-111-9/+53
| | | | | | | Patch by flo/yepyep <flodt8@yahoo.de>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10282 b3059339-0415-0410-9bf9-f77b7e298cf2
* Using recv/send instead read/write for proper MinGW support (it's a 4.2BSD ↵alex2003-05-291-3/+3
| | | | | | standard). Patch by FloDt <flodt8@yahoo.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10207 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix redirection in real rtsp connections.rtognimp2003-05-281-2/+20
| | | | | | | Patch by yepyep (sdpplin.c part not committed) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10200 b3059339-0415-0410-9bf9-f77b7e298cf2
* Recognize ra and rm extensions even with query strings,rtognimp2003-05-231-4/+15
| | | | | | | | eg: rstp://www.addr.com/file.rm?var=123 Based on an idea by Felix Buenemann git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10172 b3059339-0415-0410-9bf9-f77b7e298cf2
* We now check for "sip:" URLs - which are handled using the same LIVE.COMrsf2003-05-031-1/+10
| | | | | | | code as "rtsp://" URLs. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10056 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some .ra files are playable, noted by Ross Finlaysonrtognimp2003-04-181-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9933 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed the code that checks for a ".rm" URL extension to also make surersf2003-04-181-1/+1
| | | | | | | that the extension is not NULL. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9924 b3059339-0415-0410-9bf9-f77b7e298cf2
* Real rstp:// streaming support, ported from xinertognimp2003-04-171-0/+63
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9923 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use inet_ntoa where inet_ntop is not available.bertrand2003-04-101-1/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9901 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed some wrappers, now the configure checks for inet_pton. patch by Joey ↵alex2003-04-091-0/+4
| | | | | | Parrish <joey@nicewarrior.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9891 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use new config headersalbeu2003-03-301-5/+5
| | | | | | | Remove STREAMTYPE_PLAYLIST. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9750 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added IPv6 support, patch by Dave Lambley ↵bertrand2003-03-261-21/+121
| | | | | | <mplayer-dev-eng@dlambley.freeserve.co.uk> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9692 b3059339-0415-0410-9bf9-f77b7e298cf2
* better cache size defaultsarpi2003-01-131-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8940 b3059339-0415-0410-9bf9-f77b7e298cf2
* Finally commented out the code for autodetection based on the extension.bertrand2003-01-111-2/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8891 b3059339-0415-0410-9bf9-f77b7e298cf2
* Return another error code for timeout.bertrand2003-01-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8825 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added the ICY 403 "Service Forbiden" error message.bertrand2003-01-041-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8767 b3059339-0415-0410-9bf9-f77b7e298cf2
* pnm:// support (ported from xine)arpi2002-12-261-0/+45
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8571 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added OGG streaming support, patch from Balatoni Denes <pnis@coder.hu>bertrand2002-11-051-1/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8115 b3059339-0415-0410-9bf9-f77b7e298cf2
* verbose can be negativearpi2002-11-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
* GCC warning fixesbertrand2002-10-291-6/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7954 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow cache to be disabled (-nocache should override cachesize autodetectionarpi2002-10-231-1/+1
| | | | | | | in stream layer) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7882 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanup config option handling in libmpdemux.arpi2002-10-231-52/+14
| | | | | | | | removed overcompilacted m_config_register_options() mess - export the subconfig structs instead git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7868 b3059339-0415-0410-9bf9-f77b7e298cf2
* mpdemux.c|h moved to libinput, mpdemux_check_interrupt() -> ↵arpi2002-10-231-2/+3
| | | | | | mp_input_check_interrupt() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7863 b3059339-0415-0410-9bf9-f77b7e298cf2
* Display the IP address that has been resolved.bertrand2002-09-271-3/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7514 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added a new ASX playlist mime-typebertrand2002-09-131-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7394 b3059339-0415-0410-9bf9-f77b7e298cf2
* Return -2 for fatal error while connecting to a server.bertrand2002-09-031-4/+6
| | | | | | | Fatal are unable to resolve name, connection timeout... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7252 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fixes by Ross Finlayson <finlayson@live.com>arpi2002-08-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7008 b3059339-0415-0410-9bf9-f77b7e298cf2
* applied live.com streaming patch (-sdp and rtsp:// support) by Ross ↵arpi2002-08-051-1/+27
| | | | | | | | | 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
* Retreive the bandwidth option from the command line.bertrand2002-07-051-6/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6643 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changed the -pass option to -passwd to avoid clash with mencoder option.bertrand2002-06-251-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6571 b3059339-0415-0410-9bf9-f77b7e298cf2
* Read username/password from the -user -pass command line options.bertrand2002-06-251-28/+35
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6559 b3059339-0415-0410-9bf9-f77b7e298cf2
* Moved authentication code into its own function.bertrand2002-06-241-44/+65
| | | | | | | Disabled the user/pass interaction. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6556 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improved the authentication interaction. Still need to replace scanf.bertrand2002-06-231-13/+24
| | | | | | | After 4 failed authentication, mplayer quits. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6517 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added HTTP basic authentication supportbertrand2002-06-231-0/+37
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6516 b3059339-0415-0410-9bf9-f77b7e298cf2
* Here I go again, another fix for the timeout.bertrand2002-06-211-4/+6
| | | | | | | | 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
* Increased the timeout value on connection.bertrand2002-06-211-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6477 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added mplayer version in the user-agent field.bertrand2002-06-201-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6467 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added some missing carriage returns.bertrand2002-06-171-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6455 b3059339-0415-0410-9bf9-f77b7e298cf2
* added some new typesalex2002-05-091-1/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6033 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added ICY error 400: Server full.bertrand2002-04-301-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5917 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert printf to mp_msg in the network layeralbeu2002-04-301-58/+56
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5916 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added ICY error 401: Service unavailable.bertrand2002-04-281-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5893 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add some info prints to ICY code and handle return codes ICY specific, also ↵atmos42002-04-271-4/+32
| | | | | | | | | 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
* ICY found (mp3 stream) != sucess.albeu2002-04-271-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5868 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make blocking call in libmpdemux interuptable (only with new input,albeu2002-02-231-7/+16
| | | | | | | 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
* Handle HTTP OK response that doesn't contain a mime-type.bertrand2002-02-231-4/+3
| | | |