-
Notifications
You must be signed in to change notification settings - Fork 13
Videochat environment setup
POGS supports the communication type of video group chat. Similar to a zoom call, embedded in the system.
By default POGS use JITSI as the conference solution.
This version does not allow (guaranteed) recordings, if they are required, it is recommended to use 8x8.com Jitsi as a service paid solution.
If you want to use the free Jitsi version just make sure the enviroment varible : VIDEO_PROVIDER_PRIVATE_KEY_PATH is not set at all.
Otherwise the system will attempt to use the Jitsi as a Service provider.
In order to configure 8x8 Jitsi as a service please follow this steps:
ssh-keygen -t rsa -b 4096 -m PEM -f
1.2 Convert that generated key to PKCS #8
openssl pkcs8 -topk8 -inform PEM -in <input key path> -outform pem -nocrypt -out <output key path>
1.3 Copy the contents of the key:
Begins with -----BEGIN RSA PUBLIC KEY-----
After creating an account go to: https://jaas.8x8.vc/#/apikeys
2.1 SAVE the app id in the box: Your AppID is: KEYTOCOPY.
Click do add API KEY -> Add your own key (Add public API key) -> PASTE the contents of the PKCS key copied in step 1.3
2.2 Copy the newly created API key
Go to https://jaas.8x8.vc/#/webhooks and click Add endpoint
Fill in these fields:
Endpoint URL*: YOUR_POGS_URL/jitsiwebhook
Leave the Authorization header field empty.
Select the following events:
RECORDING_UPLOADED
RECORDING_STARTED
TRANSCRIPTION_UPLOADED
RECORDING_ENDED
And setup the right path to the generated key at: /POGS/.env.
Jitsi as a service provider needs an email sending server in order to send the download link to the researcher. The recorded conference is sent by email once the POGS server receives the event from Jitsi as a service that the recording has been uploaded. This is a MANDATORY step for recordings, because the links are ephemeral and will be deleted after 24 hours.
VIDEO_PROVIDER_PRIVATE_KEY_PATH=/appkeydir/id_rsa
VIDEO_PROVIDER_API_KEY=vpaas-copied-in-step-2-1
VIDEO_PROVIDER_APP_ID=vpaas-copied-in-step-2-2
SMTP_HOST=smtp.server.net
SMTP_PORT=25
SMTP_USERNAME=smtpserverusername
SMTP_PASSWORD=password