<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">the verto js settings actually just do a set var in mod_verto of the&nbsp;<span style="font-size: 13px;" class="">rtp_video_max_bandwidth_ vars</span><div class=""><font size="2" class=""><br class=""></font><div><blockquote type="cite" class=""><div class="">On Oct 13, 2016, at 12:47 PM, Chad Phillips &lt;<a href="mailto:chad@apartmentlines.com" class="">chad@apartmentlines.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Very clear, thanks.<div class=""><br class=""></div><div class="">One more question: how does the Verto.newCall() method’s ‘incomingBandwidth’ setting play with&nbsp;<span style="font-size:13px" class="">rtp_video_max_bandwidth_</span><span style="font-size:13px" class="">out and&nbsp;</span><span style="font-size:13px" class="">video-codec-bandwidth? If incomingBandwidth is set lower than the other two, will it be used as the max value for that call?</span></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Oct 12, 2016 at 9:10 PM, Anthony Minessale <span dir="ltr" class="">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank" class="">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The value in the vars.xml is the absolute max. &nbsp;4m is an acceptable&nbsp;value.<div class=""><br class=""></div><div class="">We calculate the quality we send based on the canvas resolution using the kush guage</div><div class=""><br class=""></div><div class=""><a href="http://vzaar.com/blog/video-encoding-guide/" target="_blank" class="">http://vzaar.com/blog/video-<wbr class="">encoding-guide/</a><br class=""></div><div class=""><br class=""><br class="">The motion factor or quality mentioned in the link above&nbsp;&nbsp;matches the quality field in the config.<br class=""><br class="">If the calculated val exceeds the defined max, it will be limited to that max value.</div><div class=""><br class=""></div><div class="">The max inbound is transmitted in the sdp limiting the max the browser will send.<br class=""><br class=""><br class="">1080p at 30fps quality 1&nbsp;is in the vicinity of 4mb<span class=""></span></div><div class=""><br class=""></div><div class="">1920 x 1080 x 30 x 1 x 0.07 / 1000 = 4354.56<br class=""></div><div class="HOEnZb"><div class="h5"><div class=""><br class=""><br class=""><br class=""><br class=""><br class="">On Wednesday, October 12, 2016, Chad Phillips &lt;<a href="mailto:chad@apartmentlines.com" target="_blank" class="">chad@apartmentlines.com</a>&gt; wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">Tony,<div class=""><br class=""></div><div class=""><span style="font-size:13px" class="">rtp_video_max_bandwidth_</span><span style="font-size:13px" class="">out was the one I was missing, thank you so much! I had set&nbsp;</span><span style="font-size:13px" class="">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 class=""></div><div class=""><span style="font-size:13px" class=""><br class=""></span></div><div class="">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 class=""><br class=""></div><div class="">I figure a 640x480 video at 30FPS uses about 1.5mbps</div><div class=""><br class=""></div><div class="">My canvas is 1080x720, so:</div><div class=""><br class=""></div><div class="">640x480 =&nbsp;307200 pixels</div><div class="">1080x720 =&nbsp;777600 pixels</div><div class=""><br class=""></div><div class="">777600 pixels / 307200 pixels = 2.53 times as many pixels<br class=""></div><div class="">1.5mbps x 2.53 = 3.8mbps, 4mbps fer good measure :)</div><div class=""><br class=""></div><div class="">Sound right, or did I miss something?</div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Oct 12, 2016 at 11:12 AM, Anthony Minessale <span dir="ltr" class="">&lt;<a class="">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">open another window/tab to <a href="chrome://webrtc-internals" class="">chrome://webrtc-internals</a> and look at all of the stats.<div class=""><br class=""></div><div class="">Have you made sure you are not just maxing our your local bandwidth in either direction?</div><div class="">Did you modify the&nbsp;rtp_video_max_bandwidth_in and&nbsp;rtp_video_max_bandwidth_ou<wbr class="">t vars in vars.xml &nbsp;it defaults to 1m</div><div class=""><br class=""></div></div><div class="gmail_extra"><div class=""><div class=""><br class=""><div class="gmail_quote">On Wed, Oct 12, 2016 at 12:29 PM, Chad Phillips <span dir="ltr" class="">&lt;<a class="">chad@apartmentlines.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">Here’s another example, perhaps this illustrates it better:&nbsp;<a href="https://youtu.be/PqIjubx4-wI" target="_blank" class="">https://youtu.be/PqIju<wbr class="">bx4-wI</a>&nbsp;<div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">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 class=""><div class="gmail_quote"><div class=""><div class="">On Wed, Oct 12, 2016 at 9:44 AM, Michael Jerris <span dir="ltr" class="">&lt;<a class="">mike@jerris.com</a>&gt;</span> wrote:<br class=""></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div class=""><div style="word-wrap:break-word" class="">It does not seem to be the entire canvas to me.&nbsp; Look at the text labels on the layers… they don’t seem bad at all.<div class=""><div class=""><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Oct 12, 2016, at 12:37 PM, Chad Phillips &lt;<a class="">chad@apartmentlines.com</a>&gt; wrote:</div><br class=""><div class=""><div dir="ltr" class="">Mike, it’s the same if I remove video-codec-bandwidth and video-quality. This short video illustrates the issue:&nbsp;<a href="https://youtu.be/l8gpHhgmWRI" target="_blank" class="">https://youtu.be/l8gpHh<wbr class="">gmWRI</a><div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">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 class=""><div class="gmail_quote">On Wed, Oct 12, 2016 at 8:48 AM, Michael Jerris <span dir="ltr" class="">&lt;<a class="">mike@jerris.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">is it the same if you remove the following:<span class=""><div class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class=""><div class="">&nbsp; &nbsp; &nbsp; &lt;param name="video-codec-bandwidth" value="1mb"/&gt;</div></div></div></blockquote></div></span><div class=""><div dir="ltr" class=""><div class=""><div class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class=""><div class="">&nbsp; &nbsp; &nbsp; &lt;param name="video-quality" value="1"/&gt;</div></div></div></blockquote><div class=""><div dir="ltr" class=""><div class=""><div class=""><br class=""></div><div class=""><br class=""></div><div class="">?</div></div></div></div></div></div></div></div><span class=""><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Oct 12, 2016, at 11:37 AM, Chad Phillips &lt;<a class="">chad@apartmentlines.com</a>&gt; wrote:</div><br class=""><div class=""><div dir="ltr" class="">Ok, I tested in Firefox, same pixelation issue. One or two video feeds looks good, then it degrades as more feeds are added.<div class=""><br class=""></div><div class="">Here are the relevant params from my conference config:</div><div class=""><br class=""></div><div class=""><div class="">&nbsp; &nbsp; &nbsp; &lt;param name="video-canvas-size" value="1080x720"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &lt;param name="video-codec-bandwidth" value="1mb"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &lt;param name="video-auto-floor-msec" value="800"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &lt;param name="video-kps-debounce" value="30000"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &lt;param name="video-fps" value="30"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &lt;param name="video-quality" value="1"/&gt;</div></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Oct 10, 2016 at 1:29 PM, Ítalo Rossi <span dir="ltr" class="">&lt;<a class="">italo@freeswitch.org</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">In which browser?</div><div class="gmail_extra"><br class=""><div class="gmail_quote"><div class=""><div class="">On Mon, Oct 10, 2016 at 1:51 PM, Chad Phillips <span dir="ltr" class="">&lt;<a class="">chad@apartmentlines.com</a>&gt;</span> wrote:<br class=""></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div class=""><div dir="ltr" class="">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 class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">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 class=""><font color="#888888" class=""><div class=""><br class=""></div><div class="">Chad</div></font></span></div>
</div></div></blockquote></div></div></blockquote></div></div></div></blockquote></div><br class=""></div></span></div></blockquote></div></div></div></blockquote></div></div></div></div></div></div></div></blockquote></div></div></blockquote></div></div></div></div></blockquote></div></div></blockquote></div></div></div></blockquote></div></div></div></blockquote></div><br class=""></div></body></html>