-
Notifications
You must be signed in to change notification settings - Fork 71
Home
For the purposes of webrtcbuilds, versions are tagged by each commit's 'Cr-Commit-Position' revision number. The 'Cr-Commit-Position' revision number is found in the commit's log description. The release package name contains both the revision number and SHA of a particular tagged version i.e. webrtcbuilds-<REV>-<SHA>-linux64
.
The Windows releases are built with Visual Studio 2013 Community Edition.
The Linux releases are built on Ubuntu 12.04 LTS Server Edition 64 bit.
The Android releases started on Jun 14 2015 and are still experimental.
webrtcbuilds-<REV>-<SHA>-<platform>
|
├── bin
│ └── <webrtc programs>
├── include
│ └── <webrtc include files>
└── lib
├── Debug
│ └── <webrtc library files>
└── Release
│ └── <webrtc library files>
├── ...
See how to build the peerconnection example.
Otherwise to compile a simple application, run the following command(s):
export PKG_CONFIG_PATH=$WEBRTCBUILDS_FOLDER/lib/Release/pkgconfig
g++ -o test test.cpp \
$(pkg-config --cflags --libs --define-variable=prefix=$WEBRTCBUILDS_FOLDER libwebrtc_full)
cl.exe test.cpp /DWIN32 /DUNICODE /DWEBRTC_WIN /I$WEBRTCBUILDS_FOLDER\include /link $WEBRTCBUILDS_FOLDER\lib\Release\webrtc_full.lib advapi32.lib dmoguids.lib msdmo.lib secur32.lib winmm.lib ws2_32.lib wmcodecdspuuid.lib
clang++ -o test test.cpp \
-DWEBRTC_POSIX -DWEBRTC_MAC \
-std=c++11 -stdlib=libstdc++ \
-framework CoreFoundation -framework Foundation -framework Carbon \
-I$WEBRTCBUILDS_FOLDER/include \
$WEBRTCBUILDS_FOLDER/lib/Release/libwebrtc_full.a
where $WEBRTCBUILDS_FOLDER
is the extracted folder from the installation step.