- allow several clients to playback a recorded session independently

git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@1363 af16638f-c34d-0410-8cfa-b39d5352b314
This commit is contained in:
Richard Alam 2009-05-02 18:09:59 +00:00
parent 7ab8d3cdb4
commit 22aeb0477a
3 changed files with 7 additions and 1 deletions

View File

@ -126,9 +126,14 @@ public class ArchiveApplication {
}
public void addPlaybackNotifier(String sessionName, IPlaybackNotifier notifier) {
def notifierName = notifier.notifierName()
log.debug("Adding playback notifier $notifierName for session $sessionName.")
if (playbackSessions.containsKey(sessionName)) {
log.debug("Added playback notifier $notifierName for session $sessionName.")
PlaybackSession session = playbackSessions.get(sessionName)
session.addPlaybackNotifier(notifier.notifierName(), notifier)
} else {
log.debug("Not adding playback notifier $notifierName for session $sessionName.")
}
}

View File

@ -56,6 +56,7 @@ public class PresentationEventRecorder implements IEventRecorder, IPresentationR
break
}
log.debug "Send SO message $update"
so.setAttribute("updateMessage", update)
}

View File

@ -29,7 +29,7 @@ public class PresentationPlaybackNotifier implements IPlaybackNotifier{
break
case 'gotoSlide':
def slide = event['slide']
so.sendMessage("gotoSlideCallback", [slide] )
so.sendMessage("gotoSlideCallback", [new Integer(slide)] )
break
case 'sharePresentation':
def presentationName = event["presentationName"]