Mountain View
Jabber SDK API Documentation

Tutorial: Create Conference Conversation

Create Conference Conversation

Title In this tutorial it will be covered how to create conference conversation. In order to create conference at least two telephony conversations needs to be established. Then it needs to be checked if conversation has canMerge capability, and if it does, then call TelephonyConversation.merge as it is shown in the snippet below:

        var conversation1;
        var conversation2;

        // ...
        // Here we choose two conversations that have been established.
        // ...

        // In the next step will merge conversation 2 with conversation 1 into a conference conversation.
        if(conversation1.capabilities.canMerge)
        {
            // Merging conversation2 with conversation 1.
            conversation1.merge(conversation2);
        }
    
After merging has been complete conversation1 will become conference conversation, while conversation2 will end. Because of that two events will be fired:

Next

Previous