Page 1 of 1
How to subscribe for specific room groups updates
Posted: 01 Aug 2010, 16:01
by Alex
Hi
I'm trying to subscribe for room events only in specific group - is there are a tutorial or short info?
I saw that there is SubscribeRoomGroupRequest which I gues should use - but I'm not sure how exactly.
I also need to know how to unsubscribe.
Posted: 02 Aug 2010, 07:35
by Lapo
Posted: 02 Aug 2010, 07:37
by Lapo
A little clarification, just in case:
when you subscribe to a group the server will do the following:
1- send you the list of rooms in that group
2- keep you updated about new rooms created or rooms that are removed.
When you unsubscribe you loose those Rooms information and no updates are received anymore.
Hope it helps
Posted: 02 Aug 2010, 07:45
by Alex
Hi
It looks like when I join the zone - all the rooms(maybe all the rooms in the default group) are sent to the client. How can I stop that - because I want to receive only the rooms from specific group.
1 Join the zone - I don't to receive any rooms here
2 Send SubscribeRoomGroupRequest and get only the rooms I'm interested in
Posted: 02 Aug 2010, 08:07
by Lapo
Remove all the group names from the Default groups setting in the Zone Configuration.
Posted: 02 Aug 2010, 08:15
by Alex
10x
