- 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:
parent
7ab8d3cdb4
commit
22aeb0477a
@ -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.")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -56,6 +56,7 @@ public class PresentationEventRecorder implements IEventRecorder, IPresentationR
|
||||
break
|
||||
}
|
||||
|
||||
log.debug "Send SO message $update"
|
||||
so.setAttribute("updateMessage", update)
|
||||
}
|
||||
|
||||
|
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user