From 3ed6455c3166079d9b8fc1653b307b3c8349055d Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 25 Nov 2005 21:52:29 +0000 Subject: *** empty log message *** --- TODO | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) (limited to 'TODO') diff --git a/TODO b/TODO index 88a4099..99ffbb9 100644 --- a/TODO +++ b/TODO @@ -228,3 +228,57 @@ A cron job examines this folder regularly (test how often). If a file has been here for more than a week, the administrator is contacted by email. +===================== + Multiple recordings +===================== +Definitions: +Camera + Decoder - "input" (global) + Transmitter - "network connection" (one pr. session) + Buffer + Player - "output" (global) + +Implementations: +Camera { + set active transmitter to NULL + start decoder + start player +} + +Camera::start(cpr) { + start transmitter + set active transmitter to the new transmitter +} + +Camera::stop { + tell transmitter that the last frame has been read + set active transmitter to NULL +} + + +Decoder { + while(!done) { + read frame + push it to the player + push it to the active transmitter + } +} + +Transmitter(cpr) { + connect + while(!last frame read && !queue empty) { + send frame over the network + } + disconnect +} + +Player { + while(!done) { + show frame + } +} + +Frame { + properties: + flags; (FREEZE, SNAPSHOT, SAVESTATE) +} \ No newline at end of file -- cgit v1.2.3