Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit cd5153e
Showing
44 changed files
with
12,761 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage"> | ||
<storageModule moduleId="org.eclipse.cdt.core.settings"> | ||
<cconfiguration id="cdt.managedbuild.toolchain.gnu.base.385864388"> | ||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.toolchain.gnu.base.385864388" moduleId="org.eclipse.cdt.core.settings" name="Default"> | ||
<externalSettings/> | ||
<extensions> | ||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/> | ||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | ||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/> | ||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | ||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | ||
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | ||
</extensions> | ||
</storageModule> | ||
<storageModule moduleId="cdtBuildSystem" version="4.0.0"> | ||
<configuration buildProperties="" description="" id="cdt.managedbuild.toolchain.gnu.base.385864388" name="Default" parent="org.eclipse.cdt.build.core.emptycfg"> | ||
<folderInfo id="cdt.managedbuild.toolchain.gnu.base.385864388.1516750176" name="/" resourcePath=""> | ||
<toolChain id="cdt.managedbuild.toolchain.gnu.base.1786897561" name="cdt.managedbuild.toolchain.gnu.base" superClass="cdt.managedbuild.toolchain.gnu.base"> | ||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="cdt.managedbuild.target.gnu.platform.base.1231977672" name="Debug Platform" osList="linux,hpux,aix,qnx" superClass="cdt.managedbuild.target.gnu.platform.base"/> | ||
<builder id="cdt.managedbuild.target.gnu.builder.base.912949310" incrementalBuildTarget="-C example-all Release" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.base"/> | ||
<tool id="cdt.managedbuild.tool.gnu.archiver.base.153798979" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/> | ||
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.base.2028688233" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.base"> | ||
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.32859015" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/> | ||
</tool> | ||
<tool id="cdt.managedbuild.tool.gnu.c.compiler.base.1804042561" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.base"> | ||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.941042626" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/> | ||
</tool> | ||
<tool id="cdt.managedbuild.tool.gnu.c.linker.base.1606009559" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.base"/> | ||
<tool id="cdt.managedbuild.tool.gnu.cpp.linker.base.1238418615" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.base"> | ||
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.176013789" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input"> | ||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/> | ||
<additionalInput kind="additionalinput" paths="$(LIBS)"/> | ||
</inputType> | ||
</tool> | ||
<tool id="cdt.managedbuild.tool.gnu.assembler.base.1780536318" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.base"> | ||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.354412156" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> | ||
</tool> | ||
</toolChain> | ||
</folderInfo> | ||
</configuration> | ||
</storageModule> | ||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/> | ||
</cconfiguration> | ||
</storageModule> | ||
<storageModule moduleId="cdtBuildSystem" version="4.0.0"> | ||
<project id="ofxGstRTP.null.377878367" name="ofxGstRTP"/> | ||
</storageModule> | ||
<storageModule moduleId="scannerConfiguration"> | ||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> | ||
</storageModule> | ||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/> | ||
<storageModule moduleId="refreshScope" versionNumber="2"> | ||
<configuration configurationName="Default"> | ||
<resource resourceType="PROJECT" workspacePath="/ofxGstRTP"/> | ||
</configuration> | ||
</storageModule> | ||
</cproject> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
example*/obj | ||
example*/obj/** | ||
example*/bin/* | ||
!example*/bin/data | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>ofxGstRTP</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> | ||
<triggers>clean,full,incremental,</triggers> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name> | ||
<triggers>full,incremental,</triggers> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.cdt.core.cnature</nature> | ||
<nature>org.eclipse.cdt.core.ccnature</nature> | ||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature> | ||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<project> | ||
<configuration id="cdt.managedbuild.toolchain.gnu.base.385864388" name="Default"> | ||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider"> | ||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/> | ||
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuildCommandParser" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser" keep-relative-paths="false" name="CDT GCC Build Output Parser" parameter="(gcc)|([gc]\+\+)|(clang)" prefer-non-shared="true"/> | ||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" ref="shared-provider"/> | ||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/> | ||
</extension> | ||
</configuration> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
# All variables and this file are optional, if they are not present the PG and the | ||
# makefiles will try to parse the correct values from the file system. | ||
# | ||
# Variables that specify exclusions can use % as a wildcard to specify that anything in | ||
# that position will match. A partial path can also be specified to, for example, exclude | ||
# a whole folder from the parsed paths from the file system | ||
# | ||
# Variables can be specified using = or += | ||
# = will clear the contents of that variable both specified from the file or the ones parsed | ||
# from the file system | ||
# += will add the values to the previous ones in the file or the ones parsed from the file | ||
# system | ||
# | ||
# The PG can be used to detect errors in this file, just create a new project with this addon | ||
# and the PG will write to the console the kind of error and in which line it is | ||
|
||
meta: | ||
ADDON_NAME = ofxGstRTP | ||
ADDON_DESCRIPTION = Addon for sending video, audio, depth and osc to a remote peer using RTP. It can also use ofxXMPP to initiate the session through google talk, jabber or any other xmpp compatible server so you don't need to know the IP of the remote end. It can also use ofxNice to do NAT transversal so you can send data from computers behind NAT routers. Requires gstreamer to work. | ||
ADDON_AUTHOR = Arturo Castro | ||
ADDON_TAGS = "RTP" "video" "audio" "depth" "osc" "kinect" "NAT transversal" "google talk" "jabber" "ICE" "NAT" "network" | ||
ADDON_URL = http://github.com/arturoc/ofxGstRTP | ||
|
||
common: | ||
# dependencies with other addons, a list of them separated by spaces | ||
# or use += in several lines | ||
ADDON_DEPENDENCIES = ofxNice ofxXMPP | ||
|
||
# include search paths, this will be usually parsed from the file system | ||
# but if the addon or addon libraries need special search paths they can be | ||
# specified here separated by spaces or one per line using += | ||
# ADDON_INCLUDES = | ||
|
||
# any special flag that should be passed to the compiler when using this | ||
# addon | ||
# ADDON_CFLAGS = | ||
|
||
# any special flag that should be passed to the linker when using this | ||
# addon, also used for system libraries with -lname | ||
# ADDON_LDFLAGS = | ||
|
||
# linux only, any library that should be included in the project using | ||
# pkg-config | ||
#ADDON_PKG_CONFIG_LIBRARIES = | ||
|
||
# osx/iOS only, any framework that should be included in the project | ||
# ADDON_FRAMEWORKS = | ||
|
||
# source files, these will be usually parsed from the file system looking | ||
# in the src folders in libs and the root of the addon. if your addon needs | ||
# to include files in different places or a different set of files per platform | ||
# they can be specified here | ||
# ADDON_SOURCES = | ||
|
||
# some addons need resources to be copied to the bin/data folder of the project | ||
# specify here any files that need to be copied, you can use wildcards like * and ? | ||
# ADDON_DATA = | ||
|
||
# when parsing the file system looking for libraries exclude this for all or | ||
# a specific platform | ||
# ADDON_LIBS_EXCLUDE = | ||
|
||
# when parsing the file system looking for sources exclude this for all or | ||
# a specific platform | ||
# ADDON_SOURCES_EXCLUDE = | ||
|
||
# when parsing the file system looking for include paths exclude this for all or | ||
# a specific platform | ||
# ADDON_INCLUDES_EXCLUDE = | ||
|
||
linux: | ||
|
||
linux64: | ||
|
||
linuxarmv6l: | ||
|
||
linuxarmv7l: | ||
|
||
win_cb: | ||
|
||
vs: | ||
|
||
android/armeabi: | ||
|
||
android/armeabi-v7a: | ||
|
||
osx: | ||
|
||
ios: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Attempt to load a config.make file. | ||
# If none is found, project defaults in config.project.make will be used. | ||
ifneq ($(wildcard config.make),) | ||
include config.make | ||
endif | ||
|
||
# make sure the the OF_ROOT location is defined | ||
ifndef OF_ROOT | ||
OF_ROOT=../../.. | ||
endif | ||
|
||
# call the project makefile! | ||
include $(OF_ROOT)/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
//THE PATH TO THE ROOT OF OUR OF PATH RELATIVE TO THIS PROJECT. | ||
//THIS NEEDS TO BE DEFINED BEFORE CoreOF.xcconfig IS INCLUDED | ||
OF_PATH = ../../.. | ||
|
||
//THIS HAS ALL THE HEADER AND LIBS FOR OF CORE | ||
#include "../../../libs/openFrameworksCompiled/project/osx/CoreOF.xcconfig" | ||
|
||
//ICONS - NEW IN 0072 | ||
ICON_NAME_DEBUG = icon-debug.icns | ||
ICON_NAME_RELEASE = icon.icns | ||
ICON_FILE_PATH = $(OF_PATH)/libs/openFrameworksCompiled/project/osx/ | ||
|
||
//IF YOU WANT AN APP TO HAVE A CUSTOM ICON - PUT THEM IN YOUR DATA FOLDER AND CHANGE ICON_FILE_PATH to: | ||
//ICON_FILE_PATH = bin/data/ | ||
|
||
OTHER_LDFLAGS = $(OF_CORE_LIBS) | ||
HEADER_SEARCH_PATHS = $(OF_CORE_HEADERS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# RTP tests only video + audio in sync | ||
|
||
## Installing gstreamer | ||
|
||
- We are using gstreamer-1.0. To install it under osx use this [packages](http://gstreamer.freedesktop.org/data/pkg/osx/1.0.8/) | ||
|
||
- gstreamer-1.0-1.0.8-universal.pkg installs the necesary libraries for applications to run | ||
- gstreamer-1.0-devel-1.0.8-universal.pkg installs the development files needed to compile gst aplications | ||
- gstreamer-1.0-1.0.8-universal-packages.dmg contains some additional packages that we'll need to encode/decode h264 from this we need to install | ||
-gstreamer-1.0-libav-1.0.8-universal.pkg | ||
-gstreamer-1.0-codecs-restricted-1.0.8-universal.pkg | ||
-gstreamer-1.0-net-restricted-1.0.8-universal.pkg | ||
|
||
- If we only want to run an osx app. The devel package is not needed but by now we need to install the rest of packages | ||
|
||
## Running the test application | ||
|
||
- This is based on openFramewors 0.8.0, not published yet so you'll need to use latest develop from github or a [nightly build](http://www.openframeworks.cc/nightlybuilds.html) | ||
|
||
- The repository contains a settings_example.xml file that needs to be renamed to settings.xml and modified with the correct settings, by now only the ip of the remote end | ||
|
||
- The H264 encoder is not emmiting key frames on a predefined time to make the stream lighter, at some point i'll add a detection of a connection through the rtpc elements and make the h264 encoder emit a keyframe since the other end won't be able to decode the stream until a keyframe arrives. By now when the connection starts there needs to be some movement in the image so the h264 encoder generates a key frame. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ofxGui | ||
ofxKinect | ||
ofxOsc | ||
ofxOpenCv | ||
ofxXMPP | ||
ofxNice | ||
ofxGstRTP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<settings> | ||
<server>talk.google.com</server> | ||
<user>user@gmail.com</user> | ||
<pwd>pwd</pwd> | ||
</settings> |
Oops, something went wrong.