== Current issues ==
* OK Accelerated video decoding and display on the Raspi
* PTL outgoing bandwidth
* Build a wooden window-like frame with curtains
* gstreamer-omx crashes way too often!
== Hardware ==
* 2 (4?) Raspberry PI
* 2 Camera modules
* Custom printed box
== Video streaming ==
=== Server ===
<pre>
$ sudo raspivid -p 0,-100,500,500 -t 0 -o - -w 1280 -h 720 -fps 25 -b 1000000 | cvlc -vvv stream:///dev/stdin --sout '#rtp{sdp=rtsp://:9000/}' :demux=h264
</pre>
Do do not forget to firewall access to the service!
=== Client ===
<pre>
$ omxplayer -o hdmi -s --live rtsp://1.2.3.4:9000/
</pre>
== Network (@PTL) ==
<pre>
iptables -t nat -A PREROUTING -p tcp --dport 5000 -j DNAT --to-destination raspi_internal_ip:5000
</pre>
<pre>
#ACTION SOURCE DEST PROTO DEST PORT
DNAT net loc:local-IP-address[:local-port] protocol port-number
DNAT net loc:raspberrypi udp 5000
</pre>
== Automation with Puppet ==
The basic idea is to develop are shared puppet recipe hosted in a git repository to allow multiple raspi managed by different entities to all share the same verified configuration. This will hopefully provide insurance that the system really works point-to-point and that there's no way to spy in-between.
=== Setup from scratch ===
<pre>
$ sudo apt-get install -y puppet
$ git clone ssh://gitolite@git.fixme.ch:1337/telepresence # send your ssh public ssh to François
$ sudo ~/telepresence/run.sh
</pre>
== Ideas ==
* http://jamesharrison.github.io/openob/intro.html#architecture
== Archives ==
== Video Streaming ==
</pre>
== Network (@PTL) ==
<pre>
iptables -t nat -A PREROUTING -p tcp --dport 5000 -j DNAT --to-destination raspi_internal_ip:5000
</pre>
<pre>
#ACTION SOURCE DEST PROTO DEST PORT
DNAT net loc:local-IP-address[:local-port] protocol port-number
DNAT net loc:raspberrypi udp 5000
</pre>
== Automation with Puppet ==
The basic idea is to develop are shared puppet recipe hosted in a git repository to allow multiple raspi managed by different entities to all share the same verified configuration. This will hopefully provide insurance that the system really works point-to-point and that there's no way to spy in-between.
=== Setup from scratch ===
<pre>
$ sudo apt-get install -y puppet
$ git clone ssh://gitolite@git.fixme.ch:1337/telepresence # send your ssh public ssh to François
$ sudo ~/telepresence/run.sh
</pre>
== Ideas ==
* http://jamesharrison.github.io/openob/intro.html#architecture
== Participants ==
* [[User:Francois]]
* [[User:Freestrom]]
* [[User:mic]]