The value in the vars.xml is the absolute max.  4m is an acceptable value.<div><br></div><div>We calculate the quality we send based on the canvas resolution using the kush guage</div><div><br></div><div><a href="http://vzaar.com/blog/video-encoding-guide/">http://vzaar.com/blog/video-encoding-guide/</a><br></div><div><br><br>The motion factor or quality mentioned in the link above  matches the quality field in the config.<br><br>If the calculated val exceeds the defined max, it will be limited to that max value.</div><div><br></div><div>The max inbound is transmitted in the sdp limiting the max the browser will send.<br><br><br>1080p at 30fps quality 1 is in the vicinity of 4mb<span></span></div><div><br></div><div>1920 x 1080 x 30 x 1 x 0.07 / 1000 = 4354.56<br></div><div><br><br><br><br><br>On Wednesday, October 12, 2016, Chad Phillips &lt;<a href="mailto:chad@apartmentlines.com">chad@apartmentlines.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Tony,<div><br></div><div><span style="font-size:13px">rtp_video_max_bandwidth_</span><span style="font-size:13px">out was the one I was missing, thank you so much! I had set </span><span style="font-size:13px">video-codec-bandwidth in the conference config, but totally forgot about that global setting. Once I upped it to match the conference setting, quality issues disappeared :)</span><br></div><div><span style="font-size:13px"><br></span></div><div>I ended up using 4mb for both settings, would love a double check on my reasoning to see if that’s the optimal value:</div><div><br></div><div>I figure a 640x480 video at 30FPS uses about 1.5mbps</div><div><br></div><div>My canvas is 1080x720, so:</div><div><br></div><div>640x480 = 307200 pixels</div><div>1080x720 = 777600 pixels</div><div><br></div><div>777600 pixels / 307200 pixels = 2.53 times as many pixels<br></div><div>1.5mbps x 2.53 = 3.8mbps, 4mbps fer good measure :)</div><div><br></div><div>Sound right, or did I miss something?</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 12, 2016 at 11:12 AM, Anthony Minessale <span dir="ltr">&lt;<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;anthony.minessale@gmail.com&#39;);" target="_blank">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">open another window/tab to chrome://webrtc-internals and look at all of the stats.<div><br></div><div>Have you made sure you are not just maxing our your local bandwidth in either direction?</div><div>Did you modify the rtp_video_max_bandwidth_in and rtp_video_max_bandwidth_ou<wbr>t vars in vars.xml  it defaults to 1m</div><div><br></div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Wed, Oct 12, 2016 at 12:29 PM, Chad Phillips <span dir="ltr">&lt;<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;chad@apartmentlines.com&#39;);" target="_blank">chad@apartmentlines.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Here’s another example, perhaps this illustrates it better: <a href="https://youtu.be/PqIjubx4-wI" target="_blank">https://youtu.be/PqIju<wbr>bx4-wI</a> <div><br></div><div>And it doesn’t seem to be the entire canvas at once, it’s more of a ‘washing over’. I can definitely see it also affecting the banners in this second example.</div><div><br></div><div>I’m also happy to drop you into a live example, it’s pretty easy to see what I’m talking about when you’re in the conference.</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Wed, Oct 12, 2016 at 9:44 AM, Michael Jerris <span dir="ltr">&lt;<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;mike@jerris.com&#39;);" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div style="word-wrap:break-word">It does not seem to be the entire canvas to me.  Look at the text labels on the layers… they don’t seem bad at all.<div><div><div><br><div><blockquote type="cite"><div>On Oct 12, 2016, at 12:37 PM, Chad Phillips &lt;<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;chad@apartmentlines.com&#39;);" target="_blank">chad@apartmentlines.com</a>&gt; wrote:</div><br><div><div dir="ltr">Mike, it’s the same if I remove video-codec-bandwidth and video-quality. This short video illustrates the issue: <a href="https://youtu.be/l8gpHhgmWRI" target="_blank">https://youtu.be/l8gpHh<wbr>gmWRI</a><div><br></div><div>Notice how with just my feed the quality is much better than with the multiple feeds. The pixelation effect seems to periodically ‘wash over’ the entire canvas. I’ve had many users report this same issue, even if they have excellent internet bandwidth.</div><div><br></div><div>Gonzalo, I’ve got a quite beefy physical server, Xeon 32 core, 32GB RAM, and a nice fat network pipe. I haven’t ever pulled stats on packets in/out.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 12, 2016 at 8:48 AM, Michael Jerris <span dir="ltr">&lt;<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;mike@jerris.com&#39;);" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">is it the same if you remove the following:<span><div><blockquote type="cite"><div dir="ltr"><div><div>      &lt;param name=&quot;video-codec-bandwidth&quot; value=&quot;1mb&quot;/&gt;</div></div></div></blockquote></div></span><div><div dir="ltr"><div><div><blockquote type="cite"><div dir="ltr"><div><div>      &lt;param name=&quot;video-quality&quot; value=&quot;1&quot;/&gt;</div></div></div></blockquote><div><div dir="ltr"><div><div><br></div><div><br></div><div>?</div></div></div></div></div></div></div></div><span><div><br><div><blockquote type="cite"><div>On Oct 12, 2016, at 11:37 AM, Chad Phillips &lt;<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;chad@apartmentlines.com&#39;);" target="_blank">chad@apartmentlines.com</a>&gt; wrote:</div><br><div><div dir="ltr">Ok, I tested in Firefox, same pixelation issue. One or two video feeds looks good, then it degrades as more feeds are added.<div><br></div><div>Here are the relevant params from my conference config:</div><div><br></div><div><div>      &lt;param name=&quot;video-canvas-size&quot; value=&quot;1080x720&quot;/&gt;</div><div>      &lt;param name=&quot;video-codec-bandwidth&quot; value=&quot;1mb&quot;/&gt;</div><div>      &lt;param name=&quot;video-auto-floor-msec&quot; value=&quot;800&quot;/&gt;</div><div>      &lt;param name=&quot;video-kps-debounce&quot; value=&quot;30000&quot;/&gt;</div><div>      &lt;param name=&quot;video-fps&quot; value=&quot;30&quot;/&gt;</div><div>      &lt;param name=&quot;video-quality&quot; value=&quot;1&quot;/&gt;</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 10, 2016 at 1:29 PM, Ítalo Rossi <span dir="ltr">&lt;<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;italo@freeswitch.org&#39;);" target="_blank">italo@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">In which browser?</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Mon, Oct 10, 2016 at 1:51 PM, Chad Phillips <span dir="ltr">&lt;<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;chad@apartmentlines.com&#39;);" target="_blank">chad@apartmentlines.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Running Verto/mod_conference videoconference on 1.6.11, I’ve noticed that the entire canvas resolution seems more pixelated when the number of users connected to the videoconference goes up.<div><br></div><div>If just one person is connected, the image is very consistent and clear, but getting into the 7-10 person range, the quality drops noticeably. And I’m not talking about the quality of one particular video on the canvas, but the entire canvas quality.</div><div><br></div><div>I’ve done a recording of a videoconference on the server with a larger number of users, and the video quality there is clear and consistent, so it doesn’t seem to be an issue with either receiving or muxing the feeds, but in how the end user is receiving the muxed video.</div><div><br></div><div>I tried playing with the the ‘video-quality’ and ‘video-codec-bandwidth’ conference params — increasing the video-quality from 1 to 3 didn’t seem to have much of an impact, increasing the video-codec-bandwidth from 1mb to 2mb used quite a bit more CPU, but didn’t seem to positively impact the video quality, either.</div><div><br></div><div>Curious if I’m missing something in the config, or if there’s something else I can do to improve the video quality with a larger number of users.</div><span><font color="#888888"><div><br></div><div>Chad</div></font></span></div>
</div></div></blockquote></div></div></blockquote></div></div></div></blockquote></div><br></div></span></div></blockquote></div></div></div></blockquote></div><br></div></div></div></div><br></div></div><span>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;consulting@freeswitch.org&#39;);" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;FreeSWITCH-users@lists.freeswitch.org&#39;);" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/free<wbr>switch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></span></blockquote></div><br></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;consulting@freeswitch.org&#39;);" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;FreeSWITCH-users@lists.freeswitch.org&#39;);" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/free<wbr>switch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬<div><br><div>☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a>  ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a>  ☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a></div><div><div>☞ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ☞ <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br><br></div><div>ClueCon Weekly Development Call <br></div><div>☎ <a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;sip:888@conference.freeswitch.org&#39;);" target="_blank">sip:888@conference.freeswitc<wbr>h.org</a>  ☎ +19193869900 </div><div><br></div></div></div><div><a href="https://www.youtube.com/watch?v=9XXgW34t40s" style="color:rgb(17,85,204);font-size:12.8000001907349px" target="_blank">https://www.youtube.com/watch?<wbr>v=9XXgW34t40s</a></div><div><a href="https://www.youtube.com/watch?v=NLaDpGQuZDA" target="_blank">https://www.youtube.com/watch?<wbr>v=NLaDpGQuZDA</a><br></div></div></div></div></div></div></div>
</font></span></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;consulting@freeswitch.org&#39;);" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;FreeSWITCH-users@lists.freeswitch.org&#39;);" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
</blockquote></div><br><br>-- <br><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬<div><br><div>☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a>  ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a>  ☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a></div><div><div>☞ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ☞ <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br><br></div><div>ClueCon Weekly Development Call <br></div><div>☎ <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a>  ☎ +19193869900 </div><div><br></div></div></div><div><a href="https://www.youtube.com/watch?v=9XXgW34t40s" style="color:rgb(17,85,204);font-size:12.8000001907349px" target="_blank">https://www.youtube.com/watch?v=9XXgW34t40s</a></div><div><a href="https://www.youtube.com/watch?v=NLaDpGQuZDA" target="_blank">https://www.youtube.com/watch?v=NLaDpGQuZDA</a><br></div></div></div></div></div></div><br>