summaryrefslogtreecommitdiffstats
path: root/server/main_channel.h
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2013-02-18 14:05:43 -0500
committerYonit Halperin <yhalperi@redhat.com>2013-04-22 16:30:54 -0400
commitade45ed93abbb9b88d9e0a6e0e12073ea5bcfc36 (patch)
treef9c16aa29b6b38a407f889127da856e34bc046db /server/main_channel.h
parentb0fb03f0aefcb461fabc9880190eb8bb7796dbbd (diff)
downloadspice-ade45ed93abbb9b88d9e0a6e0e12073ea5bcfc36.tar.gz
spice-ade45ed93abbb9b88d9e0a6e0e12073ea5bcfc36.tar.xz
spice-ade45ed93abbb9b88d9e0a6e0e12073ea5bcfc36.zip
red_worker: start using mjpeg_encoder rate control capabilities
This patch only employs setting the stream parameters based on the initial given bit-rate, the latency, and the encoding size. Later patches will also employ mjpeg_encoder response to client reports, and its control over frame drops. The patch also removes old stream bit rate calculations that weren't used.
Diffstat (limited to 'server/main_channel.h')
-rw-r--r--server/main_channel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/main_channel.h b/server/main_channel.h
index 56663b7c..b2f0e6f3 100644
--- a/server/main_channel.h
+++ b/server/main_channel.h
@@ -69,6 +69,7 @@ uint32_t main_channel_client_get_link_id(MainChannelClient *mcc);
int main_channel_client_is_low_bandwidth(MainChannelClient *mcc);
uint64_t main_channel_client_get_bitrate_per_sec(MainChannelClient *mcc);
+uint64_t main_channel_client_get_roundtrip_ms(MainChannelClient *mcc);
int main_channel_is_connected(MainChannel *main_chan);
RedChannelClient* main_channel_client_get_base(MainChannelClient* mcc);