newOcean / webrtc-ios

webrtc build on ios
50 stars 177 forks source link

Recompile the webRTC libs #3

Open AlexOhayon opened 10 years ago

AlexOhayon commented 10 years ago

Thanks for your amazing work on this project. I've tried to recompile the all the webRTC libs of the projects. I tried using the branch 3.46 of webRTC, and adding all the files included in newOcean git, but I couldn't get it working. I wanted to know which version of the svn you used to compile properly the libs. I also tried to compile the RTC libs using gandg's project, using the 3.46 and adding all the files included in his folder /objc from the GIT, but it looks like other files have been modified somewhere else to make the video work. Does someone have a idea of how to compile properly the libs? Is there a way to compile the libs properly with the latest branch (3.52, branched from revision 5857)?

gandg commented 10 years ago

Hello

This issue was fixed today – please pull down the latest code.

Apologies on the late reply, —Gregg

From: AlexOhayon notifications@github.com<mailto:notifications@github.com> Reply-To: newOcean/webrtc-ios reply@reply.github.com<mailto:reply@reply.github.com> Date: Friday, April 25, 2014 at 11:35 AM To: newOcean/webrtc-ios webrtc-ios@noreply.github.com<mailto:webrtc-ios@noreply.github.com> Subject: [webrtc-ios] Recompile the webRTC libs (#3)

Thanks for your amazing work on this project. I've tried to recompile the all the webRTC libs of the projects. I tried using the branch 3.46 of webRTC, and adding all the files included in newOcean git, but I couldn't get it working. I wanted to know which version of the svn you used to compile properly the libs. I also tried to compile the RTC libs using gandg's project, using the 3.46 and adding all the files included in his folder /objc from the GIT, but it looks like other files have been modified somewhere else to make the video work. Does someone have a idea of how to compile properly the libs? Is there a way to compile the libs properly with the latest branch (3.52, branched from revision 5857)?

— Reply to this email directly or view it on GitHubhttps://github.com/newOcean/webrtc-ios/issues/3.

AlexOhayon commented 10 years ago

Hi Gregg, Thanks for the update. I checked out the new version of the GIT you uploaded yesterday and tried to recompile the libs. My goal is simple: having your project working with my own compilation of the libs. To do this, I downloaded the branch 3.46 from WebRTC repo (corresponding to revision 5080). Then I replaced the files included in the folder talk/app/webrtc/obj with the files included in your github repo. Then I modified libjingle.gyp to include the compilation of RTCDataChannel.Then launched the compilation of the libs using ninja. In the end, I get the libs.a for armv7. I replace the existing libs by the recently compiled ones, and run the app. The app properly compiles. but then, it crashes: the compiler shows an error appearing in an stl_vector from C++ libs from iOS7.1 at the following line: { return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); } . In reality, it looks like the RTCPeerConnectionFactory is not initialized correctly (called in onICEServers method in AppDelegate).

The only thing I did was replacing the existing libs and header. Do you have an idea of what I'm missing in the compilation of the libs? Are you sure there is nothing else to add or modify in the WebRTC Trunk before compiling the libs? Thanks a lot for your help.Alex

Date: Tue, 29 Apr 2014 13:20:37 -0700 From: notifications@github.com To: webrtc-ios@noreply.github.com CC: alexandre.ohayon@outlook.com Subject: Re: [webrtc-ios] Recompile the webRTC libs (#3)

Hello

This issue was fixed today – please pull down the latest code.

Apologies on the late reply,

—Gregg

From: AlexOhayon notifications@github.com<mailto:notifications@github.com>

Reply-To: newOcean/webrtc-ios reply@reply.github.com<mailto:reply@reply.github.com>

Date: Friday, April 25, 2014 at 11:35 AM

To: newOcean/webrtc-ios webrtc-ios@noreply.github.com<mailto:webrtc-ios@noreply.github.com>

Subject: [webrtc-ios] Recompile the webRTC libs (#3)

Thanks for your amazing work on this project. I've tried to recompile the all the webRTC libs of the projects. I tried using the branch 3.46 of webRTC, and adding all the files included in newOcean git, but I couldn't get it working. I wanted to know which version of the svn you used to compile properly the libs.

I also tried to compile the RTC libs using gandg's project, using the 3.46 and adding all the files included in his folder /objc from the GIT, but it looks like other files have been modified somewhere else to make the video work. Does someone have a idea of how to compile properly the libs? Is there a way to compile the libs properly with the latest branch (3.52, branched from revision 5857)?

Reply to this email directly or view it on GitHubhttps://github.com/newOcean/webrtc-ios/issues/3.

— Reply to this email directly or view it on GitHub.