Skip to main content link. Accesskey S
  • Help
  • HCL Logo
  • HCL Sametime wiki
  • THIS WIKI IS READ-ONLY. Individual names altered for privacy purposes.
  • HCL forums and blogs
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
Search
Community Articles > Integration with other products > Video Chat widget for IBM Connections
  • Share Show Menu▼
  • Subscribe Show Menu▼

Recent articles by this author

Conference Manager Monitoring APIs

The administrator of the Sametime Media server can now extract the information of the Audio Video usage statistics so that customer administrators can write use their API consumers to monitor the Media server. This is now available in the form of REST and JMX APIs through the Sametime Conference ...

Using Call Data Records with Audio Video Conferencing

This article describes a step-by-step approach for fetching Call Data Records from the Sametime Video Manager and also provides details about the various reports generated for analysis.

Video Chat widget for IBM Connections

The Video Chat Widget The Video Chat widget provides audio video capability on an IBM Connections Community. Users of the Video Chat widget just click a button from the Connection community to start an audio video conference. If the conference has not been started by anyone, the Start Video ...
Community articleVideo Chat widget for IBM Connections
Added by ~Alexis Ekfanabergetsi | Edited by ~Alexis Ekfanabergetsi on January 2, 2014 | Version 65
  • Actions Show Menu▼
expanded Abstract
collapsed Abstract
No abstract provided.
Tags: 9.0, Connections, widgets
The Video Chat Widget

The Video Chat widget provides audio video capability on an IBM Connections Community. Users of the Video Chat widget just click a button from the Connection community to start an audio video conference. If the conference has not been started by anyone, the Start Video Conference button displays. If the conference has been started, the Join Conference button displays. The number of users logged into the conference is also displayed.

Supported software versions

Supported softwareVersion
IBM Connections3.0.1 or later
IBM Sametime 8.5.2 IFR 1

Installation Prerequisites

The Login Properties field on the Connections Server needs to start with "mail" to match the Login Properties field on the Sametime server.

Enable communication between Sametime Meetings and Connections


The Sametime Meetings API requires authentication before releasing data, therefore, single sign-on must be enabled between Connections and the Sametime Meetings Server. Complete these procedures to enable single sign-on:

Note: LDAP should be configured correctly on the IBM Connections server and the Sametime Meeting Server.

Export LTPA tokens from the IBM® Sametime® Meeting Server.
After exporting the LTPA tokens, you can complete the procedure to import the LTPA token key file into IBM Connections.
  1. On the server hosting the Sametime Meeting Server, log in to the WebSphere Integrated Solutions Console as the WebSphere administrator.
  2. In the navigation tree, click Security > Global Security.
  3. In the Authentication section, click LTPA.
  4. On the Global Security - LTPA page, in the Cross-cell single sign-on section, complete these steps:
    1. Specify a password and confirm the password.
    2. In the fully qualified key file name field, specify a path and file name for storing the key file. For example, C:\ssoLtpa.key
      If you do not specify a path when saving the file, the default location is the Dmgr folder; for example on Windows:
      C:\Program Files(x86)\IBM\WebSphere\AppServer\profiles\...DMgr
  5. Click Export keys.

Import the LTPA token key file into Connections
Import the LTPA token key file into Connections from the Sametime Meetings Server by completing the following steps:
  1. Copy the token key file that you exported from the Sametime Meetings Server and store it on the computer where the Connections deployment manager is installed.
  2. On the server hosting the IBM Connections server, log in to the Integrated Solutions Console as a WebSphere® administrator.
  3. Click Security > Global Security.
  4. In the Authentication section, click LTPA.
  5. On the LTPA page, use the Cross-cell single sign-on section to provide the following information about the token key file:
    • Password: Type the password you provided when you exported this file from Sametime.
    • Confirm password: Type the password a second time to verify it.
    • Fully qualified key file name: Type the complete path and file name to the key file.
  6. Click Import keys to import the file.
  7. Click OK.

Enable single sign-on between Sametime and Connections for the Meetings Rooms widget
Complete these steps to enable single sign-on between the IBM Sametime Meeting Server and IBM Connections so that users can enter meeting rooms without needing to authenticate again with the Sametime Meeting Server.
Perform this procedure on all WebSphere® Application Servers in the SSO domain to enable SSO among those servers. The Domain Name setting determines the cookie domain of the LtpaToken.
  1. Log on to the WebSphere Application Server, Integrated Solutions Console as an administrator.
  2. Click Security > Global Security.
  3. In the Authentication section, expand Web and SIP Security. Click Single sign-on (SSO).
  4. On the General Properties page, complete these steps:
    • Select Enabled to enable SSO between servers.
    • In the Domain Name field, enter the domain name for all SSO hosts. Add a leading dot before the domain name, for example, .ibm.com. You can also specify a UseDomainFromURL value, on which the application server sets the SSO domain name value to the domain of the host that is used in the Web address.
    • Select Interoperability mode to provide backward interoperability if you have a WebSphere Application Server version earlier than version 5.1 and a Lotus® Domino® version earlier than 7.0 in the SSO domain.
    • Select Web inbound security attribute propagation to enable this feature. Web inbound security attribution propagation might be required by some IBM products.
  5. Click OK.

For detailed instructions on enabling single sign-on, see this topic: Configuring single sign-on with an LTPA token on IBM WebSphere and IBM Domino platforms.

Installation
The Video Chat Widget is available from the IBM Collaboration Solutions Catalog on Greenhouse.

Install the widget

Install the SametimeVideo.xml file on the IBM Connections server in a web-accessible folder. For example:
.../IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps//Communities.ear/comm.web.war/SametimeVideo.xml

Configure the widget
1. Modify the widgets-config.xml files by completing these steps:
a. To display this widget on every community's home page, edit the widgets-config.xml file. This file is typically found in two places:
.../IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells//LotusConnections-config/widgets-config.xml
..../IBM/WebSphere/AppServer/profiles/Dmgr01/config/cells//LotusConnections-config/widgets-config.xml
b. In each of these files, locate the resource tag with a type of community.
Within that tag there is a widgets tag, and within that tag there is a definitions tag.
c. To create a new Sametime Video widget definition, add a new widgetDef tag within the definitions section.
The widget definition should look like this:

<widgetDef defId="Video" primaryWidget="false" modes="view" uniqueInstance="true" url="contextRoot/SametimeVideo.xml">
<itemSet>
	<item name="sametimeMeetingServerUrl" value="http://stmeetings.company.com:9080/stmeetings" />
	<item name="ssl_sametimeMeetingServerUrl" value="https://stmeetings.company.com:9443/stmeetings" />
</itemSet>
	</widgetDef>

d. Set the value of sametimeMeetingServerUrl to the appropriate fully qualified host name, port, and context-root of your Sametime Meeting server.
Ensure that the URL specified in the main widgetDef matches where you installed the SametimeVideo.xml file.
If you placed the SametimeVideo.xml file somewhere other than the suggested location in step 1.a., modify this URL in your widget definition.
For example, the Sametime Video widget added as second definition:
<resource type="community" aclServiceImpl="com.ibm.lconn.comm.acl.ACLSvcImpl" resourceValuesProvider="com.ibm.tango.internal.service.CommunitiesResourceValuesProvider" xpathMandatedWidgetForMainPage="/tns:config/tns:resource[@type='community']/tns:widgets/tns:layout/tns:page[@pageId = 'communityOverview']">
		<widgets xmlns:tns="http://www.ibm.com/widgets-config">
			<definitions>
				<widgetDef defId="Members" primaryWidget="false" modes="view fullpage" showInPalette="false" uniqueInstance="true" url="{webresourcesSvcRef}/web/lconn.comm/communityMembers/communityMembers.xml?version={version}">
					<itemSet>
						<item name="membersPerPage" value="18" />
						<item name="membersPerPageFullPage" value="16" />
					</itemSet>
				</widgetDef>
				
				<widgetDef defId="Video" primaryWidget="false" modes="view" uniqueInstance="true" url="{contextRoot}/SametimeVideo.xml">
					<itemSet>
						<item name="sametimeMeetingServerUrl" value="http://stmeetings.company.com:9080/stmeetings"/>"
					</itemSet>
				</widgetDef>
				
				<widgetDef defId="Blog" prerequisite="blogs" modes="view edit search" url="{blogsSvcRef}/static/{version}!{locale}/iwidgets/blog/blogsWidget.jsp" navBarLink="{blogsSvcRef}/{resourceId}" description="blogsDescription" uniqueInstance="true" helpLink="{helpSvcRef}/topic/com.ibm.lotus.connections.communities.help/community_blog_frame.html" iconUrl="{contextRoot}/nav/common/images/iconBlogs16.png">

e. In the same widgets-config.xml files, define where the new widget will display.
From within the widgets tag, find the layout tag (should be after the close of the definitions tag).
On the page with an id of communityOverview, create a new widgetInstance tag like the following:

<widgetInstance uiLocation="col3" defIdRef="Video"/>


The uiLocation setting and the order of the widgetInstance tags determines where the widget shows up on the page.
For example, the Sametime Video widget in column 3, above Members":

<!-- mandated widgets -->
	<layout resourceSubType="default">
		<page pageId="communityOverview">
			<widgetInstance uiLocation="col3" defIdRef="Video"/>
			<widgetInstance uiLocation="col3" defIdRef="Members"/>
		</page>
		<page pageId="allCommunities">
			<widgetInstance uiLocation="col1" defIdRef="sand_recomComm"/>
		</page>
		<page pageId="myCommunities">
			<widgetInstance uiLocation="col1" defIdRef="sand_recomComm"/>
		</page>
	</layout>
2. Restart the Communities application.
3. Install the latest Sametime Meetings 8.5.2 IFR 1 fix from IBM Fix Central. At the time of this writing, that fix is RPOH-8U4KJM. Note: This step is not necessary if you have Sametime Meetings 9 or later installed.
4. Adjust the service provider properties as described in these steps:
If you plan to use an audio/video service provider other than Sametime AV, modify the properties file so that video rooms are created
with the appropriate attributes.
  1. On the Sametime Media server, where the Conference Focus Component is deployed, access this path: .../IBM/WebSphere/AppServer/profiles//sametime_tcspi
  2. Open the Service Provider specific properties file, for example, myAV.properties.
    Note the Service Provider ID (SERVICE_PROVIDER_ID).
  3. Open the ConferenceManager.properties file.
    Note the ServiceProvider name from the ConferenceServiceName property.
  4. On the Sametime Meeting Server, locate the serviceProvider.json file in the stmeetings.webclient.war folder of the Sametime Meeting Server.ear deployment.
    For example,
    .../IBM/WebSphere/AppServer/profiles//installedApps//SametimeMeetingServer.ear/stmeetings.webclient.war/serviceProvider.json
  5. Edit this file and set the following properties using the information from steps 2 and 3:
    1. id = SERVICE_PROVIDER_ID from step b
    2. ConferenceServiceName = ConferenceServiceName from step c
    3. label = ConferenceServiceName from step c
Configuring the Ajax proxy

The Ajax proxy allows requests to be made across domains. Since the Sametime Meetings application resides on its own server, not on the Connections server, requests should be made through the Ajax proxy.

The WebSphere Application Server contains a modifiable proxy configuration file, proxy-config.tpl.


To modify the file, see this procedure: Configuring the Ajax proxy.

The proxy must allow the actions, cookies, and headers as shown.

Note: You must modify the url value according to your own configuration.



 <proxy:policy url="http://stkvmg17.cn.ibm.com:9080/*" acf="none">
        <proxy:actions>
            <proxy:method>GET</proxy:method>
            <proxy:method>HEAD</proxy:method>
            <proxy:method>POST</proxy:method>
            <proxy:method>PUT</proxy:method>
            <proxy:method>DELETE</proxy:method>
        </proxy:actions>
        <proxy:cookies>
            <proxy:cookie>LtpaToken</proxy:cookie>
            <proxy:cookie>LtpaToken2</proxy:cookie>
            <proxy:cookie>JSESSIONID</proxy:cookie>
        </proxy:cookies>
        <proxy:headers>
            <proxy:header>X-ST-CSRF-Token</proxy:header>
            <proxy:header>User-Agent</proxy:header>
            <proxy:header>Accept.*</proxy:header>
            <proxy:header>Content.*</proxy:header>
            <proxy:header>Authorization.*</proxy:header>
            <proxy:header>If-.*</proxy:header>
            <proxy:header>Pragma</proxy:header>
            <proxy:header>Cache-Control</proxy:header>
            <proxy:header>X-Update-Nonce</proxy:header>
            <proxy:header>WWW-Authenticate.*</proxy:header>
            <proxy:header>Access.*</proxy:header>
        </proxy:headers>
    </proxy:policy>


Known Issues and limitations
The Connections community page must be refreshed to obtain the number of users connected to the video conference.

The Video Chat widget does not support anonymous users.

Debugging
Check whether both of the widgets-config.xml files are installed and configured properly as described in the Install the widget and Configure the widget sections of this article.













  • Actions Show Menu▼


expanded Attachments (0)
collapsed Attachments (0)
Edit the article to add or modify attachments.
expanded Versions (65)
collapsed Versions (65)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (65)Jan 2, 2014, 4:13:28 PM~Alexis Ekfanabergetsi  
64Jan 2, 2014, 3:28:53 PM~Richard Dwojumichekoden  
63Jan 2, 2014, 3:28:37 PM~Richard Dwojumichekoden  
62Jan 2, 2014, 3:28:22 PM~Richard Dwojumichekoden  
61Jan 2, 2014, 3:26:05 PM~Richard Dwojumichekoden  
60Jan 2, 2014, 3:17:28 PM~Richard Dwojumichekoden  
59Jan 2, 2014, 2:59:50 PM~Richard Dwojumichekoden  
58Jan 2, 2014, 2:47:03 PM~Richard Dwojumichekoden  
57Jan 2, 2014, 2:46:01 PM~Richard Dwojumichekoden  
56Jan 2, 2014, 2:45:13 PM~Richard Dwojumichekoden  
55Dec 6, 2013, 6:37:37 PM~Richard Dwojumichekoden  
54Nov 26, 2013, 3:40:56 PM~Richard Dwojumichekoden  
52Nov 26, 2013, 3:39:30 PM~Richard Dwojumichekoden  
51Nov 26, 2013, 3:39:27 PM~Richard Dwojumichekoden  
50Nov 26, 2013, 3:36:38 PM~Richard Dwojumichekoden  
49Nov 26, 2013, 3:36:10 PM~Richard Dwojumichekoden  
48Nov 18, 2013, 9:37:29 PM~Richard Dwojumichekoden  
47Nov 18, 2013, 9:35:55 PM~Richard Dwojumichekoden  
46Nov 18, 2013, 9:34:04 PM~Richard Dwojumichekoden  
45Nov 18, 2013, 9:33:23 PM~Richard Dwojumichekoden  
44Nov 18, 2013, 9:30:12 PM~Richard Dwojumichekoden  
43Nov 18, 2013, 9:27:03 PM~Richard Dwojumichekoden  
42Nov 18, 2013, 9:25:42 PM~Richard Dwojumichekoden  
41Nov 18, 2013, 9:24:56 PM~Richard Dwojumichekoden  
40Nov 18, 2013, 9:02:26 PM~Richard Dwojumichekoden  
39Nov 18, 2013, 9:02:12 PM~Richard Dwojumichekoden  
38Nov 18, 2013, 8:56:15 PM~Richard Dwojumichekoden  
37Nov 18, 2013, 8:52:33 PM~Richard Dwojumichekoden  
36Nov 18, 2013, 8:47:19 PM~Richard Dwojumichekoden  
35Nov 18, 2013, 8:46:32 PM~Richard Dwojumichekoden  
34Nov 18, 2013, 8:45:24 PM~Richard Dwojumichekoden  
33Nov 18, 2013, 8:43:03 PM~Richard Dwojumichekoden  
32Nov 18, 2013, 8:42:50 PM~Richard Dwojumichekoden  
31Nov 18, 2013, 8:32:09 PM~Richard Dwojumichekoden  
30Nov 18, 2013, 8:31:59 PM~Richard Dwojumichekoden  
29Nov 18, 2013, 8:25:23 PM~Richard Dwojumichekoden  
28Nov 18, 2013, 7:50:09 PM~Richard Dwojumichekoden  
27Nov 18, 2013, 7:32:40 PM~Richard Dwojumichekoden  
26Nov 18, 2013, 7:20:03 PM~Richard Dwojumichekoden  
25Nov 18, 2013, 7:13:52 PM~Richard Dwojumichekoden  
24Nov 18, 2013, 7:12:00 PM~Richard Dwojumichekoden  
23Nov 18, 2013, 7:03:43 PM~Richard Dwojumichekoden  
22Nov 15, 2013, 8:54:36 PM~Richard Dwojumichekoden  
21Nov 15, 2013, 8:41:27 PM~Richard Dwojumichekoden  
20Nov 15, 2013, 8:38:40 PM~Richard Dwojumichekoden  
19Nov 15, 2013, 8:36:24 PM~Richard Dwojumichekoden  
18Nov 15, 2013, 8:34:02 PM~Richard Dwojumichekoden  
17Nov 15, 2013, 8:31:20 PM~Richard Dwojumichekoden  
16Nov 15, 2013, 8:29:34 PM~Helga Opgeroskigon  
15Nov 15, 2013, 8:27:57 PM~Helga Opgeroskigon  
14Nov 15, 2013, 8:19:19 PM~Richard Dwojumichekoden  
13Nov 15, 2013, 8:16:47 PM~Richard Dwojumichekoden  
12Nov 15, 2013, 8:15:46 PM~Richard Dwojumichekoden  
11Nov 15, 2013, 8:15:44 PM~Richard Dwojumichekoden  
10Nov 15, 2013, 7:44:50 PM~Richard Dwojumichekoden  
9Nov 15, 2013, 7:39:58 PM~Richard Dwojumichekoden  
8Nov 15, 2013, 7:39:09 PM~Richard Dwojumichekoden  
7Nov 15, 2013, 7:34:16 PM~Richard Dwojumichekoden  
6Nov 15, 2013, 7:29:32 PM~Richard Dwojumichekoden  
5Nov 14, 2013, 7:02:02 PM~Richard Dwojumichekoden  
5Nov 14, 2013, 7:27:55 PM~Richard Dwojumichekoden  
4Nov 14, 2013, 6:58:42 PM~Richard Dwojumichekoden  
3Nov 14, 2013, 6:53:26 PM~Richard Dwojumichekoden  
2Nov 14, 2013, 6:51:45 PM~Richard Dwojumichekoden  
1Nov 14, 2013, 5:59:17 PM~Richard Dwojumichekoden  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedAbout
  • HCL Software
  • HCL Digital Solutions community
  • HCL Software Support
  • BlogsDigital Solutions blog
  • Community LinkHCL Software forums and blogs
  • About HCL Software
  • Privacy
  • Accessibility