Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recompile the webRTC libs #3

Open
AlexOhayon opened this issue Apr 25, 2014 · 2 comments
Open

Recompile the webRTC libs #3

AlexOhayon opened this issue Apr 25, 2014 · 2 comments

Comments

@AlexOhayon
Copy link

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
Copy link

gandg commented Apr 29, 2014

Hello

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

Apologies on the late reply,
—Gregg

From: AlexOhayon <[email protected]mailto:[email protected]>
Reply-To: newOcean/webrtc-ios <[email protected]mailto:[email protected]>
Date: Friday, April 25, 2014 at 11:35 AM
To: newOcean/webrtc-ios <[email protected]mailto:[email protected]>
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//issues/3.

@AlexOhayon
Copy link
Author

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: [email protected]
To: [email protected]
CC: [email protected]
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 <[email protected]mailto:[email protected]>

Reply-To: newOcean/webrtc-ios <[email protected]mailto:[email protected]>

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

To: newOcean/webrtc-ios <[email protected]mailto:[email protected]>

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//issues/3.


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants