summaryrefslogtreecommitdiffstats
path: root/libavformat/icecast.c
Commit message (Collapse)AuthorAgeFilesLines
* Icecast: Send content-type in all casesMarvin Scholz2014-11-151-0/+2
| | | | | | | | This is needed because Icecast since version 2.4.1 doesn't default to audio/mpeg anymore. AVOption default not used here, since a later check if -content_type is set is performed and would break. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Icecast: Send 100-continue header if possibleMarvin Scholz2014-11-151-0/+1
| | | | | | | | | | This allows for proper error reporting. Only do this for non-legacy requests as only Icecast >2.4.0 will reply with a proper status. Libav seems to accept both, 100 and 200 status codes, but let's stay close to spec. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* icecast: Do not use chunked postMark McGough2014-10-121-0/+1
| | | | | | | | | | | | | Icecast uses HTTP 1.0 while Libav uses HTTP 1.1 and enables by default chunked post. Icecast actually forwards the HTTP chunk headers to the listener as part of the media stream (without the chunk encoding HTTP headers) causing the players to lose sync. Disabling the option is enough to feed icecast properly. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Add Icecast protocolMarvin Scholz2014-08-041-0/+228
Icecast is basically a convenience wrapper around the HTTP protocol. Signed-off-by: Martin Storsjö <martin@martin.st>
OpenPOWER on IntegriCloud