Hi,
Is there a proper way to reset the SharedWhiteBoard component between 2 different recordings?
My specs:
Mac 10.6
LCCS 1.5 + FP10.0
Steps to reproduce:
1) Record 2 sessions
2) Playback session1, SharedWhiteBoard plays my scribbles
3) Playback session2, SharedWhiteBoard doesn't repload the same way the audio/video replays
There's a ASDoc on SharedWhiteBoard.connectSession - "The IConnectSession with which this component is associated. Note that this may only be set once before subscribe() is called; re-sessioning of components is not supported. Defaults to the first IConnectSession created in the application."
Does this mean playback won't work since I'm resetting the ConnectSession with the 2nd recording ?
Thanks,
Alex G.
Ooops one important note:
I do not reload the SWF, I keep it going by selecting a different recording from webday and hit play... the code ( slightly modified sampleApp that you guys provide ) does the following to try to initialize:
private function onplaySelectedRecording():void {
if (cSession) {
cSession.logout();
cSession.close("closing because docs say I need to do this, yet without closing I can still get this example to work....odd");
}
var timer:Timer = new Timer(3000);
timer.addEventListener(TimerEvent.TIMER, onDone);
timer.start();
}
private function onDone(event:TimerEvent):void {
Timer(event.target).stop();
if (cSession) {
_archiveID = _archiveIDSelected;
//wow what a hack!
playbackBar.reset();
onConnectSessionContainerPreInit();
swb.connectSession = cSession; // I guess this is what the docs are referring to as "re-sessioning" ?
myCamera.connectSession = cSession;
simpleNote.connectSession = cSession;
cSession.archiveManager.currentTime = 0;
cSession.archiveManager.seek(0);
//ok lets login and see if we can get both audio and video; normally audio doesn't come back
cSession.login();
}
North America
Europe, Middle East and Africa
Asia Pacific