The following page describes how to use Command Sync. Command Sync allows synchronized playback across different players. The players can play different content but each asset needs to have the same duration.
This feature does not support Embedded Sequences, Dynamic Embedded Sequences, Application Channels, or Transitions.
Digital signage solutions need to support video walls and synchronized playback to support scenarios like New Year countdowns or large video sliced up to play across multiple screens and this is where Command Sync comes into play.
To use Command Sync, one player acts as a primary and sends command and all the other players act as clients and play when they receive the command.
The primary sends a command to all registered clients when it is about to start playback of an item. The payload of this can be the index of the item to be played and/or the outer html of the element to be played.
The following section describes how you can use Command Sync in an AEM Screens project.
For synchronized playback, it is required that all the hardware devices have the same hardware specifications and preferably the same operating system. Synchronizing between different hardware and operating systems is not recommended.
Before you use Command Sync feature, make sure you have a project and a channel with content set up for your project.
The following example showcases a demo project named CommandSyncDemo and a sequence channel ChannelLobby.
To learn how to create a channel or add content to a channel, refer to Creating and Managing Channels
The channel contains the following content, as shown in the figure below.
Create a location Lobby and subesequently a display titled as LobbyDisplay in the Locations folder, as shown in the figure below.
Assign the channel, ChannelLobby to your LobbyDisplay. You can now view the assigned channel to the display from the display dashboard.
To learn how to assign a channel to a display, refer to Creating and Managing Displays.
Navigate to Devices folder and click Device Manager from the action bar to register the devices.
To learn how to register a device, refer to Device Registration
For demo purposes, this example showcases a chrome device and a windows player as two separate devices. Both the devices point to the same display.
Navigate to ChannelLobby and click Edit from the action bar to update the channel settings.
Select the entire channel as shown in the figure below.
Click the wrench icon to open the Page dialog box.
Enter the synced keyword in the Strategy field.
Navigate to the display dashboard from CommandSyncDemo --> Locations --> Lobby --> LobbyDisplay and click on Dashboard from the action bar.
You will see the two devices (chrome and windows player) in DEVICES panel, as shown in the figure below.
From the DEVICES panel,select the device you want to set as primary. The following example demonstrates setting up the Chrome device as the primary. Click on Set as primary device.
Enter the IP address in Set as primary device and click on Save.
You can set up multiple devices as primary.
Once you have set the Chrome device as primary, you can sync the other device (in this case, the windows player) to sync with the primary.
Select the other device (in this case, windows player) from the DEVICES panel and click on Sync to primary device, as shown in the figure below.
Select the device from the list and click Save.
The Sync to primary device dialog will show the list of primary devices. You can select the desired one of your preference.
Once the device (Windows player) is synced to the primary (Chrome player), you will see the device synced in the DEVICES panel.
Once you have synced a device or devices to a primary, you can de-sync the assignment from that device.
If you de-sync a primary device, it will also unlink all client devices associated with that primary device.
In order to remove the syncing from the primary device, follow the steps below:
Navigate to the DEVICES panel and select the device.
Click on Desync device(s) to de-sync the client from the primary device.
Click Confirm to de-sync the selected device from the primary.
If you select the primary device and use the de-sync option, then all the devices connected to the primary, will be de-synced in one step.