<div dir="ltr"><div>to share my test results:<br></div><div><br></div><div>i tried this out anyway by adding --reject and after did some manual work, i can now build mod_opus.dll with vs2010 and tested it with FS running under windows server 2008, it works perfect!</div>
<div><br></div><div>many thanks to all for your help!</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/3 Peter Olsson <span dir="ltr">&lt;<a href="mailto:peter@olssononline.se" target="_blank">peter@olssononline.se</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ok, the patch is probably out dated then. I&#39;ll try to upload a new patch this evening, or sometime tomorrow.</div>
<div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/3 Vincent Xia <span dir="ltr">&lt;<a href="mailto:gmangudai@gmail.com" target="_blank">gmangudai@gmail.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">hmmm... after git cloned the latest version and run git apply win-opus-build-patch.txt, i got the following prompts:<div>

<br></div><div><div>$ git apply win-opus-build-patch.txt</div><div>win-opus-build-patch.txt:37: trailing whitespace.</div>
<div>Project(&quot;{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}&quot;) = &quot;Download OPUS&quot;, &quot;libs\win32</div><div>\Download OPUS.2010.vcxproj&quot;, &quot;{092124C9-09ED-43C7-BD6D-4AE5D6B3C547}&quot;</div><div>win-opus-build-patch.txt:38: trailing whitespace.</div>


<div>EndProject</div><div>win-opus-build-patch.txt:39: trailing whitespace.</div><div>Project(&quot;{2150E333-8FDC-42A3-9474-1A3956D46DE8}&quot;) = &quot;opus&quot;, &quot;opus&quot;, &quot;{ED2CA8B5-8</div><div>E91-4296-A120-02BB0B674652}&quot;</div>


<div>win-opus-build-patch.txt:40: trailing whitespace.</div><div>EndProject</div><div>win-opus-build-patch.txt:41: trailing whitespace.</div><div>Project(&quot;{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}&quot;) = &quot;opus&quot;, &quot;libs\win32\opus\opu</div>


<div>s.2010.vcxproj&quot;, &quot;{FD60942F-72D6-4CA1-8B57-EA1D1B95A89E}&quot;</div><div>error: patch failed: Freeswitch.2010.sln:572</div><div>error: Freeswitch.2010.sln: patch does not apply</div><div>error: patch failed: Freeswitch.2012.sln:577</div>


<div>error: Freeswitch.2012.sln: patch does not apply</div></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/3 Peter Olsson <span dir="ltr">&lt;<a href="mailto:peter@olssononline.se" target="_blank">peter@olssononline.se</a>&gt;</span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You need to apply the patch to freeswitch git repo. Run &quot;git apply <span style="font-family:arial,sans-serif;font-size:13px">win-opus-build-</span><span style="font-family:arial,sans-serif;font-size:13px">patch.txt</span>&quot; in the fs root directory.<div>



<br></div><div>Also, there was an update on the issue that the patch might not succeed on current git head, but I didn&#39;t have time to try it out myself yet.</div><span><font color="#888888"><div><br></div>
<div>/Peter</div></font></span></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/12/3 Vincent Xia <span dir="ltr">&lt;<a href="mailto:gmangudai@gmail.com" target="_blank">gmangudai@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir="ltr">i&#39;d like to have test over this, but where to get the patch, i only see the attachment win-opus-build-patch.txt, but where are the .vcproj and .vcxproj.filters, sorry im new to jira.</div><div class="gmail_extra">




<br><br><div class="gmail_quote">2013/9/5 Jeff Leung <span dir="ltr">&lt;<a href="mailto:jleung@v10networks.ca" target="_blank">jleung@v10networks.ca</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




Perfect, I&#39;ll try it out when I have the time to do so.<br>
<br>
Thanks for going to places where I wouldn&#39;t have normally went through ;)<br>
<div><br>
Peter Olsson &lt;<a href="mailto:peter@olssononline.se" target="_blank">peter@olssononline.se</a>&gt; wrote:<br>
<br>
I just wanted to notify that there is a patch available for this now<br>
(FS-5704). It has not yet been commited to git though. If anyone want to<br>
test it out, please apply the patch manually.<br>
<br>
/Peter<br>
<br>
9 jul 2013 kl. 08:09 skrev Peter Olsson &lt;<a href="mailto:peter@olssononline.se" target="_blank">peter@olssononline.se</a>&gt;:<br>
<br>
I think so too. I&#39;ve started on a complete patch for the Windows build,<br>
hopefully I will have some time during this week to complete it. I&#39;ll<br>
submit this to Jira when finished.<br>
<br>
<br>
2013/7/8 Michael Jerris &lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;<br>
<br>
&gt; Are you sure symbol visibility is a problem even if these are in different<br>
&gt; dll&#39;s ?  I think this shouldn&#39;t be an issue.<br>
&gt;<br>
&gt; Mike<br>
&gt;<br>
&gt; On Jul 6, 2013, at 12:10 PM, Jeff Leung &lt;<a href="mailto:jleung@v10networks.ca" target="_blank">jleung@v10networks.ca</a>&gt; wrote:<br>
&gt;<br>
&gt; The project was within FreeSWITCH, but the problem is because the way how<br>
&gt; the opus lib builds, it includes silk and celt and I wasn’t going to have<br>
&gt; FS to build all of that in tree because I was afraid the symbols from OPUS<br>
</div>&gt; would conflict with the symbols in CELT and SILK.****<br>
&gt;<br>
&gt; *From:* <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-" target="_blank">freeswitch-</a><br>
&gt; <a href="mailto:users-bounces@lists.freeswitch.org" target="_blank">users-bounces@lists.freeswitch.org</a>] *On Behalf Of *Peter Olsson<br>
&gt; *Sent:* Saturday, July 6, 2013 2:02 AM<br>
&gt; *To:* FreeSWITCH Users Help<br>
&gt; *Subject:* Re: [Freeswitch-users] mod_opus codec on Windows****<br>
&gt; ** **<br>
<div>&gt; Ah, ok. So you did the build of the lib outside fs, and then just pointed<br>
</div>&gt; to the built library?****<br>
&gt; ** **<br>
<div>&gt; I&#39;ll start working to get this integrated in the Windows build, by<br>
</div>&gt; downloading the lib source files, unpacking them, and then building them.*<br>
&gt; ***<br>
&gt; ** **<br>
<div>&gt; I will submit a Jira as soon as I have some progress. I might get back to<br>
</div>&gt; you with further questions.****<br>
&gt; ** **<br>
&gt; /Peter****<br>
&gt;<br>
&gt; ** **<br>
&gt; 2013/7/6 Jeff Leung &lt;<a href="mailto:jleung@v10networks.ca" target="_blank">jleung@v10networks.ca</a>&gt;****<br>
<div><div>&gt; The project file is nothing more than having mod_opus to point to an out of<br>
&gt; tree directory where the actual opus binary libs are built.<br>
&gt;<br>
&gt; The binaries I did was basically a bunch of hacks, there is quite some work<br>
&gt; needed to be done with integrating the build process of opus with<br>
&gt; FreeSWITCH&#39;s VS solution file<br>
&gt;<br>
&gt; &gt; -----Original Message-----<br>
&gt; &gt; From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-" target="_blank">freeswitch-</a><br>
&gt; &gt; <a href="mailto:users-bounces@lists.freeswitch.org" target="_blank">users-bounces@lists.freeswitch.org</a>] On Behalf Of Peter Olsson<br>
&gt; &gt; Sent: Saturday, July 6, 2013 12:07 AM<br>
&gt; &gt; To: FreeSWITCH Users Help<br>
&gt; &gt; Subject: Re: [Freeswitch-users] mod_opus codec on Windows<br>
&gt; &gt;<br>
&gt; &gt; Good work! Could you also please file a Jira, and upload the project<br>
&gt; files<br>
&gt; and<br>
&gt; &gt; modifications that you&#39;ve made for this to work? I&#39;d be happy to assist<br>
&gt; and<br>
&gt; &gt; get this commited.<br>
&gt; &gt;<br>
&gt; &gt; /Peter<br>
&gt; &gt;<br>
&gt; &gt; 6 jul 2013 kl. 08:20 skrev Jeff Leung &lt;<a href="mailto:jleung@v10networks.ca" target="_blank">jleung@v10networks.ca</a>&gt;:<br>
&gt; &gt;<br>
&gt; &gt; &gt; As I heard on last Wednesday&#39;s conference call, mod_opus isn&#39;t<br>
&gt; &quot;available&quot;<br>
&gt; &gt; &gt; on Windows, basically meaning that FreeSWITCH users can&#39;t fully<br>
&gt; &gt; &gt; implement WebRTC on Windows Platforms just yet.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I have taken the steps to have the codec successfully build on this<br>
&gt; &gt; &gt; platform; However it&#39;s a pain in the neck to build as the opus library<br>
&gt; &gt; &gt; generates multiple libs which includes CELT and SILK codecs (Go<br>
&gt; figure).<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Shoot me a message off-list if you would like to use the binary I&#39;ve<br>
&gt; &gt; &gt; built for Win64 platforms.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Before anybody asks for a 32-bit binary, the short answer is going to<br>
&gt; be<br>
&gt; no.<br>
&gt; &gt; &gt; I won&#39;t be providing a 32-bit binary as I intend this binary to be<br>
&gt; &gt; &gt; used in a production environment.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>