-
Notifications
You must be signed in to change notification settings - Fork 108
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
Error when Building WebRTC native-code #98
Comments
This is because there was a jpeg related commit in the WebRTC native code package. The jpeg patch has not been applied to the rws master yet. Since then, the patch has been applied to the current local master, but there is a bug in the WebRTC native code package or a problem that an additional API has not been applied, so it operates only at a specific commit position. To use the current master brach, please use the comit position indicated at 8ff2e5d. |
@SourceCodeZone I think, i failed to make it clear. Rather than using the RWS commit mentioned at 8ff2e5d, it meant moving the commit position of the WebRTC native code to that location and doing the build again.
|
So do I need to run below command before running above command
|
You need the WebRTC code package to go to a specific commit location, so it is correct to fetch native code at first. |
Anyway, jpeg or pulse related include error can be solved by adding libjpeg and libpulse to rpi_rootfs below. It will build normally up to RWS, but the current master does not work with the latest WebRTC native code.
|
Ok thanks for the valuable information. I have one more doubt, I have to access the rasberryPi camera publicly without port-forwarding, I found the webrtc can use in such a situation for peer to peer communication. Like my RPi will be in local network and a webserver is installed in Godaddy with html page whch should display the live feed from Rpi. Is this possible with rpi-webrtc-streamer |
@SourceCodeZone The content of the question is not related to this issue. In browser, WebRTC can be used as http in local network. However, in remote network (ie public network), you need to use https to use WebRTC. |
Sorry for asking anyway my doubt is clear, I have one more issue, the command
Got following error. Linking C executable cmTC_84429 CMake will not be able to correctly generate this project. -- Configuring incomplete, errors occurred! Edit: I tried to install libwebsockets on rpi_rootfs by
|
libwebsockets used by rws uses the lib/libwebsockets-3.1.zip source file in rws repo. Be sure to delete libwebsockets-dev installed in rpi_rootfs. |
I remove it and run make again still having the first error. |
Is your OS not Ubuntu?
|
Yes Ubuntu 16.04
|
I think there is a problem building libwebsockets. Please do as below.
If the same problem persists, please check if there are any files related to libwebsockets in rpi_rootfs/rootfs.
|
Please not the error And the command
I am using latest image for rootfs |
The problem is GLIBC_2.27. I think you should upgrade as Ubuntu 18.04. |
At the moment I couldn't, my server and most of the project working on Ubuntu 16.04, is there any way to GLIBC_2.27 in 16.04. Also one doubt the GLIBC_2.27 problem is in cross compiler or in my Ubuntu OS |
you should find and install the cross compiler for raspberry pi for Ubuntu 16.04. For now, you can find it at https://github.com/abhiTronix/raspberry-pi-cross-compilers or by googling. |
Fixing libpulse and libjpeg args.gn issue(#98) Fixing video codec sdp problem after patch('Distinguish between send and receive codecs.') of WebRTC natvie code - raspi_encoder_impl.cc EncodedImage set_buffer API changing Cr-Commit-Position: refs/heads/master@{#31187} WebRTC commit position: 435fb9ad06a2fd20b31fae4eda4e2f5bfe32d293
you need to add libpulse and libjpeg to rpi_rootfs as below.
Please update the native code to the latest version as shown below.
Also update rws to the latest master and build native code and rws as shown below.
|
Hi kclyu. I know this thread is old and it is for
I have the same problem as I tried to build I can successfully build Now, I have pulled your latest So I have same problem but I run
With run, it is successful and I think it installs into
My
When I run Any ideas? Help please. Thank you. 👍 :-) EDIT: back reference to #124 (comment) to make it easier to find stuff. |
I'm getting the following error at step 3.2 of Building WebRTC native-code, and when executing
gn gen out/arm_build
:The text was updated successfully, but these errors were encountered: