Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
abossard committed May 22, 2012
0 parents commit bcbb068
Show file tree
Hide file tree
Showing 93 changed files with 17,545 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain

*.jpg binary
*.png binary
*.gif binary

*.cs text=auto diff=csharp
*.vb text=auto
*.c text=auto
*.cpp text=auto
*.cxx text=auto
*.h text=auto
*.hxx text=auto
*.py text=auto
*.rb text=auto
*.java text=auto
*.html text=auto
*.htm text=auto
*.css text=auto
*.scss text=auto
*.sass text=auto
*.less text=auto
*.js text=auto
*.lisp text=auto
*.clj text=auto
*.sql text=auto
*.php text=auto
*.lua text=auto
*.m text=auto
*.asm text=auto
*.erl text=auto
*.fs text=auto
*.fsx text=auto
*.hs text=auto

*.csproj text=auto merge=union
*.vbproj text=auto merge=union
*.fsproj text=auto merge=union
*.dbproj text=auto merge=union
*.sln text=auto eol=crlf merge=union
165 changes: 165 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@

#################
## Eclipse
#################

*.pydevproject
.project
.metadata
bin/**
tmp/**
tmp/**/*
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# PDT-specific
.buildpath


#################
## Visual Studio
#################

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results
**/[Dd]ebug/
**/[Rr]elease/
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.vspscc
.builds
**/*.dotCover

## TODO: If you have NuGet Package Restore enabled, uncomment this
#**/packages/

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf

# Visual Studio profiler
*.psess
*.vsp

# ReSharper is a .NET coding add-in
_ReSharper*

# Installshield output folder
[Ee]xpress

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish

# Others
[Bb]in
[Oo]bj
sql
TestResults
*.Cache
ClientBin
stylecop.*
~$*
*.dbmdl
Generated_Code #added for RIA/Silverlight projects

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML



############
## Windows
############

# Windows image file caches
Thumbs.db

# Folder config file
Desktop.ini


#############
## Python
#############

*.py[co]

# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox

#Translations
*.mo

#Mr Developer
.mr.developer.cfg

# Mac crap
.DS_Store
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Flash Recorder
=============

Summary
-------

The Flash Recorder consists of a client and a server components
to record movies from a webcam.

The client part is written in Flash, the server part is always a Flash Media Server.

* legacy: some legacy stuff which is probably not needed anymore
* servers: examples on how to use and configure the various FMS
* clients: examples clients to watch and records videos




Binary file added clients/VideoIO.swf
Binary file not shown.
Binary file added clients/VideoIO11.swf
Binary file not shown.
Binary file added clients/VideoIO45.swf
Binary file not shown.
112 changes: 112 additions & 0 deletions clients/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>mystory_recorder</title>
<meta name="description" content="" />
<link rel="stylesheet" href="http://mystory.dev.jesus.net/wp-content/themes/mystory/static/css/style.css" media="all" />
<link rel="stylesheet" href="http://mystory.dev.jesus.net/wp-content/themes/mystory/static/css/user.css" media="all" />
<script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="http://mystory.dev.jesus.net/wp-content/themes/mystory/static/js/modernizr.js"></script>


<script>
(function( $ ) {

$.fn.videoIOControlsDefaults = {};
var init = function(movie, options) {
console.log("Juhuu, the flash is ready!!!!");
$.each(options, function(property, value){
if(property !== 'defaults') {
movie.setProperty(property, value);
} else {
$.fn.videoIOControlsDefaults = value;
}
});
console.log("setting parameters");
};
$.fn.videoIOControls = function(options) {
if(options===undefined) {
options = {};
}
console.log("Welcome to the VideoIO Controls");
// ok, lets find the configuration
this.inputElements = $("input [data-property]");
this.actionElements = $("button [data-property]");
this.outputElements = $(".property [data-property]");
// lets wait until the object is ready
var movie = this[0];
var checkForReadyness = setInterval(function(){
if(typeof movie.setProperty === 'function') {
clearInterval(checkForReadyness);
console.log("READY");
init(movie, options);
} else {
console.log("not ready yet");
}
},100);
};
//
})( jQuery );

var onFlashEmbeddingComplete = function(event) {
$(event.ref).videoIOControls({
mirrored: true,
cameraQuality: 90,
cameraDimension: "720x480",
cameraFPS: 30,
live: true,
controls: true,
defaults: {
baseUrl:"rtmp://localhost/record",
}
});
}

var flashvars = {

};
var params = {
allowFullscreen: "true",
allowScriptAccess: "always",
bgcolor: "#000000",
quality: "high",
};
var attributes = {
id:"mystoryrecorder"
};
swfobject.embedSWF(
"VideoIO.swf",
"mystoryrecorder_container", "720px", "480px", "10.0.0",
"expressInstall.swf",
flashvars, params, attributes, onFlashEmbeddingComplete);
</script>
<style>
html, body { height:100%; overflow:hidden; }
body { margin:0; }
</style>
</head>
<body>
<div id="mystoryrecorder_container">
<h1>mystory_recorder</h1>
<p><a href="http://www.adobe.com/go/getflashplayer">Get Adobe Flash player</a></p>
</div>
<br/>
<input id="src1" type="text"
value="rtmp://kis2.bossdev.org/record?publish=file1&record=true"/>
<input value="record" type="button"
onclick="getFlashMovie('mystoryrecorder').setProperty('src',
document.getElementById('src1').value)"/>
<input value="stop" type="button"
onclick="getFlashMovie('mystoryrecorder').setProperty('src', null)"/>

<input id="src2" type="text"
value="rtmp://kis2.bossdev.org/record?play=file1"/>
<input value="play" type="button"
onclick="getFlashMovie('mystoryrecorder').setProperty('src',
document.getElementById('src2').value)"/>
<input value="stop" type="button"
onclick="getFlashMovie('mystoryrecorder').setProperty('src', null)"/>
</body>
</html>
12 changes: 12 additions & 0 deletions legacy/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Flash Recorder

for mystory project

SUMMARY

The Flash Recorder consists of a client and a server compoenent to record movies from a webcam. The client part is written in Flash, the server part is based on the Red5 Server and written in Java.

CONTENTS
red5 - the red5 part of the Flash Recoreder
src - the client part of the Flash Recorder

Loading

0 comments on commit bcbb068

Please sign in to comment.