Autoscale Node Webapps Configuration
Non-Mixer Nodes
The server side live
webapp must be configured with the webhook endpoint to call when streams are published or unpublished. This configuration must be applied to the live webapp on Transcoder, Origin, Edge, and Relay nodes as they exist in your nodegroup.
Configure the live webapp by editing {Red5Pro}/webapps/live/WEB-INF/red5-web.properties
with the webhook configuration (and optionally add the configuration for the round trip authentication):
Without Authentication Enabled
With Round Trip Authentication Enabled
Where:
webhooks.endpoint
– is the endpoint of the webhook that will receive the stream published and unpublished events. The Node.js server provides this endpoint athttps://<Node.js-host>/webhook
.server.validateCredentialsEndPoint
– the round trip authentication endpoint used to validate publish and subscribe requests.server.invalidateCredentialsEndPoint
– the round trip authentication endpoint used to invalidate publish requests.server.host
– the host of the backend Node.js server for the Mixer testbeds.server.port
– the port of the backend Node.js server for the Mixer testbeds.server.protocol
– the protocol of the backend Node.js server for the Mixer testbeds.