[Freeswitch-users] mod_opus codec on Windows

Peter Olsson peter at olssononline.se
Tue Dec 3 14:47:04 MSK 2013


Ok, the patch is probably out dated then. I'll try to upload a new patch
this evening, or sometime tomorrow.


2013/12/3 Vincent Xia <gmangudai at gmail.com>

> hmmm... after git cloned the latest version and run git apply
> win-opus-build-patch.txt, i got the following prompts:
>
> $ git apply win-opus-build-patch.txt
> win-opus-build-patch.txt:37: trailing whitespace.
> Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download OPUS",
> "libs\win32
> \Download OPUS.2010.vcxproj", "{092124C9-09ED-43C7-BD6D-4AE5D6B3C547}"
> win-opus-build-patch.txt:38: trailing whitespace.
> EndProject
> win-opus-build-patch.txt:39: trailing whitespace.
> Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "opus", "opus",
> "{ED2CA8B5-8
> E91-4296-A120-02BB0B674652}"
> win-opus-build-patch.txt:40: trailing whitespace.
> EndProject
> win-opus-build-patch.txt:41: trailing whitespace.
> Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "opus",
> "libs\win32\opus\opu
> s.2010.vcxproj", "{FD60942F-72D6-4CA1-8B57-EA1D1B95A89E}"
> error: patch failed: Freeswitch.2010.sln:572
> error: Freeswitch.2010.sln: patch does not apply
> error: patch failed: Freeswitch.2012.sln:577
> error: Freeswitch.2012.sln: patch does not apply
>
>
>
> 2013/12/3 Peter Olsson <peter at olssononline.se>
>
>> You need to apply the patch to freeswitch git repo. Run "git apply
>> win-opus-build-patch.txt" in the fs root directory.
>>
>> Also, there was an update on the issue that the patch might not succeed
>> on current git head, but I didn't have time to try it out myself yet.
>>
>> /Peter
>>
>>
>> 2013/12/3 Vincent Xia <gmangudai at gmail.com>
>>
>>> i'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.
>>>
>>>
>>> 2013/9/5 Jeff Leung <jleung at v10networks.ca>
>>>
>>>> Perfect, I'll try it out when I have the time to do so.
>>>>
>>>> Thanks for going to places where I wouldn't have normally went through
>>>> ;)
>>>>
>>>> Peter Olsson <peter at olssononline.se> wrote:
>>>>
>>>> I just wanted to notify that there is a patch available for this now
>>>> (FS-5704). It has not yet been commited to git though. If anyone want to
>>>> test it out, please apply the patch manually.
>>>>
>>>> /Peter
>>>>
>>>> 9 jul 2013 kl. 08:09 skrev Peter Olsson <peter at olssononline.se>:
>>>>
>>>> I think so too. I've started on a complete patch for the Windows build,
>>>> hopefully I will have some time during this week to complete it. I'll
>>>> submit this to Jira when finished.
>>>>
>>>>
>>>> 2013/7/8 Michael Jerris <mike at jerris.com>
>>>>
>>>> > Are you sure symbol visibility is a problem even if these are in
>>>> different
>>>> > dll's ?  I think this shouldn't be an issue.
>>>> >
>>>> > Mike
>>>> >
>>>> > On Jul 6, 2013, at 12:10 PM, Jeff Leung <jleung at v10networks.ca>
>>>> wrote:
>>>> >
>>>> > The project was within FreeSWITCH, but the problem is because the way
>>>> how
>>>> > the opus lib builds, it includes silk and celt and I wasn’t going to
>>>> have
>>>> > FS to build all of that in tree because I was afraid the symbols from
>>>> OPUS
>>>> > would conflict with the symbols in CELT and SILK.****
>>>> >
>>>> > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
>>>> freeswitch-
>>>> > users-bounces at lists.freeswitch.org] *On Behalf Of *Peter Olsson
>>>> > *Sent:* Saturday, July 6, 2013 2:02 AM
>>>> > *To:* FreeSWITCH Users Help
>>>> > *Subject:* Re: [Freeswitch-users] mod_opus codec on Windows****
>>>> > ** **
>>>> > Ah, ok. So you did the build of the lib outside fs, and then just
>>>> pointed
>>>> > to the built library?****
>>>> > ** **
>>>> > I'll start working to get this integrated in the Windows build, by
>>>> > downloading the lib source files, unpacking them, and then building
>>>> them.*
>>>> > ***
>>>> > ** **
>>>> > I will submit a Jira as soon as I have some progress. I might get
>>>> back to
>>>> > you with further questions.****
>>>> > ** **
>>>> > /Peter****
>>>> >
>>>> > ** **
>>>> > 2013/7/6 Jeff Leung <jleung at v10networks.ca>****
>>>> > The project file is nothing more than having mod_opus to point to an
>>>> out of
>>>> > tree directory where the actual opus binary libs are built.
>>>> >
>>>> > The binaries I did was basically a bunch of hacks, there is quite
>>>> some work
>>>> > needed to be done with integrating the build process of opus with
>>>> > FreeSWITCH's VS solution file
>>>> >
>>>> > > -----Original Message-----
>>>> > > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:
>>>> freeswitch-
>>>> > > users-bounces at lists.freeswitch.org] On Behalf Of Peter Olsson
>>>> > > Sent: Saturday, July 6, 2013 12:07 AM
>>>> > > To: FreeSWITCH Users Help
>>>> > > Subject: Re: [Freeswitch-users] mod_opus codec on Windows
>>>> > >
>>>> > > Good work! Could you also please file a Jira, and upload the project
>>>> > files
>>>> > and
>>>> > > modifications that you've made for this to work? I'd be happy to
>>>> assist
>>>> > and
>>>> > > get this commited.
>>>> > >
>>>> > > /Peter
>>>> > >
>>>> > > 6 jul 2013 kl. 08:20 skrev Jeff Leung <jleung at v10networks.ca>:
>>>> > >
>>>> > > > As I heard on last Wednesday's conference call, mod_opus isn't
>>>> > "available"
>>>> > > > on Windows, basically meaning that FreeSWITCH users can't fully
>>>> > > > implement WebRTC on Windows Platforms just yet.
>>>> > > >
>>>> > > > I have taken the steps to have the codec successfully build on
>>>> this
>>>> > > > platform; However it's a pain in the neck to build as the opus
>>>> library
>>>> > > > generates multiple libs which includes CELT and SILK codecs (Go
>>>> > figure).
>>>> > > >
>>>> > > > Shoot me a message off-list if you would like to use the binary
>>>> I've
>>>> > > > built for Win64 platforms.
>>>> > > >
>>>> > > > Before anybody asks for a 32-bit binary, the short answer is
>>>> going to
>>>> > be
>>>> > no.
>>>> > > > I won't be providing a 32-bit binary as I intend this binary to be
>>>> > > > used in a production environment.
>>>> > > >
>>>> > > >
>>>> >
>>>> >
>>>> >
>>>> _________________________________________________________________________
>>>> > Professional FreeSWITCH Consulting Services:
>>>> > consulting at freeswitch.org
>>>> > http://www.freeswitchsolutions.com
>>>> >
>>>> > 
>>>> > 
>>>> >
>>>> > Official FreeSWITCH Sites
>>>> > http://www.freeswitch.org
>>>> > http://wiki.freeswitch.org
>>>> > http://www.cluecon.com
>>>> >
>>>> > FreeSWITCH-users mailing list
>>>> > FreeSWITCH-users at lists.freeswitch.org
>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> > UNSUBSCRIBE:
>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> > http://www.freeswitch.org
>>>> >
>>>> >
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> 
>>>> 
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://wiki.freeswitch.org
>>>> http://www.cluecon.com
>>>>
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:
>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org
>>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> 
>>> 
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131203/43c141bd/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list