summaryrefslogtreecommitdiff
path: root/server/stream.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2015-11-13 10:29:17 -0600
committerFrediano Ziglio <fziglio@redhat.com>2015-11-18 14:10:45 +0000
commit8c750746f33a3c562cd96471f5ffc9c49aa1869f (patch)
treeb88fc3cdc63c1d2f14d375eeb10084663a354365 /server/stream.h
parent39e1cbe3211b06bca6e5d906ffb4d0582440c5cc (diff)
worker: move stream_agent_stop and friends
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
Diffstat (limited to 'server/stream.h')
-rw-r--r--server/stream.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/stream.h b/server/stream.h
index 09df31bb..c2007af2 100644
--- a/server/stream.h
+++ b/server/stream.h
@@ -39,6 +39,7 @@
#define RED_STREAM_CLIENT_REPORT_TIMEOUT 1000 // milliseconds
#define RED_STREAM_DEFAULT_HIGH_START_BIT_RATE (10 * 1024 * 1024) // 10Mbps
#define RED_STREAM_DEFAULT_LOW_START_BIT_RATE (2.5 * 1024 * 1024) // 2.5Mbps
+#define MAX_FPS 30
/* move back to display_channel once struct private */
typedef struct DisplayChannel DisplayChannel;
@@ -143,5 +144,7 @@ void stream_unref (DisplayChan
void stream_agent_unref (DisplayChannel *display,
StreamAgent *agent);
void stream_agent_stats_print (StreamAgent *agent);
+void stream_agent_stop (DisplayChannelClient *dcc,
+ StreamAgent *agent);
#endif /* STREAM_H */