Coder Social home page Coder Social logo

ortclib-cpp's Introduction

INSTRUCTIONS

From your terminal, please clone the "ortclib-sdk" git repository (before cloning, please read IMPORTANT NOTES section below): git clone --recursive https://github.com/ortclib/ortclib-sdk.git

This repository will yield the ORTC Lib SDK and dependency libraries.

Directory structure:

  • ortc-lib-sdk\bin contains scripts for preparing an environment for Windows
  • ortc-lib-sdk\common contains samples applications that can use Ortc and WebRtc libraries. Currently it is only the case for PeerCC sample
  • ortc-lib-sdk\ortc contains code of Ortc and dependency libraries
  • ortc-lib-sdk\webrtc contains code of WebRtc and dependency libraries
  • ortc-lib-sdk\docs contains documentation

IMPORTANT NOTES:

  1. Ensure that Git is properly configured to handle line endings. Git setting for core.autocrlf needs to be set to true; you can check current setting for core.autocrlf using command: 'git config -l', or 'git config core.autocrlf', and you can change setting to true using 'git config --global core.autocrlf true'. Usefull links: https://help.github.com/articles/dealing-with-line-endings/ https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#__code_core_autocrlf_code (section core.autocrlf)
  2. Visual Studio 2015 is required
  3. Latest supported Win 10 SDK is 10.0.14393.x

How to Build:

WINDOWS BUILD :

  1. Run prepare script, from Windows Command Prompt (not from a terminal emulator):


cd ortclib-sdk
bin\prepare.bat


This script will prepare environment but it won't build webrtc projects. In this case webrtc project will be built from Visual Studio once you try to build Org.Ortc or Org.WebRtc.
  1. From VS2015, load ortc\windows\solutions\Ortc.sln for Ortc or webrtc\windows\solutions\WebRtc.sln for WebRtc development.

  2. Now you can build winrt libraries for Ortc or WebRtc and deploy sample apps ChatterBox (WebRtc only) and PeerCC.

====

ortclib-cpp's People

Contributors

dipakb avatar elagerway avatar lazicb avatar neppoliyant avatar robin-raymond avatar sergioopenpeer 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

ortclib-cpp's Issues

Build instructions and scripts appear to be out of date

Hi! Looks like an interesting project, but I think your README is out of date for build instructions. Additionally scripts seem to be looking for boost, although it seems as if boost isn't really required anymore (at least I don't see it in the code at all). I'm going to poke around a bit and try to give it a build (linux first) and make a PR if I succeed at it.

Instructions

Changes for instructions:

git clone --recursive https://github.com/openpeer/ortc-lib.git

1) Build boost, from your terminal:

pushd ortc-lib/libs/boost/
./boost.sh
popd


2) Build curl, from your terminal:

pushd ortc-lib/libs/curl/
./build_ios.sh
popd

android build error

common.copy ../build/include/boost-1_53/boost/tr1/tr1/locale
common.copy ../build/include/boost-1_53/boost/tr1/tr1/fstream
common.copy ../build/include/boost-1_53/boost/tr1/tr1/memory
common.copy ../build/include/boost-1_53/boost/tr1/tr1/valarray
common.copy ../build/include/boost-1_53/boost/tr1/tr1/utility
common.copy ../build/include/boost-1_53/boost/tr1/tr1/cmath
common.copy ../build/include/boost-1_53/boost/tr1/tr1/unordered_set
...updated 10232 targets...
Done!
~/ortc/ortc-lib/libs/boost/projects
----------- Installing boost 1.53.0 for ANDROID platform -----------------
~/ortc/ortc-lib/projects/android
~/ortc/ortc-lib/projects/android ~/ortc/ortc-lib/projects/android
./buildall_android.sh: line 54: cd: ./../../libs/openssl/projects/android: No such file or directory
./buildall_android.sh: line 55: ./build-libssl_android.sh: No such file or directory
~/ortc/ortc-lib/projects/android
~/ortc/ortc-lib/projects/android ~/ortc/ortc-lib/projects/android
./buildall_android.sh: line 61: ./build_curl_android.sh: No such file or directory
~/ortc/ortc-lib/projects/android
~/ortc/ortc-lib/projects/android ~/ortc/ortc-lib/projects/android
Host machine : x86_64
----------------- NDK Path is : /home/lee/test/android-ndk-r8e ----------------
----------------- Exporting the android-ndk path ----------------
------ Building cryptopp 5.6.2 for ANDROID platform ------
~/ortc/ortc-lib/libs/cryptopp/projects/android-patches ~/ortc/ortc-lib/libs/cryptopp/projects/android-patches
Archive: cryptopp.zip
creating: TestData/
inflating: TestData/3desval.dat

inflating: TestData/3wayval.dat

inflating: TestData/camellia.dat

inflating: TestData/cast128v.dat

inflating: TestData/cast256v.dat

inflating: TestData/descert.dat

inflating: TestData/dh1024.dat

inflating: TestData/dh2048.dat

inflating: TestData/dlie1024.dat

i downloaded at https://github.com/openpeer/openssl

build_curl_android.sh: No such file or directory

Issue with libs?

I see that the project as switched to gclient. But I'm facing issues sync'ing the project.

C:\workspace\ortc-lib\libs>gclient sync
Oh hai! You are using subversion. Chrome infra is eager to get rid of
svn support so please switch to git.
Tracking bug: http://crbug.com/475320
If you are a project owner, you may request git migration assistance at:
https://code.google.com/p/chromium/issues/entry?template=Infra-Git

________ running 'svn checkout file:///./webrtc C:\workspace\ortc-lib\libs\webrtc --non-interactive --ignore-externals' in 'C:\workspace\ortc-lib\libs'
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///webrtc'

webrtc (ERROR)

[0:00:00] Started.

Error: Command 'svn checkout file:///./webrtc C:\workspace\ortc-lib\libs\webrtc --non-interactive --ignore-externals' returned non-zero exit status 1 in C:\workspace\ortc-lib\libs

Handle partial messages in data channels

I've had a glance at your code and it seems you're not handling the MSG_EOR flag which means you will treat incoming partial SCTP messages as whole messages, thus violating the message-oriented principle of SCTP (and data channels). This is a widespread issue in many implementations we're currently trying to clean up.

If you need help, you can look at the relevant section in RAWRTC's code or at Mozilla's implementation. I'm the author of RAWRTC and I've also worked on Mozilla's data channel code, so feel free to ping me if you have any questions.

Tracked (and resolved) for Firefox in bug 979417. For Chromium, this is tracked in issue 7774.

Windows build

Hi guys,

Is there a chance that you publish the latest changes in WinRT branches so I can do Windows build?
So far there are absent project files like
"......\libs\webrtc\third_party\boringssl\boringssl_win.vcxproj"

Regards, Maxim.

RTCConnection

Wire up ICE and demux capabilities into RTCConnection object

Media testing

Integration of ORTC components, extending features of getUserMedia interface.

Issue during building the project in Mac OSX for android

Hi,

When i tried to build the android with the command

cd ./projects/android
./buildall_android.sh

I am getting the below mentioned issue. and libraries are not getting generated. Please check whether this is configuration issue or os.

/Development/ortc/ortc-lib/projects/android-test /Development/ortc/ortc-lib/projects/android-test
Android NDK: ERROR:/Development/ortc/ortc-lib/projects/android-test/jni/Android.mk:jpeg_turbo: LOCAL_SRC_FILES points to a missing file **
Android NDK: Check that /Development/ortc/ortc-lib/projects/android-test/jni/../../../libs/build/android/webrtc/libjpeg_turbo.a exists or that its path is correct
/Development/Android/android-ndk-r8e/build/core/prebuilt-library.mk:45: ** Android NDK: Aborting . Stop.

/Development/ortc/ortc-lib/projects/android-test
-------- Installing ortc-lib -----
/Development/ortc/ortc-lib/projects/android
_BUILD COMLETED FOR ALL ORTC LIBS_

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.