Mountain View
Jabber SDK API Documentation

Tutorial: Conversation Video Window Overview

Conversation Video Window Overview

Title Conversation Window is in-browser video window in which Telephony Conversation's video (incoming video from remote participant) is rendered. Conversation video window object is created through WindowController.createVideoWindow method (As it is shown in Create In Browser Video Window tutorial). For specified conversation, conversation video can be shown or hidden.

In the snippet below it is shown how to show conversation video for specified TelephonyConversation through ConversationWindow.showForConversation method:

        var conversationWindow;
        var conversation

        // ...
        // Create conversation video window in designated html element.
        // Obtain telephony conversation for which we want to show video.
        // ...

        conversationWindow.showForConversation();
    
In the snippet below it is shown how to hide conversation video for specified TelephonyConversation through ConversationWindow.hideForConversation method:

        var conversationWindow;
        var conversation

        // ...
        // Create conversation video window in designated html element.
        // Obtain telephony conversation for which we want to show video.
        // ...

        conversationWindow.hideForConversation();
    

Next

Previous