summaryrefslogtreecommitdiff
path: root/src/lib.h
AgeCommit message (Collapse)AuthorFilesLines
2014-07-14server: Always send data from the last keyframeNirbheek Chauhan1-0/+5
Store non-keyframe buffers sent to fakesink, and push them to all new clients
2014-07-14debug: Make the server less noisyNirbheek Chauhan1-0/+6
This is very spammy when we get content-length encoding PUT streams
2014-07-14lib: Remove unused function definitionsNirbheek Chauhan1-6/+0
Pointed out in a review by slomo
2014-07-11Remove trailing whitespace to make git happyNirbheek Chauhan1-2/+2
2014-07-11server: Add support for persistent connection streamsNirbheek Chauhan1-5/+8
Now we also support Content-Length + Content-Range persistent HTTP connections for stream data. If no further data is received before `server_timeout`, we assume the stream has been closed. This is used by souphttpclientsink for sending streams.
2014-07-11Add license headers and COPYINGNirbheek Chauhan1-2/+21
2014-07-10appsink: Add a client timeout, and handle eos separatelyNirbheek Chauhan1-3/+5
If no chunks are written to a client for 10 seconds, we end that stream and clean it up. This is currently happening due to a bug, but might happen due to bad/slow clients as well. Instead of handling EOS from null samples, handle EOS through the signal handler. This is a more reliable way of handling EOS, and also works when the whole pipeline is torn down because the PUT stream ended.
2014-07-09appsink: Use a GMutex to control when we pull samplesNirbheek Chauhan1-0/+1
We can only pull a new sample and write it out if the previous one has been written, otherwise we get a segfault in SoupMessage.
2014-07-09main/appsink: Don't hard-code element namesNirbheek Chauhan1-0/+1
2014-07-09Add source filesNirbheek Chauhan1-0/+57