Giter Site home page Giter Site logo

ericssonresearch / openwebrtc Goto Github PK

View Code? Open in Web Editor NEW
1.8K 184.0 536.0 1.55 MB

A cross-platform WebRTC client framework based on GStreamer

Home Page: http://www.openwebrtc.org

License: BSD 2-Clause "Simplified" License

Java 0.02% Makefile 2.05% Shell 0.45% C 69.72% HTML 0.82% Python 11.38% JavaScript 13.92% Objective-C 0.49% M4 1.15%

openwebrtc's Introduction

OWR Logo

A flexible, mobile-first, cross-platform WebRTC client framework based on GStreamer. OpenWebRTC currently supports iOS, Android, Mac OS X and Linux. Windows support is quite doable too if needed.

Note: OpenWebRTC is currently not being actively maintained.

Also note that the upcoming gstreamer release 1.14 will have built in support for WebRTC.

Releases

Downloadable binary releases are available here.

API Documentation

API documentation is available here.

Examples using OpenWebRTC

Bowser is a mobile browser that uses OpenWebRTC as a WebRTC back-end. As you can see here, Bowser is in fact a very thin layer of UI code on top of OpenWebRTC.

We are also writing some example code and applications to help you get started using OpenWebRTC on various platforms.

Before being released publicly, OpenWebRTC has been used by Ericsson Research to build several research prototypes such as this and that.

Building

Take a look at the Building OpenWebRTC wiki page for information about how to build the framework.

Community

For support, questions and discussions:

License

OpenWebRTC is released under BSD-2 clause. See LICENSE for details.

Background

OpenWebRTC is built on the belief that the WebRTC standard would transcend the pure browser environment and that native apps, implementing the same protocols and API's, would become an important part of the WebRTC ecosystem. This is especially true on mobile platforms where native app distribution is often preferred over pure web apps. Native OpenWebRTC apps can either talk to other native apps or browsers that support WebRTC. OpenWebRTC can also provide the WebRTC-backend to web browsers.

Having independent, interoperable, implementations is important for the health of any standard, and WebRTC is no exception. The ambition of OpenWebRTC is to follow the WebRTC standard closely as it continues to evolve.

Architecture

OpenWebRTC was designed for flexibility and modularity. The bulk of the API layer is implemented in JavaScript, making it super fast to modify and extend with new functionality. Below is a simplified sketch of the architecture.

Simplified architecture

Applications built on top of OpenWebRTC will be interoperable with popular WebRTC-enabled browsers such as Chrome and Firefox.

openwebrtc's People

Contributors

adam-be avatar alessandrod avatar clementperon avatar daniellindstrm avatar danips avatar ford-prefect avatar gkiagia avatar hedbergmartin avatar ijsf avatar ikonst avatar joanmarie avatar joseph-onsip avatar kraj avatar krido avatar mannychang avatar morganlindqvist avatar nakyup avatar ncommander avatar nirbheek avatar ossy-szeged avatar pererikb avatar philn avatar sdroege avatar stefanalund avatar stefhak avatar superdump avatar ystreet avatar zaheerm avatar zzoon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openwebrtc's Issues

Ubuntu 14.04 LTS 64 build fails

Build error on Ubuntu 14.04 LTS 64.
./build-all.sh -r linux android

Now type `make' to compile seed
make  all-recursive
make[1]: Entering directory `/home/vagrant/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/seed'
Making all in po
make[2]: Entering directory `/home/vagrant/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/seed/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/vagrant/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/seed/po'
Making all in libseed
make[2]: Entering directory `/home/vagrant/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/seed/libseed'
CC       libseed-gtk3_la-seed-closure.lo
In file included from /home/vagrant/openwebrtc/scripts/dependencies/seed/libseed/seed-closure.c:20:0:
/home/vagrant/openwebrtc/scripts/dependencies/seed/libseed/seed-private.h:31:26: fatal error: girepository.h: No such file or directory
#include <girepository.h>
                      ^
compilation terminated.
make[2]: *** [libseed-gtk3_la-seed-closure.lo] Error 1
make[2]: Leaving directory `/home/vagrant/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/seed/libseed'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vagrant/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/seed'
make: *** [all] Error 2
Failed building...seed
mv seed seed_build_failed_on_141105-11:40:09_using_script_with_md5sum_ac300001e080116415c80d204f6e48521956eada

Cocoapods / Podspec for iOS / OS X targets

To ease integration for iOS / OS X targets, a semi-official podspec would be useful for other developers. If I create one, would this be something you would consider merging?

STUN and TURN domain resolution

libnice does not support domain name resolution, meaning that web apps need to provide IP addresses when configuring STUN/TURN in PeerConnections:

var configuration = { "iceServers": [{ "url": "stun:132.177.123.6" }] };
pc = new webkitRTCPeerConnection(configuration);

This is cannot be solved in OpenWebRTC, only in libnice itself.

Fake video element is not fully created when when added to DOM

owr.js clobbers the video element with an image div but then only adds the play method after the result of renderSources() comes back from the daemon. In the meantime the page has a half-formed fake video element (without the play() method etc). This can cause the application to fail if it tries to call one of these methods before the daemon returns with the result of renderSources().

Building with -m flag impossible

Currently it's impossible to use the -m flag with build.sh. When ./build.sh -m <platform> is invoked, build.sh tells that the -d flag or -r flag must be given.

> ./build.sh -m android
When building, either option -d or option -r must be given
...

But if the -d flag (or the -r flag) is given, build.sh tells that -m cannot be combined with any other option.

./build.sh -m -d android
-m cannot be combined with any other option
...

So currently it's impossible to invoke build.sh using the -m flag.

Make offer generated by "createOffer" spec compliant

Offers generated now miss ICE-ufrag and password as well as DTLS fingerprint, meaning they can't be sent to the other side (you have to do setLocal and fetch the local config and send that one).

According to the spec you should be able to send the offer generated by createOffer (it should be complete with ufrag, pw and fingerprint). We should fix this.

Build fails after repo sync -Ubuntu 14.04 linux android

seed dependency build error still exists. I used the Git help documents to update my repo with the openwebrtc master (commands below). Am I driving myself crazy doing the update this way? Or did the issue fix not make it into the master scripts/dependency tree? Git reported 5 files changed from master and updated my repos. Also, says my repos is in sync with master. My eyeballs are annihilated so could be my fault, but can't get it to work. Help.

git remote add upstream https://github.com/EricssonResearch/openwebrtc.git
git fetch upstream
git checkout master
git merge upstream/master
git push origin master

Ubuntu 14.04 LTS
scripts/dependencies step
./build-all.sh -r linux android

Build Errors

Now type `make' to compile seed
make  all-recursive
make[1]: Entering directory `/home/vagrant/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/seed'
Making all in po
make[2]: Entering directory `/home/vagrant/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/seed/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/vagrant/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/seed/po'
Making all in libseed
make[2]: Entering directory `/home/vagrant/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/seed/libseed'
CC       libseed-gtk3_la-seed-closure.lo
In file included from /home/vagrant/openwebrtc/scripts/dependencies/seed/libseed/seed-closure.c:20:0:
/home/vagrant/openwebrtc/scripts/dependencies/seed/libseed/seed-private.h:31:26: fatal error: girepository.h: No such file or directory
#include <girepository.h>
                      ^
compilation terminated.
make[2]: *** [libseed-gtk3_la-seed-closure.lo] Error 1
make[2]: Leaving directory `/home/vagrant/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/seed/libseed'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vagrant/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/seed'
make: *** [all] Error 2
Failed building...seed
mv seed seed_build_failed_on_141106-06:29:28_using_script_with_md5sum_ac300001e080116415c80d204f6e48521956eada

Build error build-gnutls.sh

Build host: Mac OSX Yosemite

./build-all.sh -r android

/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in .
make[6]: Nothing to be done for `all-am'.
CC       base64.lo
CC       c-ctype.lo
CC       hash-pjw-bare.lo
CC       read-file.lo
CC       sys_socket.lo
CC       u64.lo
CC       unistd.lo
CC       xsize.lo
CC       asnprintf.lo
CC       getdelim.lo
CC       getline.lo
CC       gettimeofday.lo
CC       memchr.lo
CC       printf-args.lo
CC       printf-parse.lo
CC       snprintf.lo
CC       strverscmp.lo
CC       vasnprintf.lo
CC       vsnprintf.lo
CCLD     libgnu.la
/Users/storm/.meteor/android_bundle/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ar: /Users/storm/Documents/Dev/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/gnutls/gl/.libs/libgnu.a: No such file or directory
make[4]: *** [libgnu.la] Error 9
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Failed building...gnutls
mv gnutls gnutls_build_failed_on_141104-17:15:26_using_script_with_md5sum_e3da56417341741ba9eff41effc070dcb004a660

Avoid unnecessary ICE candidate gathering

As in pull request #40 there are some more changes that would be good to do with regard to ICE candidate gathering. We want to avoid doing ICE candidate gathering for the RTCP component when it's not needed and can be avoided.

  • In the offer-answer model, the side that offers does not yet know whether rtcp-mux is supported and so needs to set up as if rtcp-mux were false and later switch to rtcp-mux if the other side does support it. This is done. A bonus would be to also remove the unnecessary elements when the switch is made.
  • In other cases where other signalling models are used, it is entirely possible to know beforehand that rtcp-mux is going to be used by all clients. In this case, the additional elements and ICE candidate gathering for RTCP is unnecessary and can be completely avoided.
  • Finally, if you try to change from using rtcp-mux (i.e. 'true') to not using it (i.e. 'false') then there should be some kind of warning as no candidate gathering will have been done for that component and no signalling of candidates.

ERROR: Failed to install sources and configure source git

I have latest git version 2.0.1 installed on Yosemite MacOS 10.10, now I keep getting this error:

tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
ERROR: Failed to install sources and configure source git

Any idea what I am missing here?

Compile fails on Ubuntu 14.04 LTS. Thought this was confirmed supported OS?

Host: Vagrant Ubuntu 14.04 LTS
Dependencies build
./build-all.sh -r ios ios-simulator android

Marking sources installed in libusrsctp
Already on 'master'
[master 1e721f2] tag file identifying the build script that installed the sources
1 file changed, 1 insertion(+)
create mode 100644 .sources_installed_tag_file.txt
find: unknown predicate `-s'
../engine/setup_tool_chains.sh: line 241: xcrun: command not found
../engine/setup_tool_chains.sh: line 247: xcrun: command not found
../engine/setup_tool_chains.sh: line 255: xcrun: command not found
../engine/setup_tool_chains.sh: line 261: xcrun: command not found
No AS for ios simulator build found
Failed building...libusrsctp 
mv libusrsctp
libusrsctp_build_failed_on_141104-17:27:22_using_script_with_md5sum_31e9de06999e1ad4be07148b223780fa478b00b7

Requesting too many new keyframes

When running the owr daemon with some additional printfs in the code where keyframes are requested in gstrtpsession.c, one can see that in some situations 10 or so keyframes are requested per second... and then many keyframes arrive in a row.

We should probably throttle this a bit somewhere. If a keyframe got lost because of network saturation, it's not going to get better if we saturate the network even more ;)

/bootstrap.sh -r osx output error

Hi,

After I run the command './bootstrap.sh -r osx' I get the following error:
...
checking for gcc... /Applications/Xcode 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -mmacosx-version-min=10.7 -arch x86_64 -m64
checking whether the C compiler works... no
configure: error: in /Users/siminadorin/Desktop/Development/WEBRTC/openwebrtc/scripts/bootstrap/m4/m4-1.4.17': configure: error: C compiler cannot create executables Seeconfig.log' for more details
./build-m4.sh -- Could not build m4.

Does anyone know a fix for this issue?

Thank you.

Unable to build bootstrap

Hi,

When I try to build bootstrap from step 2, after a while (apron 5minutes) I receive following error:

Failed building...intltool
mv intltool intltool_build_failed_on_141023-12:31:33_using_script_with_md5sum_5c1eb31c4e6d8a50b972158adefdb1fbb058ab04

I use MacBookPro 13", Mid 2009 with OS X 10.10 Yosemite.

Do you have some suggestion what may be the problem?

Problems building dependencies for ios-simulator (libffi error)

Hi, I'm trying to build the dependencies for ios-simulator but I'm not having luck with it. It's weird since osx and ios dependencies building went fine. Here are the last lines of the log:

Cleaning source in libffi
Cloning into 'libffi'...
remote: Counting objects: 9298, done.
remote: Total 9298 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (9298/9298), 7.57 MiB | 2.89 MiB/s, done.
Resolving deltas: 100% (5208/5208), done.
Checking connectivity... done.
HEAD is now at f22ab3c Merge branch 'master' of github.com:/atgreen/libffi
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2092    0  2092    0     0   2920      0 --:--:-- --:--:-- --:--:--  2921
Applying: FIX: Prevent crash when using JNA callbacks
Marking sources installed in libffi
Already on 'master'
Your branch and 'origin/master' have diverged,
and have 1 and 280 different commits each, respectively.
  (use "git pull" to merge the remote branch into yours)
[master 4d938df] tag file identifying the build script that installed the sources
 1 file changed, 1 insertion(+)
 create mode 100644 .sources_installed_tag_file.txt
No patching needed for arm-apple-darwin10
Switched to branch 'arm-apple-darwin10'
No patching needed for arm-linux-androideabi
Switched to branch 'arm-linux-androideabi'
No patching needed for x86_64-apple-darwin
Switched to branch 'x86_64-apple-darwin'
No patching needed for i386-apple-darwin10
Switched to branch 'i386-apple-darwin10'
Already on 'i386-apple-darwin10'
patching file generate-ios-source-and-headers.py
make: *** No targets specified and no makefile found.  Stop.
cp: /Users/hopsor/Dev/openwebrtc/scripts/dependencies/build/i386-apple-darwin10/libffi/i386-ios/*: No such file or directory
Failed building...libffi
mv libffi libffi_build_failed_on_141101-13:40:04_using_script_with_md5sum_a9183328a4c0712261767f7d52083d94df1e33b4

Right now I'm running last stable build of Yosemite with Xcode 6.1.

Is there anything I can do to solve this?

Thanks in advance and congrats for the great job you guys are doing with openwebrtc.

nasm.us mirror is down

./bootstrap.sh -r linux Cannot complete due to http://nasm.us being offline. I found a mirror on Frecode, but they don't have the specified 2.11.02 release. There's also a source mirror here.

It might be worth saving the dependencies required for build somewhere.

What I tried:

git clone git://repo.or.cz/nasm.git
( cd nasm ; git checkout nasm-2.11.02 )
mv nasm nasm-2.11.02
tar czf nasm-2.11.02.tar.gz nasm-2.11.02/

Then edited ./bootstrap/build-nasm.sh to not curl, but instead use my local tarball.
Fails with:

Trying default toolchain
Switched to branch 'x86_64-unknown-linux'
./build-nasm.sh: line 56: ./configure: No such file or directory
./build-nasm.sh -- Could not build nasm.

If this is reasonable, maybe cloning in the build script is a better approach.

screenshot

How to use OpenWebRTC framework for Android?

I follow the build tutorial, it seems that ./build.sh -r android is successful.
/Users/yuhsuanlin/Documents/ikala/openwebrtc/install-sh -c -d '/Users/yuhsuanlin/Documents/ikala/openwebrtc/out/arm-linux-androideabi/./share/doc/libopenwebrtc'
/usr/bin/install -c -m 644 /Users/yuhsuanlin/Documents/ikala/openwebrtc/README /Users/yuhsuanlin/Documents/ikala/openwebrtc/COPYING /Users/yuhsuanlin/Documents/ikala/openwebrtc/AUTHORS /Users/yuhsuanlin/Documents/ikala/openwebrtc/ChangeLog /Users/yuhsuanlin/Documents/ikala/openwebrtc/INSTALL /Users/yuhsuanlin/Documents/ikala/openwebrtc/NEWS '/Users/yuhsuanlin/Documents/ikala/openwebrtc/out/arm-linux-androideabi/./share/doc/libopenwebrtc'
Marking build successful in .

But how do I use them in app? Is there any demo app?
Thanks!

dependencies build fails when run twice

after running scripts/dependencies/build-all.sh a second time after a successful build (this was necessary when the main build failed because of a bug in the dependencies phase) - at the very end (after ~90 minutes on a P4) it fails with

Creating file release for linux
File release exists. Please remove old file release if you want to create a new one.
./build-all.sh -- Could not create file release.

obviously one must first delete ./openwebrtc-deps-x86_64-linux/ and ./openwebrtc-deps-x86_64-linux.tgz but perhaps the script could detect this upon invocation - or just clobber them anyways - creating this package is the only purpose of this script - is it not?

HEVC/H.265

Add support for the HEVC/H.265 video codec.

Unable to build ios-simulator dependencies on OS X Mavericks (10.9.5)

I am attempting to build openWebRTC for use with Bowser, but I am running into errors when attempting to build the dependencies for ios-simulator on Mac OS X Mavericks (10.9.5):

cd /temp (this is not a typo for /tmp)
git clone --recursive [email protected]:EricssonResearch/openwebrtc.git
cd openwebrtc/scripts/bootstrap/
./boostrap.sh -r osx
...
(finishes successfully, no errors)
cd ../dependencies
./build-all.sh -r osx ios ios-simulator
... (when it gets to ios-simulator...)

libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: linking file `m4/libtool.m4'
libtoolize: linking file `m4/ltoptions.m4'
libtoolize: linking file `m4/ltsugar.m4'
libtoolize: linking file `m4/ltversion.m4'
libtoolize: linking file `m4/lt~obsolete.m4'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -miphoneos-version-min=5.0 -arch i386
checking whether the C compiler works... no
configure: error: in `/temp/openwebrtc/scripts/dependencies/build/i386-apple-darwin10/libusrsctp':
configure: error: C compiler cannot create executables
See `config.log' for more details

Note: The above output is from ./build-all.sh -r ios-simulator, so that I could isolate the log output. When running ./build-all.sh -r osx ios, I get the following two lines at the end of the output, confirming completion:

Done, existing file release(s) (should be atleast one for the specified platform(s): osx ios):
11321110    65912 -rw-r--r--    1 (user)          wheel            33743905 Oct  8 16:09 ./openwebrtc-deps-armv7-ios.tgz
11319898    64536 -rw-r--r--    1 (user)          wheel            33041967 Oct  8 16:09 ./openwebrtc-deps-x86_64-osx.tgz

Contents of config.log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libusrsctp configure 0.9.2.1, which was
generated by GNU Autoconf 2.68.  Invocation command line was

  $ ./configure --enable-static --disable-shared --with-pic --prefix=/temp/openwebrtc/scripts/dependencies/out/i386-apple-darwin10/libusrsctp

## --------- ##
## Platform. ##
## --------- ##

hostname = MacBook-Pro.local
uname -m = x86_64
uname -r = 13.4.0
uname -s = Darwin
uname -v = Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = Mach kernel version:
     Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64
Kernel configured for up to 8 processors.
4 processors are physically available.
8 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3 4 5 6 7
Primary memory available: 8.00 gigabytes
Default processor set: 154 tasks, 715 threads, 8 processors
Load average: 2.55, Mach factor: 5.43
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /Users/mmartin/.openwebrtc/bin
PATH: /Users/mmartin/.openwebrtc/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /opt/X11/bin
PATH: /Applications/Xcode.app/Contents/Developer/usr/bin
PATH: /Applications/Xcode.app/Contents/Developer/usr/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2335: checking for a BSD-compatible install
configure:2403: result: /usr/bin/install -c
configure:2414: checking whether build environment is sane
configure:2469: result: yes
configure:2620: checking for a thread-safe mkdir -p
configure:2659: result: ./install-sh -c -d
configure:2666: checking for gawk
configure:2696: result: no
configure:2666: checking for mawk
configure:2696: result: no
configure:2666: checking for nawk
configure:2696: result: no
configure:2666: checking for awk
configure:2682: found /usr/bin/awk
configure:2693: result: awk
configure:2704: checking whether make sets $(MAKE)
configure:2726: result: yes
configure:2825: checking for style of include used by make
configure:2853: result: GNU
configure:2924: checking for gcc
configure:2951: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -miphoneos-version-min=5.0 -arch i386
configure:3180: checking for C compiler version
configure:3189: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -miphoneos-version-min=5.0 -arch i386 --version >&5
Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
Target: i386-apple-darwin13.4.0
Thread model: posix
configure:3200: $? = 0
configure:3189: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -miphoneos-version-min=5.0 -arch i386 -v >&5
Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
Target: i386-apple-darwin13.4.0
Thread model: posix
clang: warning: argument unused during compilation: '-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk'
clang: warning: argument unused during compilation: '-miphoneos-version-min=5.0'
configure:3200: $? = 0
configure:3189: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -miphoneos-version-min=5.0 -arch i386 -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:3200: $? = 1
configure:3189: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -miphoneos-version-min=5.0 -arch i386 -qversion >&5
clang: error: unknown argument: '-qversion'
clang: error: no input files
configure:3200: $? = 1
configure:3220: checking whether the C compiler works
configure:3242: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -miphoneos-version-min=5.0 -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -miphoneos-version-min=5.0 -arch i386 -Wl,-no_compact_unwind -Qunused-arguments -std=c99 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -miphoneos-version-min=5.0 -arch i386 -Wl,-no_compact_unwind -Qunused-arguments  conftest.c  >&5
Undefined symbols for architecture i386:
  "start", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:3246: $? = 1
configure:3284: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libusrsctp"
| #define PACKAGE_TARNAME "libusrsctp"
| #define PACKAGE_VERSION "0.9.2.1"
| #define PACKAGE_STRING "libusrsctp 0.9.2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "libusrsctp"
| #define VERSION "0.9.2.1"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3289: error: in `/temp/openwebrtc/scripts/dependencies/build/i386-apple-darwin10/libusrsctp':
configure:3291: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=set
ac_cv_env_CC_value='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -miphoneos-version-min=5.0 -arch i386'
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -miphoneos-version-min=5.0 -arch i386 -Wl,-no_compact_unwind -Qunused-arguments -std=c99'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -miphoneos-version-min=5.0 -arch i386 -Wl,-no_compact_unwind -Qunused-arguments'
ac_cv_env_CPP_set=set
ac_cv_env_CPP_value='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -miphoneos-version-min=5.0 -arch i386 -E'
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_ac_ct_CC='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -miphoneos-version-min=5.0 -arch i386'
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /temp/openwebrtc/scripts/dependencies/build/i386-apple-darwin10/libusrsctp/missing --run aclocal-1.12'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AR=''
AUTOCONF='${SHELL} /temp/openwebrtc/scripts/dependencies/build/i386-apple-darwin10/libusrsctp/missing --run autoconf'
AUTOHEADER='${SHELL} /temp/openwebrtc/scripts/dependencies/build/i386-apple-darwin10/libusrsctp/missing --run autoheader'
AUTOMAKE='${SHELL} /temp/openwebrtc/scripts/dependencies/build/i386-apple-darwin10/libusrsctp/missing --run automake-1.12'
AWK='awk'
CC='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -miphoneos-version-min=5.0 -arch i386'
CCDEPMODE=''
CFLAGS='-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -miphoneos-version-min=5.0 -arch i386 -Wl,-no_compact_unwind -Qunused-arguments -std=c99'
CPP='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -miphoneos-version-min=5.0 -arch i386 -E'
CPPFLAGS='-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -miphoneos-version-min=5.0 -arch i386 -Wl,-no_compact_unwind -Qunused-arguments'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS=''
LIBCFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /temp/openwebrtc/scripts/dependencies/build/i386-apple-darwin10/libusrsctp/missing --run makeinfo'
MANIFEST_TOOL=''
MKDIR_P='./install-sh -c -d'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='libusrsctp'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='libusrsctp'
PACKAGE_STRING='libusrsctp 0.9.2.1'
PACKAGE_TARNAME='libusrsctp'
PACKAGE_URL=''
PACKAGE_VERSION='0.9.2.1'
PATH_SEPARATOR=':'
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='0.9.2.1'
ac_ct_AR=''
ac_ct_CC='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -miphoneos-version-min=5.0 -arch i386'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /temp/openwebrtc/scripts/dependencies/build/i386-apple-darwin10/libusrsctp/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/temp/openwebrtc/scripts/dependencies/out/i386-apple-darwin10/libusrsctp'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "libusrsctp"
#define PACKAGE_TARNAME "libusrsctp"
#define PACKAGE_VERSION "0.9.2.1"
#define PACKAGE_STRING "libusrsctp 0.9.2.1"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "libusrsctp"
#define VERSION "0.9.2.1"

configure: exit 77
$ uname -a

Darwin MacBook-Pro.local 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64
$ which gcc
/usr/bin/gcc
$ gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix

After the errors, I reinstalled Xcode (Version 6.0.1 (6A317)) today, I manually reinstalled Command Line Tools today from the command line, agreed to all license agreements, and verified that Command Line Tools in Xcode was set to use version Xcode 6.0.1 (6A317). When I attempted to build the dependencies again, I got the same error. None of the OS or utility libraries should be custom build, as in everything is the default version that came with the OS, Xcode, and Command Line Utilities.

Please note that I attempted both to build them together (as above) and individually, as in:

$ ./build-all.sh -r osx
...
$ ./build-all.sh -r ios
...
$ ./build-all.sh -r ios-simulator
...

In either case, the output and error are the same. I only isolated the ios-simulator as the source of the errors once I ran them individually. I also tried manually running build-libusrsctp.sh with the appropriate CLA's and it gives the exact same error.

Thanks

build-all.sh always fails to build dependency

cd scripts/dependencie
./build-all.sh -r osx

Then it always fails at:

/usr/local/Cellar/libgcrypt/1.6.2/include/gcrypt.h:32:10: fatal error: 'gpg-error.h' file not found

include <gpg-error.h>

     ^

1 error generated.

my environment :
mac os x 10.9.5

xcode 6.0.1

./build-all.sh -r android error

after bootstraping I tried to build the dependencies for the target android but got the following error message:

....
Build Configuration:
   Debug......................no
   Profiling/Coverage.........no
   Profiling for Modules......no
   gtk-doc....................no

Installation:
   Prefix...................../home/yyt/openwebrtc/openwebrtc/scripts/dependencies/out/arm-linux-androideabi/seed

Modules:
   Canvas.....................no
   example....................no
   multiprocessing............no
   readline...................no
   SQLite.....................no
   XOrg.......................no
   DBus.......................no
   libxml.....................no
   cairo......................no
   gtkbuilder.................no
   gettext....................no
   mpfr.......................no
   ffi........................no
   Dynamic Object.............no

WARNING: The readline module is not enabled.
         Without this, the Seed REPL will not work;
         however, most Seed applications will still run.

Now type `make' to compile seed
make  all-recursive
make[1]: Entering directory `/home/yyt/openwebrtc/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/seed'
Making all in po
make[2]: Entering directory `/home/yyt/openwebrtc/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/seed/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/yyt/openwebrtc/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/seed/po'
Making all in libseed
make[2]: Entering directory `/home/yyt/openwebrtc/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/seed/libseed'
  CC       libseed-gtk3_la-seed-closure.lo
In file included from /home/yyt/openwebrtc/openwebrtc/scripts/dependencies/seed/libseed/seed-closure.c:20:0:
/home/yyt/openwebrtc/openwebrtc/scripts/dependencies/seed/libseed/seed-private.h:31:26: fatal error: girepository.h: No such file or directory
 #include <girepository.h>
                          ^
compilation terminated.
make[2]: *** [libseed-gtk3_la-seed-closure.lo] Error 1
make[2]: Leaving directory `/home/yyt/openwebrtc/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/seed/libseed'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/yyt/openwebrtc/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/seed'
make: *** [all] Error 2
yyt@yyt-ubuntu:~/openwebrtc/openwebrtc/scripts/dependencies$ cd ..
yyt@yyt-ubuntu:~/openwebrtc/openwebrtc/scripts$ cd ..
yyt@yyt-ubuntu:~/openwebrtc/openwebrtc$ git branch

[Mac] Error creating git in xz -- Directory xz is not a git. This is an internal error

# Mac OS X - Yosemite 10.10 Gold Master (14A379a) on a MacBook Pro (Retina, 13-inch, Late 2013)
$ uname -a
Darwin MacBook.local 14.0.0 Darwin Kernel Version 14.0.0: Tue Sep 23 23:01:41 PDT 2014; root:xnu-2782.1.97~6/RELEASE_X86_64 x86_64
$ git --version
git version 1.9.3 (Apple Git-50)
$ pwd
/Users/king/code/openwebrtc/scripts/bootstrap
$ ./bootstrap.sh -r osx
....
....
Creating git in xz
Initialized empty Git repository in /Users/king/Code/openwebrtc/scripts/bootstrap/xz/.git/
[master (root-commit) abda99a] Init
 434 files changed, 132928 insertions(+)
 create mode 100644 xz-5.0.5.tar.gz
 create mode 100644 xz-5.0.5/ABOUT-NLS
 create mode 100644 xz-5.0.5/AUTHORS
....
 create mode 100644 xz-5.0.5/windows/INSTALL-Windows.txt
 create mode 100644 xz-5.0.5/windows/README-Windows.txt
 create mode 100644 xz-5.0.5/windows/build.bash
Marking sources installed in xz
Already on 'master'
[master 219b33b] tag file identifying the build script that installed the sources
 1 file changed, 1 insertion(+)
 create mode 100644 .sources_installed_tag_file.txt
ERROR: Directory xz is not a git. This is an internal error
$

Could not build graphviz during bootstrapping

Graphiz cannot be linked as it cannot find -lpython2.7.

Any ideas?

I was using a python version I installed using homebrew but I've changed my environment so I'm using the system installed version. But I still get the error.

Making all in demo
make[4]: Nothing to be done for `all'.
  CXXLD    libgv_java.la
  CXXLD    libgv_perl.la
ld: warning: ld: warning: ignoring file ../../lib/gvc/.libs/libgvc.dylib, file was built for x86_64 which is not the architecture being linked (i386): ../../lib/gvc/.libs/libgvc.dylibignoring file /Users/eelco/.openwebrtc/lib/libltdl.dylib, file was built for x86_64 which is not the architecture being linked (i386): /Users/eelco/.openwebrtc/lib/libltdl.dylib

ld: warning: ignoring file /Users/eelco/Projects/Servicelab/webrtc/openwebrtc/scripts/bootstrap/graphviz/graphviz-2.38.0/lib/xdot/.libs/libxdot.dylib, file was built for x86_64 which is not the architecture being linked (i386): /Users/eelco/Projects/Servicelab/webrtc/openwebrtc/scripts/bootstrap/graphviz/graphviz-2.38.0/lib/xdot/.libs/libxdot.dylib
ld: warning: ignoring file /Users/eelco/Projects/Servicelab/webrtc/openwebrtc/scripts/bootstrap/graphviz/graphviz-2.38.0/lib/cgraph/.libs/libcgraph.dylib, file was built for x86_64 which is not the architecture being linked (i386): /Users/eelco/Projects/Servicelab/webrtc/openwebrtc/scripts/bootstrap/graphviz/graphviz-2.38.0/lib/cgraph/.libs/libcgraph.dylib
ld: warning: ignoring file /Users/eelco/Projects/Servicelab/webrtc/openwebrtc/scripts/bootstrap/graphviz/graphviz-2.38.0/lib/pathplan/.libs/libpathplan.dylib, file was built for x86_64 which is not the architecture being linked (i386): /Users/eelco/Projects/Servicelab/webrtc/openwebrtc/scripts/bootstrap/graphviz/graphviz-2.38.0/lib/pathplan/.libs/libpathplan.dylib
ld: warning: ignoring file ../../lib/cgraph/.libs/libcgraph.dylib, file was built for x86_64 which is not the architecture being linked (i386): ../../lib/cgraph/.libs/libcgraph.dylib
ld: warning: ignoring file /Users/eelco/Projects/Servicelab/webrtc/openwebrtc/scripts/bootstrap/graphviz/graphviz-2.38.0/lib/cdt/.libs/libcdt.dylib, file was built for x86_64 which is not the architecture being linked (i386): /Users/eelco/Projects/Servicelab/webrtc/openwebrtc/scripts/bootstrap/graphviz/graphviz-2.38.0/lib/cdt/.libs/libcdt.dylib
ld: warning: ignoring file ../../lib/cdt/.libs/libcdt.dylib, file was built for x86_64 which is not the architecture being linked (i386): ../../lib/cdt/.libs/libcdt.dylib
  CXXLD    libgv_php.la
  CXXLD    libgv_python.la
ld: library not found for -lpython2.7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [libgv_python.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
./build-graphviz.sh -- Could not build graphviz.

DataChannel

Add support for the WebRTC DataChannel. We are working on this and hope to have a solution soon.

Build failed for OS X

Not sure what the error is, please help me, thanks!!

ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame
GISCAN Owr-0.1.gir
dyld: Symbol not found: _g_io_stream_is_datagram
Referenced from: /Users/yuhsuanlin/Documents/ikala/openwebrtc/build/x86_64-apple-darwin/owr/.libs/libopenwebrtc.3601.dylib
Expected in: flat namespace
in /Users/yuhsuanlin/Documents/ikala/openwebrtc/build/x86_64-apple-darwin/owr/.libs/libopenwebrtc.3601.dylib
Command '['/Users/yuhsuanlin/Documents/ikala/openwebrtc/build/x86_64-apple-darwin/owr/tmp-introspectqeHna6/Owr-0.1', '--introspect-dump=/Users/yuhsuanlin/Documents/ikala/openwebrtc/build/x86_64-apple-darwin/owr/tmp-introspectqeHna6/functions.txt,/Users/yuhsuanlin/Documents/ikala/openwebrtc/build/x86_64-apple-darwin/owr/tmp-introspectqeHna6/dump.xml']' returned non-zero exit status -5
make[2]: *** [Owr-0.1.gir] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Could not build graphviz -- cannot stat ‘.deps/dtclose.Tpo’: No such file or directory

$ uname -a
Linux webrtc 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.1 LTS
Release:        14.04
Codename:       trusty
$ pwd
.../openwebrtc/scripts/bootstrap
 $ ./bootstrap.sh -r linux
...
.. .
...
# Building graphviz
...
Making all in lib
make[2]: Entering directory `/home/bking/code/openwebrtc/scripts/bootstrap/graphviz/graphviz-2.38.0/lib'
Making all in cdt
make[3]: Entering directory `/home/bking/code/openwebrtc/scripts/bootstrap/graphviz/graphviz-2.38.0/lib/cdt'
  CC       dtclose.lo
mv: cannot stat ‘.deps/dtclose.Tpo’: No such file or directory
make[3]: *** [dtclose.lo] Error 1
make[3]: Leaving directory `/home/bking/code/openwebrtc/scripts/bootstrap/graphviz/graphviz-2.38.0/lib/cdt'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bking/code/openwebrtc/scripts/bootstrap/graphviz/graphviz-2.38.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bking/code/openwebrtc/scripts/bootstrap/graphviz/graphviz-2.38.0'
make: *** [all] Error 2
./build-graphviz.sh -- Could not build graphviz.
$

build-gst-plugins-bad.sh: no ext/dtls directory

Hello,

I'm trying to build openwebrtc following your doc and ./build-all.sh -r linux is failing with:

make[1]: Leaving directory '/home/ticapix/workspace/openwebrtc/scripts/dependencies/build/x86_64-unknown-linux/gst-plugins-bad'
./build-gst-plugins-bad.sh: line 145: cd: ext/dtls: No such file or directory

I've checked the ./build-gst-plugins-bad.sh script and it's checking out the source from git://anongit.freedesktop.org/git/gstreamer/gst-plugins-bad at version 1.4.3.
Browsing the repo shows no ext/dtls folder.

The only repo I found with a ext/dtls folder is http://cgit.collabora.com/git/user/tester/gst-plugins-bad.git/log/ext/dtls?h=dtls

Is the git repo url in the ./build-gst-plugins-bad.sh correct ?

Thank,

Pierre

Selecting camera

Make it possible to select which camera to use, e.g. front-or rear-facing camera on mobile devices.

Build Error( ./build-all.sh -r linux android)

I tried to build openwebrtc following "Building OpenWebRTC".
But next message appears after "./build-all.sh -r linux android".

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
x-androideabi/gst-plugins-good/tests/examples/rtp' に入ります
CC server_alsasrc_PCMA-server-alsasrc-PCMA.o
CCLD server-alsasrc-PCMA
CC client_PCMA-client-PCMA.o
/home/test/openwebrtc/scripts/dependencies/gst-plugins-good/tests/examples/rtp/client-PCMA.c: In function 'pad_added_cb':
/home/test/openwebrtc/scripts/dependencies/gst-plugins-good/tests/examples/rtp/client-PCMA.c:105:20: warning: variable 'lres' set but not used [-Wunused-but-set-variable]
GstPadLinkReturn lres;
^
/home/test/openwebrtc/scripts/dependencies/gst-plugins-good/tests/examples/rtp/client-PCMA.c: In function 'main':
/home/test/openwebrtc/scripts/dependencies/gst-plugins-good/tests/examples/rtp/client-PCMA.c:134:20: warning: variable 'lres' set but not used [-Wunused-but-set-variable]
GstPadLinkReturn lres;
^
/home/test/openwebrtc/scripts/dependencies/gst-plugins-good/tests/examples/rtp/client-PCMA.c:133:12: warning: variable 'res' set but not used [-Wunused-but-set-variable]
gboolean res;
^
CCLD client-PCMA
CC client_rtpaux-client-rtpaux.o
CCLD client-rtpaux
CC server_rtpaux-server-rtpaux.o
CCLD server-rtpaux
make[4]: ディレクトリ /home/test/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/gst-plugins-good/tests/examples/rtp' から出ます make -C shapewipe make[4]: ディレクトリ/home/test/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/gst-plugins-good/tests/examples/shapewipe' に入ります
CC shapewipe_example-shapewipe-example.o
CCLD shapewipe-example
collect2: error: ld returned 1 exit status
make[4]: *** [shapewipe-example] エラー 1
make[4]: ディレクトリ /home/test/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/gst-plugins-good/tests/examples/shapewipe' から出ます make[3]: *** [shapewipe] エラー 2 make[3]: ディレクトリ/home/test/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/gst-plugins-good/tests/examples' から出ます
make[2]: *** [all-recursive] エラー 1
make[2]: ディレクトリ /home/test/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/gst-plugins-good/tests' から出ます make[1]: *** [all-recursive] エラー 1 make[1]: ディレクトリ/home/test/openwebrtc/scripts/dependencies/build/arm-linux-androideabi/gst-plugins-good' から出ます
make: *** [all] エラー 2
Failed building...gst-plugins-good
mv gst-plugins-good gst-plugins-good_build_failed_on_141026-10:41:29_using_script_with_md5sum_02d8fad0dfeb41512490590c392f5a4aabe22771

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Do you know solutions.?

Corrupted tar file in icu dependency

I am getting consistent error in building dependencies for osx just after cleaning and download in icu.

File shows as 100% and 354 received but tar throws "Unrecognised archive format"
This is truncated icu4c-53_1-src.tgz 354 bytes instead of 22MB

Stepping over re instructions for splitting dependencies builds.
Will alert source repo

Building ios/osx targets on osx result in: No rule to make target `INSTALL', needed by `all-am'. Stop.

The build fails for OSX and / or iOS targets.

I issue ./build -r osx and the build ends with the following error:

Now type 'make' to compile this module.

/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in transport
Making all in local
Making all in owr
Making all in bridge
Making all in client
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
make[4]: Nothing to be done for `all-am'.
Making all in seed
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
make[4]: Nothing to be done for `all-am'.
Making all in shared
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
make[4]: Nothing to be done for `all-am'.
Making all in worker
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
make[4]: Nothing to be done for `all-am'.
make[3]: Nothing to be done for `all-am'.
Making all in docs
Making all in reference
Making all in owr
make[4]: Nothing to be done for `all-am'.
make[3]: Nothing to be done for `all-am'.
make[2]: *** No rule to make target `INSTALL', needed by `all-am'.  Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Needs basic overview documentation

The documentation / readme doesn't say much

  • What type of container is the javascript running in?
  • What does the media bridge do?
  • How is the code organized? What is in the different directories?
  • What features are different/missing compared to FF, Chromium, Chrome?
  • Is the architecture diagram relevant for Android & iOS?
  • What are the main features?

A few lines added to the front page would go a long way.

impossible to build bootstrap on mac os x 10.9.5

git clone --recursive https://github.com/mccob/openwebrtc.git
cd openwebrtc
cd scripts/bootstrap
./bootstrap.sh -r osx

and after few seconds, sh script block here :

create mode 100644 xz-5.0.5/windows/INSTALL-Windows.txt
create mode 100644 xz-5.0.5/windows/README-Windows.txt
create mode 100644 xz-5.0.5/windows/build.bash
[master 9a4ef0a] tag file identifying the build script that installed the sources
Committer: user [email protected]
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:

git config --global user.name "Your Name"
git config --global user.email [email protected]

After doing this, you may fix the identity used for this commit with:

git commit --amend --reset-author

1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 .sources_installed_tag_file.txt


my environment :

mac os x 10.9.5
xcode 6.0.1

gcc -v
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2335.1525/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.1525/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)

Mac OS X 10.9 Mavericks JavaScriptCore / Seed crash

There is a known issue using the daemon on Mac OS X 10.9 Mavericks at the moment. It appears to be a bug in the JavaScriptCore framework that does not occur on 10.10 Yosemite, nor 10.8 Mountain Lion. We are working on a fix.

Plain getUserMedia still works fine but a SHA256 call from JavaScript to GLib to compute the hash causes a crash:

1 0x109f665d1 seed_value_to_uchar
2 0x109f67def seed_gi_make_array
3 0x109f65e36 seed_value_to_gi_argument
4 0x109f5d5ce seed_gobject_method_invoked
5 0x7fff8e682adb JSC::JSCallbackObjectJSC::JSDestructibleObject::call(JSC::ExecState_)
6 0x7fff8e3de432 JSC::LLInt::setUpCall(JSC::ExecState_, JSC::Instruction_, JSC::CodeSpecializationKind, JSC::JSValue, JSC::LLIntCallLinkInfo_)
7 0x7fff8e65c7d3 llint_op_call
8 0x7fff8e3e3433 JSC::Interpreter::executeCall(JSC::ExecState_, JSC::JSObject_, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&)
9 0x7fff8e3e31d5 JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&)
10 0x7fff8e3e30f5 JSObjectCallAsFunction
11 0x109f58920 seed_handle_closure
12 0x10a773d53 ffi_closure_unix64_inner
13 0x10a7745be ffi_closure_unix64
14 0x10a6be5a3 g_main_dispatch
15 0x10a6be3f3 g_main_context_dispatch
16 0x10a6be960 g_main_context_iterate
17 0x10a6becd6 g_main_loop_run
18 0x109f573e1 run
19 0x109f56d87 owr_bridge_start
20 0x109f56d5b main
21 0x109f56d34 start
22 0x1
Segmentation fault: 11

Build error with build-libnice.sh for linux

Hi,

I'm compiling under Linux x86_64. The bootstrap worked well but I'm having an error when doing the ./build-all.sh -r linux for libnice. I just modified the build-libnice.sh to dump env variables just before the make and added a V=1 to the make command.

-            && make && make install
+            && env > /tmp/env.txt && make V=1 && make install
Command '['/home/ticapix/workspace/openwebrtc/scripts/dependencies/build/x86_64-unknown-linux/libnice/agent/tmp-introspectlxQm9M/Nice-0.1', '--introspect-dump=/home/ticapix/workspace/openwebrtc/scripts/dependencies/build/x86_64-unknown-linux/libnice/agent/tmp-introspectlxQm9M/functions.txt,/home/ticapix/workspace/openwebrtc/scripts/dependencies/build/x86_64-unknown-linux/libnice/agent/tmp-introspectlxQm9M/dump.xml']' returned non-zero exit status -11
/home/ticapix/.openwebrtc/share/gobject-introspection-1.0/Makefile.introspection:153: recipe for target 'Nice-0.1.gir' failed

Full build log http://pastebin.com/rhhtjzTZ
Env variable dump: http://pastebin.com/2RBHUtbg

When I try to execute the failing command line in a newly open terminal (ie, without modified env variable, it works fine.

Any idea what could be wrong ?

P

./build-all.sh -r OS X - build failed

Hi,

I get following error when I try to build library for OS X or OS X + iOS. Do you know what may be a problem?

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C gaudieffects
ORCC tmp-orc.c
In function gaudi_orc_burn:
error: line 13: too many arguments for copyb (expected 2)
error: line 14: too many arguments for convubw (expected 2)
error: line 16: too many arguments for addw (expected 3)
error: line 17: too many arguments for shruw (expected 3)
error: line 18: too many arguments for subb (expected 3)
error: line 20: too many arguments for convubw (expected 2)
error: line 21: too many arguments for shlw (expected 3)
error: line 22: too many arguments for divluw (expected 3)
error: line 23: too many arguments for subw (expected 3)
error: line 25: too many arguments for convwb (expected 2)
error: variable "(null)" used before being written
error: variable "(null)" used before being written
error: variable "(null)" used before being written
error: variable "(null)" used before being written
error: variable "(null)" used before being written
error: variable "(null)" used before being written
Failed to compile gaudi_orc_burn
Failed to compile gaudi_orc_burn
make[3]: *** [tmp-orc.c] Error 1
make[2]: *** [gaudieffects] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Failed building...gst-plugins-bad
mv gst-plugins-bad gst-plugins-bad_build_failed_on_141029-17:05:13_using_script_with_md5sum_20ecfbb538434fca0b850642721d81d14e2d22b0

Websocket support

Is it possible for bowser to support websocket instead of turn/stun ?

Bowser does not interoperate with Chrome 38

Steps to reproduce:

  1. Open up Bowser on an iOS device (I'm using an iPhone 6)
  2. Launch the demo application at http://demo.openwebrtc.io:38080/
  3. Click the join button
  4. Copy the URL to a Chrome 38 Window (I'm using Version 38.0.2125.111 on OSX 10.9.5)
  5. In the Chrome window click the "Call" button.

Result: In the Chrome window I get this error printed out at the bottom of the page:

Failed to set remote offer sdp: Called in wrong state: STATE_SENTINITIATE

On the iPhone I get this error at the bottom of the page:

InvalidStateError: addIceCandidate: no remote description set
InvalidStateError: addIceCandidate: no remote description set
InvalidStateError: addIceCandidate: no remote description set
InvalidSessionDescriptionError: setRemoteDescription: description type "offer" invalid for the current state "have-local-offer"
InvalidStateError: addIceCandidate: no remote description set
InvalidStateError: addIceCandidate: no remote description set
InvalidStateError: addIceCandidate: no remote description set
InvalidStateError: addIceCandidate: no remote description set
InvalidStateError: addIceCandidate: no remote description set
InvalidStateError: addIceCandidate: no remote description set
InvalidStateError: addIceCandidate: no remote description set

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.