<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hi all, <div><br></div><div>[Issue]</div><div>I am experimenting with the FreeSWITCH version 1.6.2 video calling capability. In particular, we are seeing an issue where sometimes the video element in HTML will start streaming videos just fine, but most of the time, one side of the video call, or both, will have a screen being pitch black. The audio is totally fine though. </div><div><br></div><div>[Self-diagnosis]</div><div>Looking into chrome://webrtc-internal, it indicates that there is no frame being sent, and looking into the FreeSWITCH log, it appears this line: "<code class="m_3576285379286139422m_555457311130920435m_-8780932342393063307gmail-java m_3576285379286139422m_555457311130920435m_-8780932342393063307gmail-plain" style="font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;border-radius:0px;background-image:initial;background-position:0px 50%;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box;font-size:14px;min-height:inherit;white-space:nowrap;color:rgb(0,0,0)">[ERR] switch_rtp.c:</code><code class="m_3576285379286139422m_555457311130920435m_-8780932342393063307gmail-java m_3576285379286139422m_555457311130920435m_-8780932342393063307gmail-value" style="font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;border-radius:0px;background-image:initial;background-position:0px 50%;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box;font-size:14px;min-height:inherit;white-space:nowrap;color:rgb(0,153,0)">8098</code><span style="color:rgb(51,51,51);font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;font-size:14px;white-space:nowrap"> </span><code class="m_3576285379286139422m_555457311130920435m_-8780932342393063307gmail-java m_3576285379286139422m_555457311130920435m_-8780932342393063307gmail-plain" style="font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;border-radius:0px;background-image:initial;background-position:0px 50%;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box;font-size:14px;min-height:inherit;white-space:nowrap;color:rgb(0,0,0)">Error: video SRTP protection failed with code </code><code class="m_3576285379286139422m_555457311130920435m_-8780932342393063307gmail-java m_3576285379286139422m_555457311130920435m_-8780932342393063307gmail-value" style="font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;border-radius:0px;background-image:initial;background-position:0px 50%;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box;font-size:14px;min-height:inherit;white-space:nowrap;color:rgb(0,153,0)">10".</code></div><div>is always present. I looked into the source code, which corresponds to the switch_rtp.c file, it seems like the "srtp_protect()" function, which transforms/encrypts an RTP packet into SRTP packet, returns an error code. I tried by patching it with the changes here: <a href="https://freeswitch.org/jira/browse/FS-10667" target="_blank">https://freeswitch.org/jira/br<wbr>owse/FS-10667</a>, since it seemed like a similar issue, but it didn't work either. I understand there are several ways to go about this: 1) stick a debugger or 2) try out the latest version. </div><div><br></div><div>[Question]</div><div>Without other major changes, what else would you recommend me to look at? More importantly, has anyone seen this strange behavior of FreeSWITCH before? </div><div><br></div><div>I appreciate your effort with FreeSWITCH so far and would love to hear your thoughts! </div><div><br></div><div>Thanks,</div><div>Richard</div></div></div><div><br></div>-- <br><div class="m_3576285379286139422m_555457311130920435gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Richard Hsu<div>Massachusetts Institute of Technology </div><div>Department of Electrical Engineering and Computer Science </div><div>Class of 2016</div></div></div>
</div>