summaryrefslogtreecommitdiffstats
path: root/src/modules/rtp/rtsp_client.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary #includesMaarten Bosmans2011-06-221-3/+0
|
* Merge remote-tracking branch 'mkbosmans/mingw32-build'Colin Guthrie2011-03-201-1/+1
|\
| * Use pulsecore/arpa-inet.h to make arpa/inet.h functionality availableMaarten Bosmans2011-03-191-1/+1
| | | | | | | | Automatically use replacement function on platforms (win32) where not all arpa/inet.h is available natively.
* | Fix up according to Coding StyleMaarten Bosmans2011-03-111-4/+2
|/ | | | Only whitespace changes in here
* poll() is totally broken on Mac OS XDaniel Mack2009-12-161-5/+0
| | | | | | Even on 10.5.8, poll() does not do the right thing. Haven't checked on newer versions. Hence, wrap all occurences of poll() to pa_poll and emulate that call with select() on OSX. This is totally embarassing.
* rtp: Remove 'fix me' comment after it was actually fixed in [56b6e1]Colin Guthrie2009-09-181-2/+0
| | | | That's what you get for applying your stash without fully checking if anything else was committed in the mean time :p
* rtp: Factor out direct io writing and use ioline instead.Colin Guthrie2009-09-181-16/+6
| | | | | This is how things should have worked orinally, but I obviously misunderstood things a bit. This seems to prevent the random hangups that were happening previously :)
* rtsp: document that rtsp_exec() needs fixing (llvm-clang-analyzer)Lennart Poettering2009-09-081-0/+2
|
* raop: Fix memory leakAndy Shevchenko2009-08-281-3/+7
| | | | | The return memory of the pa_strbuf_tostring_free() should be freed. pa_headerlist_puts() saves its own copy.
* Base mainloop on pa_rtclock_now()Marc-André Lureau2009-06-201-1/+1
| | | | | | | | | | | | | | | | Move the mainloop to monotonic based time events. Introduces 4 helper functions: pa_{context,core}_rttime_{new,restart}(), that fill correctly a timeval with the rtclock flag set if the mainloop supports it. Both mainloop-test and mainloop-test-glib works with rt and timeval based time events. PulseAudio and clients should be fully functional. This patch has received several iterations, and this one as been largely untested. Signed-off-by: Marc-André Lureau <marca-andre.lureau@nokia.com>
* Add missing headers' include to build on FreeBSD 7.1.Diego Elio 'Flameeyes' Pettenò2009-05-151-0/+1
|
* various spelling fixesMaarten Bosmans2009-04-041-2/+2
|
* revive solaris moduleFinn Thain2009-03-031-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Hi All, This patch fixes the solaris audio device source and sink, and fixes some portability issues that break the build on solaris. Questions and comments welcomed. I've tested this patch only with OpenSolaris Express snv 103. Eventually I hope to be able to test a few older releases and older hardware (though it is hard to say whether there is much interest in those). This is my first brush with pulseaudio and so I read the wiki docs and some of the source code but I'm still unsure of a few things. In particular I'm wondering about rewind processing, corking and what (if anything) the module needs for those. I'm also unclear on the implications of thread_info.buffer_size, .fragment_size and .max_request, and whether my code is correct or not. This patch disables link map/library versioning unless ld is GNU ld. Another approach for solaris would be to use that linker's -M option, but I couldn't make that work (due to undefined mainloop, browse and simple symbols when linking pacat. I can post the errors if anyone is intested.) Thanks, Finn Thain
* Use LGPL 2.1 on all files previously using LGPL 2Colin Guthrie2009-03-031-1/+1
|
* raop: Handle the reponse header memory allocation more sensibly.Colin Guthrie2009-03-011-29/+27
| | | | | In theory the callback called after reading headers could free our whole object, so we should not take it upon ourselves to free the headers after the call to the callback.
* Remove $Id$ lines left over from SVNColin Guthrie2008-10-081-2/+0
|
* Change the API of the RTSP client a bit.Colin Guthrie2008-10-081-71/+84
| | | | | | | | * Store the mainloop, hostname and port internally on construction * This should allow use to easily reconnect if disconnected although this has thus far proved unreliable. The changes look like more than they are due to moving a function around. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2502 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Remove unneeded headers accidentially added in r2500.Colin Guthrie2008-10-081-2/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2501 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add seq and rtptime params to record/flush with a view to using these for ↵Colin Guthrie2008-10-081-4/+15
| | | | | | timing and device suspension git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2500 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Do tidy up on disconnection.Colin Guthrie2008-10-081-0/+8
| | | | | | Only clear IO related stuff if this free() was triggered deliberatly (i.e. not by server side disconnect) git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2411 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Do not prefix internal function rtsp_exec.Colin Guthrie2008-10-081-12/+9
| | | | | | | Change port to be 16 bits Do not free stuff on closure as this happens further up the stack. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2410 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix up IPv6 address format to enclose it in []Colin Guthrie2008-10-081-4/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2406 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add a new callback structure to propigate when the RTSP connection diesColin Guthrie2008-10-081-3/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2402 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Do not assert on NULL values of s. This means the connection was closed. ↵Colin Guthrie2008-10-081-1/+8
| | | | | | This change somehow kills the mainloop with an assert, so I need to sort that out. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2399 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Rename rtsp.{c,h} to rtsp_client.{c,h}.Colin Guthrie2008-10-081-0/+507
Renate pa_rtsp_context to pa_rtsp_client. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2376 fefdeb5f-60dc-0310-8127-8f9354f1896f