diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2013-02-18 14:05:43 -0500 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2013-04-22 16:30:54 -0400 |
commit | ade45ed93abbb9b88d9e0a6e0e12073ea5bcfc36 (patch) | |
tree | f9c16aa29b6b38a407f889127da856e34bc046db /server/main_channel.h | |
parent | b0fb03f0aefcb461fabc9880190eb8bb7796dbbd (diff) | |
download | spice-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.h | 1 |
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); |