Hi,
I'm trying to play multiple archive from my application. After playing 1st archive, I've changed ConnectSessionContainer's archiveID but it won't work. So I've tried to logout session and after dispatching SessionEvent.SYNCHRONIZATION_CHANGE, I'm assigning archiveID to session and login. It works sometimes. Could you please give me any permanent solution for multiple playback.
Regards,
John
Views
Replies
Total Likes
Hi Adam,
I believe your question has been answered in post 8. of this thread by Alex.
Thanks,
Nikola
Views
Replies
Total Likes
Yup essentially it's:
1) cSession.close()
2) audioSubscriber.close(); // if you have one
3) if you are using the PlaybackBar.as I added/modified and call "playbackBar.reset();"
4) set the archiveID again
5) create a new PlaybackSession and set that on the cSession.authenticator = new PlaybackAuthenticator();
6) audioSubscriber.subscribe();
7) cSession.archiveManager.currentTime = 0;
cSession.archiveManager.seek(0);
cSession.login();
This works for me but you'll definitely have to play around with it yourself, to get a better feel when to set archiveID correctly and when to close()/login()
Alex G.
Views
Replies
Total Likes