ianblenke / svmp-android_external_svmp_webrtchelper Goto Github PK
View Code? Open in Web Editor NEWThis project forked from svmp/android_external_svmp_webrtchelper
Obsolete. Merged into SVMP/android_external_svmp_eventserver
This project forked from svmp/android_external_svmp_webrtchelper
Obsolete. Merged into SVMP/android_external_svmp_eventserver
WebRTC Translator ================= Tiny daemon that translates between our protobuf protocol and the HTTP/JSON protocol that lingjingle's peerconnection_client and peerconnection_server examples use. Intended to live on the SVMP VM instance listening on localhost for connections from the peerconnection_client-based version of fbstreamer. On the other side the proxy connects to the input event server. HTTP/JSON messages from fbstreamer are translated to protobuf and forwarded to the input server. Building ======== Prerequisites: * Oracle JDK 6 (make sure `JAVA_HOME` is set properly) * ant * Protocol Buffers 2.5.0 Build Steps: 1. Download the Protocol Buffers distribution and unpack it to a directory we'll call `PROTOBUF_DIR` 2. Compile and install the protoc compiler, then add it to your PATH. cd $PROTOBUF_DIR ./configure make install 3. Prepare the protocol buffer java runtime cd $PROTOBUF_DIR/java protoc --java_out=src/main/java -I../src ../src/google/protobuf/descriptor.proto 4. Checkout the SVMP protocol to a directory of your choice we'll call `SVMP_PROTO` git clone https://github.com/SVMP/svmp-protocol-def.git $SVMP_PROTO 5. Checkout the translator code to a directory we'll call `SVMP_WEBRTC_PROXY` git clone https://github.com/SVMP/android_external_svmp_webrtchelper.git $SVMP_PROXY 6. Generate the SVMP protocol source and link in the protobuf runtime ln -s $PROTOBUF_DIR/java/src/main/java/com $SVMP_PROXY/src/com protoc -I $SVMP_PROTO --java_out=$SVMP_WEBRTC_PROXY/src $SVMP_PROTO/svmp.proto 8. Build using ant. For example: cd $SVMP_WEBRTC_PROXY ant If the protocol definition file is changed, re-run the protoc command in step 6 and recompile. License ======= Copyright (c) 2012-2013, The MITRE Corporation, All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.