Application of the Week – Whereby

I just got of a call with a customer who asked for guidance on deploying and managing both Slack and Whereby using Liquit Workspace.

In this blog I will explain how to create a Smart Icon for Whereby. This Smart Icon contains one action, part of one Launch action set.

Whereby is a solution to have video meetings using a browser only. It has been designed with ease of access in mind.

It doesn’t require any logins or downloads to join a conversation. This is because Whereby uses WebRTC. WebRTC is an open framework that enables Real-Time Communications (RTC) capabilities in the browser. WebRTC is built-in to most modern browsers, but not all browsers have support for it.

Full browser support is available for Chrome, Firefox and Chrome-based browsers like Opera and Vivaldi only. The new Microsoft Edge browser, based on chromium, isn’t listed. But I would not be surprised to see this being added to the list too. Safari and Microsoft Edge are currently in the experimental stage of development, and have limited support. With ‘Microsoft Edge’ I presume they mean Microsoft Edge Legacy then.

So, for this application we’re able to set the default browser just by selecting either one of the supported ones here:

Here’s the PowerShell script to create the Smart Icon for Whereby:

Import-Module "C:Program Files (x86)Liquit WorkspacePowerShell3.0Liquit.Server.PowerShell.dll" -Prefix "Liquit"

$liquitZoneUsername = "localadmin"
$liquitZonePassword = Read-Host "Enter Password" -AsSecureString
$liquitCredentials = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $liquitZoneUsername, $liquitZonePassword
$liquitZone = ""

$wherebyIconURL = ""
$wherebyIconPath = "c:tempwhereby.ico"

$packageName = "Whereby"
$packageDisplayName = "Whereby"
$packageDescription = "Whereby"

$liquitContext = Connect-LiquitWorkspace -URI $liquitZone -Credential $liquitCredentials

$webClient = New-Object System.Net.WebClient
$iconContent = New-LiquitContent -Path $wherebyIconPath

$package = New-LiquitPackage -Name $packageName `
                             -Type "Launch" `
                             -DisplayName $packageDisplayName `
                             -Description $packageDescription `
                             -Priority 100 `
                             -Enabled $true `
                             -Offline $False `
                             -Web $true `
                             -Icon $iconContent 

#create the snapshot for this package
$snapshot = New-LiquitPackageSnapshot -Package $package

#define launch action set
$actionset = New-LiquitActionSet -snapshot $snapshot `
                                 -Type Launch `
                                 -name 'Launch' `
                                 -Enabled $true `
                                 -Frequency Always `
                                 -Process StopAtFirstEffectiveAction
#define the first launch action
$actionset_action1 = New-LiquitAction -ActionSet $actionset `
                                      -Name 'Open Whereby Website' `
                                      -Type 'openurl' `
                                      -Enabled $true `
                                      -IgnoreErrors $false `
                                      -Settings @{ url = ''; browser = 3;} `
                                      -Context User

#publish the package
Publish-LiquitPackageSnapshot -Snapshot $snapshot -stage Production 

#set the entitlement
$identity = Get-LiquitIdentity -id "LOCALeveryone"
New-LiquitPackageEntitlement -Package $package -Identity $identity -Publish Workspace