Mountain View
Jabber SDK API Documentation

Tutorial: Monitor Highlight And Highlight Color

Monitor Highlight And Highlight Color

Title In order to visually show user which monitor he is selecting to be an active one or which monitor is an active one during screen share, highlight feature can be used. Each available monitor from monitor list can be highlighted. Highlighted monitor will create border of specified color (default red) around edges of monitor's screen. In the snippet below it is shown how to:

        var monitorList;

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

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

        // Highlighting monitor
        cwic.MultimediaController.highlightMonitor(monitor);

        // Change highlight color
        cwic.MultimediaController.setMonitorHighlightColor(0,255,0);

        // Unhighlight monitor
        cwic.MultimediaController.unHighlightMonitor();
    

Previous