diff options
Diffstat (limited to 'src/lib.h')
-rw-r--r-- | src/lib.h | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -34,12 +34,15 @@ struct _TranscodeServerCtx { SoupMessage *msg; GstElement *pipeline; GstElement *appsrc; - /* The pipeline status can be queried from the pipeline itself, - * but it's probably better for branching to have it separately too */ - gboolean pipeline_is_playing; + /* If the encoding is not chunked, we'll get multiple requests + * with separate Content-Length headers on the same path */ + SoupEncoding encoding; /* Set to TRUE when the incoming stream ends; let's us know if - * we need to set the PUT response on EOS/ERROR on the pipeline */ - gboolean request_finished; + * we need to set the PUT response on EOS/ERROR on the pipeline, + * and whether to reject further data when using a persistent + * Content-Length + Content-Range PUT stream. */ + gboolean stream_finished; + guint seconds_since_read; /* List of client contexts */ GList *clients; |