Hi, Let me know if the values of threshold makes sense (or any other issue). changes from last version: - threshold set by usbredirhost instead of client; - helper function to set the threshold - using bool for dropping packages; - making the amount of packages sent be *at least* the difference between higher and lower threshold after dropping packages cheers, toso Victor Toso (2): usbredirhost: new callback for iso streams usbredirhost/usbredirhost.c | 63 +++++++++++++++++++++++++++++++++++++++++++-- usbredirhost/usbredirhost.h | 12 +++++++++ 2 files changed, 73 insertions(+), 2 deletions(-) spice-channel: check message queue size src/channel-usbredir.c | 9 +++++++++ src/spice-channel-priv.h | 2 ++ src/spice-channel.c | 19 ++++++++++++++++++- 3 files changed, 29 insertions(+), 1 deletion(-) -- 2.5.0 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel