Before you begin

From Genesys Documentation
Jump to: navigation, search
This topic is part of the manual WebRTC Private Edition Guide for version Current of WebRTC.

Find out what to do before deploying WebRTC.

Limitations and assumptions

All prerequisites described under Third-party prerequisites, Genesys dependencies, and Secrets have been met.

Download the Helm charts

Download the Helm charts from the webrtc folder in the JFrog repository. See Helm charts and containers for WebRTC for the Helm chart version you must download for your release.

For information about how to download the Helm charts in Jfrog Edge, see the suite-level documentation: Downloading your Genesys Multicloud CX containers

WebRTC contains the following containers:

Artifact Type Functionality JFrog Containers and Helm charts
webrtc webrtc gateway container Handles agents’ sessions, signalling, and media traffic. It also performs media transcoding. https://<jfrog artifactory>/<docker location>/webrtc/webrtc/
coturn coturn container Utilizes TURN functionality https://<jfrog artifactory>/<docker location>/webrtc/coturn/
webrtc-service Helm chart https://<jfrog artifactory>/<helm location>/ webrtc-service-<version_number>.tgz

Third-party prerequisites

For information about setting up your Genesys Multicloud CX private edition platform, see Software requirements.

The following are the third-party prerequisites for WebRTC:

Third-party services
Name Version Purpose Notes
Keda 2.0 Custom metrics for scaling. Use of Keda or HPA is configurable through Helm charts.KEDA can be enabled or disabled for WebRTC. But, WebRTC cannot be configured to use HPA instead of KEDA.
Load balancer VPC ingress. For NGINX Ingress Controller, a single regional Google external network LB with a static IP and wildcard DNS entry will pass HTTPS traffic to NGINX Ingress Controller which will terminate SSL traffic and will be setup as part of the platform setup.
A container image registry and Helm chart repository Used for downloading Genesys containers and Helm charts into the customer's repository to support a CI/CD pipeline. You can use any Docker OCI compliant registry.
Command Line Interface The command line interface tools to log in and work with the Kubernetes clusters.

Storage requirements

WebRTC does not require persistent storage for any purposes except Gateway and CoTurn logs. The following table describes the storage requirements:

Persistent Volume Size Type IOPS Functionality Container Critical Backup needed
webrtc-gateway-log-volume 50Gi RW medium storing gateway log files webrtc Y Y
webrtc-coturn-log-volume 50Gi RW medium storing coturn log files coturn N Y

Persistent Volume and Persistent Volume Claim will be created if they are configured. The size for them optional and should be adjusted according to log rate described below:


idle: 0.5 MB/hour per agent

active call: around 0.2MB per call per agent.

Example: For 24 full hours of work, where each agent call rate is constant and is around 7 to 10 calls per hour, we will require around ~500GB for 1000 agents, with around ~20GB being consumed per hour.


For 1000 connected agents, the load rate is approximately 3.6 GB/hour which scales linearly and increases or decreases with the number of agents and stays constant whether calls are performed or not.

Network requirements


WebRTC requires the following Ingress requirements:

  • Persistent session stickiness based on cookie is mandatory. Stickiness cookie should contain the following attributes:
    • SameSite=None
    • Secure
    • Path=/
  • No specific headers requirements
  • Whitelisting (optional)
  • TLS is mandatory


WebRTC supports three types of secrets: CSI driver, Kubernetes secrets, and environment variables.

GWS Secret for WebRTC should contain the following grants:

For GWS secrets, CSI or Kubernetes secret should contain gwsClient and gwsSecret key-values.

GWS secret for WebRTC must be created in the WebRTC namespace using the following specification as an example:

apiVersion: v1
kind: Secret
type: Opaque
  name: webrtc-gws-secret
  namespace: webrtc
  client_id: XXXXX
  client_secret: YYYYY


Not Applicable

WAF Rules

The following Web Application Firewall (WAF) rules should be disabled for WebRTC:

WAF Rule Number of rules

Pod Security Policy

Not applicable


WebRTC and CoTurn auto-scaling is performed by KEDA operator. The auto-scaling feature requires Prometheus metrics. To know more about KEDA, visit

Use the following option in YAML values file to enable the deployment of auto-scaling objects:

  keda:              true

You can configure the Polling interval and maximum number of replicas separately for Gateway pods and CoTurn pods using the following options:

  pollingInterval:  30
  maxReplicaCount:  100

    pollingInterval:  30
    maxReplicaCount:  100
  • Gateway Pod Scaling
    • Sign-ins
   pollingInterval:   30
   maxReplicaCount:   100
   prometheusAddress: <nowiki>http://monitoring-prometheus-prometheus.monitoring:9090</nowiki>
   thresholdSignins: 25
  • CPU based scaling

WebRTC auto-scaling is also performed based on the CPU and memory usage. The following YAML shows how CPU and memory limits should be configured for Gateway pods in YAML values file:

   prometheusAddress: <nowiki>http://monitoring-prometheus-prometheus.monitoring:9090</nowiki>
   pollingInterval:    30
   maxReplicaCount:    100
   thresholdSignins:   25
   thresholdCpu:       60
   thresholdMemory:    60
  • CoTurn Pod scaling

Auto-scaling of CoTurn is performed based on CPU and memory usage only. The following YAML shows how CPU and memory limits should be configured for CoTurn pods in YAML values file:

   pollingInterval:    30
   maxReplicaCount:    100
   thresholdCpu:       60
   thresholdMemory:    60

SMTP settings

Not applicable

Browser requirements

Name Version Notes
FirefoxCurrent release or one version previousGenesys also supports the current ESR release. Genesys supports the transitional ESR release only during the time period in which the new ESR release is tested and certified. For more information, see Firefox ESR release cycle. Firefox updates itself automatically. Versions of Firefox are only an issue if your IT department restricts automatic updates.
ChromeCurrent release or one version previousChrome updates itself automatically. Versions of Chrome are only an issue if your IT department restricts automatic updates.
Microsoft Edge ChromiumCurrent release

Genesys dependencies

WebRTC has dependencies on several other Genesys services and it is recommended that the provisioning and configuration of WebRTC be done after these services have been set up.

Service Functionality
GWS Used for environment and tenants configuration reading
GAuth Used for WebRTC service and Agents authentication
GVP Used for voice calls - conferences, recording, and so on
Voice microservice Used to handle voice calls
Tenant microservice Used to store tenant configuration

For detailed information about the correct order of services deployment, see Order of services deployment.

GDPR support

Not applicable

Comments or questions about this documentation? Contact us for support!