summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2014-07-14main: Add SIGINT handlerNirbheek Chauhan2-3/+14
2014-07-14debug: Remove extra newlines, and use g_critical everywhereNirbheek Chauhan3-36/+36
2014-07-14appsink: Pull and write samples in the libsoup main contextNirbheek Chauhan3-23/+17
2014-07-14main: Add a FIXME, and be verbose when new requests comeNirbheek Chauhan1-2/+6
2014-07-14server: Always send data from the last keyframeNirbheek Chauhan4-19/+94
Store non-keyframe buffers sent to fakesink, and push them to all new clients
2014-07-14debug: Make the server less noisyNirbheek Chauhan3-35/+35
This is very spammy when we get content-length encoding PUT streams
2014-07-14Add two FIXMEs pointed out by slomo in his reviewNirbheek Chauhan2-0/+4
WIP
2014-07-14lib: Remove unused function definitionsNirbheek Chauhan1-6/+0
Pointed out in a review by slomo
2014-07-14write-chunks: Use gst_buffer_map instead of gst_memory_mapNirbheek Chauhan1-5/+2
Short-cut. Pointed out in a review by slomo.
2014-07-14debug: Use a macro for buffer read/write status printingNirbheek Chauhan1-4/+10
2014-07-14appsink: Don't need to use pad blocking while linking from teeNirbheek Chauhan1-70/+56
We still need to block while removing the appsink, though. Pointed out in a review by slomo
2014-07-14appsink: Use the correct API for getting the streamheaderNirbheek Chauhan1-6/+4
Pointed out in a review by slomo
2014-07-14encode: Set fakesink to sync to the clock to ensure it's always realtimeNirbheek Chauhan1-0/+2
2014-07-14server: Fix cleanup of clientsNirbheek Chauhan2-24/+22
On forced server abort, as well as normal exit
2014-07-11server: Add support for aborting running streamsNirbheek Chauhan1-3/+23
This is useful to cancel streams that are taking too long to encode, etc
2014-07-11Remove trailing whitespace to make git happyNirbheek Chauhan7-31/+31
2014-07-11server: Add support for persistent connection streamsNirbheek Chauhan3-47/+169
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-11misc: Fix/add a couple of error messages, etcNirbheek Chauhan1-3/+9
2014-07-11clients: Fix increment of client timeoutNirbheek Chauhan1-1/+1
2014-07-11Add license headers and COPYINGNirbheek Chauhan7-14/+147
2014-07-11appsrc: Remove need-data/enough-data signal handlersNirbheek Chauhan1-24/+0
Dead code. Signals were disabled, and using this and pausing the message causes problems with libsoup.
2014-07-11encode-debug: Use the PUT path in the debug output filenameNirbheek Chauhan1-1/+8
2014-07-10encode: Explicitly ignore subtitle streamsNirbheek Chauhan1-1/+6
Trying to request a pad for them from encodebin causes a pipeline stall
2014-07-10cleanup: Fix client shutdown on server exitNirbheek Chauhan1-2/+31
2014-07-10appsink: Add a client timeout, and handle eos separatelyNirbheek Chauhan3-8/+47
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-10debug: Use separate #ifdefs for each DEBUGNirbheek Chauhan2-5/+5
2014-07-09appsink: Use a GMutex to control when we pull samplesNirbheek Chauhan2-34/+29
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-09appsrc: Queue an EOS when aborted tooNirbheek Chauhan1-0/+21
2014-07-09appsink: Push samples when availability is signalledNirbheek Chauhan1-34/+16
This is to demonstrate that this doesn't work. It seems that using the SoupMessage associated with a response outside the signal handler for which it was created can result in a segfault, and eventually does.
2014-07-09Fix unref and frees in various placesNirbheek Chauhan2-19/+6
2014-07-09main/appsink: Don't hard-code element namesNirbheek Chauhan3-14/+10
2014-07-09Remove some unused headers, and fix a typoNirbheek Chauhan1-7/+1
2014-07-09main: Add option parsing (port)Nirbheek Chauhan1-3/+21
2014-07-09encode: Fix some leaksNirbheek Chauhan1-0/+4
2014-07-09Add source filesNirbheek Chauhan7-0/+1120