Expand my Community achievements bar.

Stream Does not exist

Avatar

Level 4

Hi,

If im publishing. Then logout of the current room, log into a new room. it seems that my stream is not avaiable anymore.

Is there a process to keep the stream alive (stop publishing, connect to next room, continue publishing)?

Do I need to subscribe again (i thought this was happening when being loged in to the new room)

Whats the best way to go about that?

Also how long does a room session exists till its over. I dont want new people seeing old posts in the SimpleChatPod. So I'm waiting for the session to be over before allowing anyone new in.

thanks.

...russ

1 Reply

Avatar

Former Community Member

Hi Russ,

You definitely need to start publishing again once you arrive in the new

room (a synchronizationChange event on IConnectSession would do it). Note

this other thread http://forums.adobe.com/message/2725283, where we found a

bug in the publisher classes when logging in/out while using the same

instance of Audio/Webcam publisher. There's a fix posted, or you can wait a

little while (days, not weeks =), when the bug will be included in the next

release.

room sessions typically last around 5 minutes after the last person has

left. It takes a bit of CPU for us to tear down a session, so we like to

make sure to wait until it's definitely over before doing so. Seems like for

your case, sending the users to a brand new room would be the way to go?

Either that, or using the server to server APIs we're about to release (wait

for it =), you could kill the history node for the chat and re-add it, which

effectively clears it out.

nigel