<div class="gmail_quote">---------- 转发的邮件 ----------<br>发件人:"Kop Yiddish" <<a href="mailto:yiddishkop@gmail.com">yiddishkop@gmail.com</a>><br>日期:2016年8月25日 21:20<br>主题:Question from a chinese programmer<br>收件人: <<a href="mailto:pgrunt@redhat.com">pgrunt@redhat.com</a>><br>抄送:<br><br type="attribution"><div dir="ltr"><font size="4" face="verdana, sans-serif">hi, sir, </font><div><font size="4" face="verdana, sans-serif"><span style="color:rgb(51,51,51);line-height:24px;text-indent:28px">How are you?</span></font><div><div><font size="4" face="verdana, sans-serif">I'm a programmer from china ,i have some questions about your patchwork in SPICE project. <span style="color:rgb(51,51,51);line-height:24px">May I make bold to disturb you for some minitues ?</span></font></div><div><font size="4" face="verdana, sans-serif">I recently encounter a problme, we use SPICE for remote access , but when playing high-quality video ,  it droped frames seriously with high Memory usage and CPU suage.</font></div></div></div><div><font size="4" face="verdana, sans-serif">I suppose SIPCE will control the rate of video stream by the bandwidth, but it appears that SPICE protocal doesn't work.</font></div><div><font size="4" face="verdana, sans-serif">I read the souce code related, I find some clues about it.</font></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="4" face="verdana, sans-serif">enum {</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="4" face="verdana, sans-serif">    SPICE_DISPLAY_CAP_SIZED_<wbr>STREAM,</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="4" face="verdana, sans-serif">    SPICE_DISPLAY_CAP_MONITORS_<wbr>CONFIG,</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="4" face="verdana, sans-serif">    SPICE_DISPLAY_CAP_COMPOSITE,</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="4" face="verdana, sans-serif">    SPICE_DISPLAY_CAP_A8_SURFACE,</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="4" face="verdana, sans-serif">    SPICE_DISPLAY_CAP_STREAM_<wbr>REPORT,</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="4" face="verdana, sans-serif">};</font></blockquote></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="4" face="verdana, sans-serif">dcc->use_mjpeg_encoder_rate_<wbr>control =</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="4" face="verdana, sans-serif">        red_channel_client_test_<wbr>remote_cap(&dcc->common.base, SPICE_DISPLAY_CAP_STREAM_<wbr>REPORT);</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="4" face="verdana, sans-serif"> </font></blockquote><div><font size="4" face="verdana, sans-serif">I have some question below:</font></div><div><ol><li><font size="4" face="verdana, sans-serif">I find encoder will check the SPICE_DISPLAY_CAP_STREAM_<wbr>REPORT, and decide whether functioned the "rate control of the the transfermation", is my understanding right?  <br></font></li><li><font size="4" face="verdana, sans-serif">I find your pathwork to SPICE about <span style="color:rgb(51,51,51);line-height:20px;white-space:pre-wrap">SPICE_DISPLAY_CAP_LZ4_<wbr>COMPRESSION, did the original project has some bugs in controling the rate 
of the transformation from SPICE-server to client, i mean it can not control the quality of video by the bandwidth</span></font></li><li><span style="color:rgb(51,51,51);line-height:20px;white-space:pre-wrap"><font size="4" face="verdana, sans-serif">Can you explain the word -- "channel capability",which i encountered many times, but i can't specify the TRUE meaning of it.</font></span></li></ol><font face="verdana, sans-serif"><span style="color:rgb(51,51,51);line-height:20px;white-space:pre-wrap"><font size="4">THANK YOU VERY MUCH , please forgive my poor english, and best wishes with you and your family.</font></span><span style="color:rgb(51,51,51);font-size:13.3333px;line-height:20px;white-space:pre-wrap">
</span><span style="color:rgb(51,51,51);font-size:13.3333px;line-height:20px;white-space:pre-wrap"> </span></font><br></div></div>
</div>