Mountain View
Jabber SDK API Documentation

Tutorial: Select Monitor For Screen Share

Select Monitor For Screen Share

Title Once the Monitor list has been acquired, monitor can then be selected to be an active monitor. When user starts sharing screen, active monitor's screen will be shared. Selecting a monitor can be done through MultimediaController.selectMonitor method, and it is shown in the snippet below:

        var monitorList;

        // ...
        // Retrieve monitor list
        // ...

        // For the sake of this example, index that is used is valid.
        var monitor = monitorList[0];

        cwic.MultimediaController.selectMonitor(monitor);
    

Next

Previous