The bug: https://project.freertc.org/issues/28 which I have to solve depends on one other bug: https://project.freertc.org/issues/27 . My task is to enable webRTC client support which includes the conference call feature and for implementing this I need to introduce libjingle in resiprocate project.
Currently the resiprocate uses sipX API for connection. This api lacks in providing many codecs and protocols for the webrtc interoperability. More information about this is given here: https://www.resiprocate.org/bugzilla/show_bug.cgi?id=93.
Downloading libjingle source code was not easy because libjingle has been moved from stand alone project and merged to the webrtc. On googling I got some libjingle version from http://www.antepedia.com/detail/p/libjingle.html.
I have downloaded two versions 0.4.0 and 0.6.14 and tried to compile them. On compiling both the version I got too many errors, many files didn't include the header file and many files contains c++11 features. To compile the c++11 features I need to pass the flag 'std=c++11' to the compiler. Also third party application scons(www.scons.org) was used for compiling and making the object and executable file of the libjingle. Linking library in scons was time taking task.
After modifying more than 20 files, I successfully compiled both the versions and both are ready to use. I have uploaded all the files to github:
libjingle version 0.4.0: https://github.com/udit043/libjingle-0.4.0
libjingle version 0.6.14: https://github.com/udit043/libjingle-0.6.14
I have to implement the libjingle in the branch 'b-counterpath-recon-20130424': https://github.com/resiprocate/resiprocate/tree/b-counterpath-recon-20130424
I have created one branch 'udit-webrtc': https://github.com/udit043/resiprocate/tree/udit-webrtc
This branch was created with branch 'b-counterpath-recon-20130424' and then merged with the master. But on merging there were some Merge Conflicts mainly inside the 'reflow' directory.
In next week I will try to solve merge conflicts and integrate libjingle with resiprocate.On 20 June 2016 at 17:46, Udit Raikwar <email@example.com> wrote:Hello,Last week I had updated all the files inside resiprocate project, there were 32 files that needed to be updated. Also I had created a Pull Request: 32 files updated, 1 file created and configure.ac file updated for successful build in Travis-CI, For quick view of all the files that I have updated please visit.During fourth week I have updated Errdes.hxx header file for printing the error message with the error number.E.g. If error number is 22 then log error message will be,“socket error EINVAL (Invalid argument) 22”If error number is negative or unknown error occur then log message will be,“socket error Unknown error errno” (e.g. “socket error Unknown error -48”)I have also made documentation of the bug that I have solved. I have started working on next bug which I have to solve.On 14 June 2016 at 12:28, Udit Raikwar <firstname.lastname@example.org> wrote:During third week I have updated all the files inside resiprocate project that contains numeric error codes, there were 32 files that needed to be updated, 32 files which I have updated are as follow:-> resiprocate/resip/stack-> resiprocate/resip/stack/test-> resiprocate/resip/stack/ssl-> resiprocate/resip/recon/MOHParkServer-> resiprocate/rutil-> resiprocate/tfm-> resiprocate/repro-> resiprocate/apps/clicktocall-> resiprocate/apps/ichat-gwOne new header file created in directory:-> resiprocate/rutil- Created Pull Request:On 7 June 2016 at 00:56, Udit Raikwar <email@example.com> wrote:Hello,I have done following things in past two weeks :Week 1:- Successfully installed and configured resiprocate.- Read codes and discuss with mentor about the format of logging message.- Define new functions for converting error codes into string.- (eg “socket error 22” into “socket error EINVAL (Invalid argument)”)- Successfully test it on TlsConnection.cxx fileWeek 2:- Update header file with new functions.- Update files inside-> Resip/Stack-> Resip/Stack/Test-> Resip/Stack/SSL-> Resip/Stack/Recon- Created Pull RequestIn the next week i will update all other files inside resiprocate project and commit it to the repository and update the pull request.--------