<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 5 4 2 2 2 2 2 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Dear Ross, <o:p></o:p></p><p class=MsoNormal>Thank you for your kind support. <o:p></o:p></p><p class=MsoNormal>I am happy to share my findings with you. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The camera stream bit rate is 4Mbps.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Case 1: RTSP Client and ProxyServer are in separate machines<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>RTSP Client(VLC) ==(UDP)==> ProxyServer : Videos gets distorted after 2 parallel RTSP Client connections. <o:p></o:p></p><p class=MsoNormal>RTSP Client(VLC) ==(TCP)==> ProxyServer : Videos are played smoothly even after 10 parallel RTSP Client connections.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Case 2: RTSP Client and ProxyServer are run in same machine with RTSP Client connecting the server with loopback IP(127.0.0.1)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>RTSP Client(VLC) ==(UDP)==> ProxyServer : Videos are played smoothly even with more than 40 parallel RTSP Client connections.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I can understand that, the problem is with the network, or with the switch maybe. Because, when the RTSP Client connects over TCP, it works really well.<o:p></o:p></p><p class=MsoNormal>But, I really do not know how to find out what is the faulty hop, or how to solve that.<o:p></o:p></p><p class=MsoNormal>Also, please let me know what protocol (TCP/UDP) do you suggest for receiving RTSP streams from ProxyServer? As per my understanding, if I have extremely good network condition, I can use UDP. Otherwise, TCP will be safe.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Addition : I tried to do some tweak in the system - TCP buffer and OS send buffer.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><i>net.core.wmem_max=12582912 # max OS send buffer size for all types of connections<o:p></o:p></i></p><p class=MsoNormal><i>net.ipv4.tcp_wmem= 10240 87380 12582912 # TCP send buffer space<o:p></o:p></i></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>After this tweak, it is found that, more than 4 RTSP Clients were able to stream videos smoothly; when they connect to the ProxyServer over UDP. After 4, the videos are distorted. Previously, the number was 2.<o:p></o:p></p><p class=MsoNormal>And with TCP, I checked with 10 RTSP Clients(VLC), and it all worked fine.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks, </p><p class=MsoNormal><o:p> </o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=700 style='width:525.0pt'><tr><td valign=top style='padding:0in 0in 0in 0in'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%'><tr><td style='padding:0in 0in 0in 0in'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%;border-collapse:collapse'><tr><td width=150 valign=top style='width:112.5pt;padding:0in 0in 0in 0in'><p class=MsoNormal align=center style='text-align:center'><span style='font-family:"Helvetica",sans-serif'><img width=122 height=52 style='width:1.2708in;height:.5416in' id="Picture_x0020_7" src="cid:image001.png@01D6D325.D6799030" alt=VIDEONETICS></span><span style='font-family:"Helvetica",sans-serif'><o:p></o:p></span></p></td><td width=550 style='width:412.5pt;border:none;border-left:solid #00AEEF 1.5pt;padding:0in 0in 0in 12.0pt'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%'><tr><td style='border:none;border-bottom:solid #00AEEF 1.5pt;padding:0in 0in 3.75pt 0in'><p class=MsoNormal><b><span style='font-size:12.5pt'>Sourav Batabyal</span></b><span style='font-family:"Helvetica",sans-serif'><br></span><span style='font-size:9.5pt;color:#00AEEF'>Software Engineer</span><span style='font-family:"Helvetica",sans-serif'><o:p></o:p></span></p></td></tr><tr><td style='padding:3.75pt 0in 3.75pt 0in'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%'><tr><td width=400 style='width:300.0pt;padding:0in 0in 0in 0in'><p class=MsoNormal><span style='font-size:9.5pt'>Plot No. AI/154/1, 4th Floor, Action Area 1A, Near Tank No. 3, New Town, Kolkata – 700156, West Bengal, India</span><span style='font-family:"Helvetica",sans-serif'><o:p></o:p></span></p></td><td width=400 style='width:300.0pt;padding:0in 0in 0in 0in'></td><td width=400 style='width:300.0pt;padding:0in 0in 0in 0in'></td><td width=150 style='width:112.5pt;padding:0in 0in 0in 0in'><p class=MsoNormal align=right style='text-align:right'><a href="https://www.linkedin.com/in/sourav-batabyal-15b527b1/" target="_blank"><span style='font-family:"Helvetica",sans-serif;text-decoration:none'><img border=0 width=100 height=20 style='width:1.0416in;height:.2083in' id="Picture_x0020_6" src="cid:image002.png@01D6D325.D6799030"></span></a><span style='font-family:"Helvetica",sans-serif'><o:p></o:p></span></p></td></tr></table></td></tr></table></td></tr><tr><td width=150 style='width:112.5pt;background:white;padding:7.5pt 0in 7.5pt 0in'><div align=center><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%;border-collapse:collapse'><tr><td width=19 style='width:14.25pt;padding:0in 0in 0in 0in'><p class=MsoNormal><span style='font-family:"Helvetica",sans-serif'> <o:p></o:p></span></p></td><td width=28 style='width:21.0pt;padding:0in 0in 0in 0in'><p class=MsoNormal align=center style='text-align:center'><a href="https://www.facebook.com/VideoneticsHQ/" target="_blank"><span style='font-family:"Helvetica",sans-serif;text-decoration:none'><img border=0 width=22 height=22 style='width:.2291in;height:.2291in' id="Picture_x0020_5" src="cid:image003.png@01D6D325.D6799030" alt=Facebook></span></a><span style='font-family:"Helvetica",sans-serif'><o:p></o:p></span></p></td><td width=28 style='width:21.0pt;padding:0in 0in 0in 0in'><p class=MsoNormal align=center style='text-align:center'><a href="https://www.linkedin.com/company/videonetics-technology-pvt-ltd-/" target="_blank"><span style='font-family:"Helvetica",sans-serif;text-decoration:none'><img border=0 width=22 height=22 style='width:.2291in;height:.2291in' id="Picture_x0020_4" src="cid:image004.png@01D6D325.D6799030" alt=LinkedIn></span></a><span style='font-family:"Helvetica",sans-serif'><o:p></o:p></span></p></td><td width=28 style='width:21.0pt;padding:0in 0in 0in 0in'><p class=MsoNormal align=center style='text-align:center'><a href="https://twitter.com/videonetics" target="_blank"><span style='font-family:"Helvetica",sans-serif;text-decoration:none'><img border=0 width=22 height=22 style='width:.2291in;height:.2291in' id="Picture_x0020_3" src="cid:image005.png@01D6D325.D6799030" alt=Twitter></span></a><span style='font-family:"Helvetica",sans-serif'><o:p></o:p></span></p></td><td width=28 style='width:21.0pt;padding:0in 0in 0in 0in'><p class=MsoNormal align=center style='text-align:center'><a href="https://www.youtube.com/channel/UCzE6RStDjr_wAkNN_dBqQwA" target="_blank"><span style='font-family:"Helvetica",sans-serif;text-decoration:none'><img border=0 width=22 height=22 style='width:.2291in;height:.2291in' id="Picture_x0020_2" src="cid:image006.png@01D6D325.D6799030" alt=YouTube></span></a><span style='font-family:"Helvetica",sans-serif'><o:p></o:p></span></p></td><td width=19 style='width:14.25pt;padding:0in 0in 0in 0in'><p class=MsoNormal><span style='font-family:"Helvetica",sans-serif'> <o:p></o:p></span></p></td></tr></table></div></td><td width=550 style='width:412.5pt;border:none;border-left:solid #00AEEF 1.5pt;background:white;padding:3.75pt 0in 3.75pt 0in'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=540 style='width:405.0pt;border-collapse:collapse'><tr><td width=16 style='width:12.0pt;padding:0in 0in 0in 0in'><p class=MsoNormal><span style='font-family:"Helvetica",sans-serif'> <o:p></o:p></span></p></td><td width=538 style='width:403.5pt;padding:0in 0in 0in 0in'><p class=MsoNormal><span style='color:#00AEEF'>t:</span> +91 90380 10300 | <span style='color:#00AEEF'>m:</span> +91 9531616262<br><span style='color:#00AEEF'>e:</span> <a href="mailto:sourav.batabyal@videonetics.com" target="_blank"><span style='color:black'>sourav.batabyal@videonetics.com</span></a> | <span style='color:#00AEEF'>w:</span> <a href="https://www.videonetics.com/" target="_blank"><span style='color:black'>www.videonetics.com</span></a><o:p></o:p></p></td></tr></table></td></tr></table></td></tr><tr style='height:1.5pt'><td style='padding:0in 0in 0in 0in;height:1.5pt'></td></tr><tr><td style='padding:0in 0in 0in 0in'><p class=MsoNormal><span style='font-family:"Helvetica",sans-serif'><img border=0 width=700 height=174 style='width:7.2916in;height:1.8125in' id="Picture_x0020_9" src="cid:image007.png@01D6D325.D6799030" alt=SAJAG></span><span style='font-family:"Helvetica",sans-serif'><o:p></o:p></span></p></td></tr><tr><td style='padding:4.5pt 0in 4.5pt 0in'><p class=MsoNormal style='line-height:10.5pt'><b><span style='font-size:7.5pt'>Disclaimer:</span></b><span style='font-size:7.5pt'> The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email by mistake, please notify the sender immediately and do not disclose the contents to anyone or make copies thereof.<o:p></o:p></span></p></td></tr></table></td></tr></table><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>