ts_kmp_ctrl_publish_url
The `ts_kmp_ctrl_publish_url` directive specifies the URL that the Kaltura Media Framework uses to send publish events to a controller.
Description
The ts_kmp_ctrl_publish_url directive within the Kaltura Media Framework Common NGINX Module is crucial for establishing communication between media components and the controlling server. This directive allows the administrator to define a specific URL that the Kaltura application will utilize to send publishing events related to media streaming. Events might include notifications of streams going live or updates about stream parameters.
When configured properly, this directive helps in orchestrating the media pipeline by allowing the controller to receive real-time updates via HTTP POST requests. These updates are delivered in JSON format, which aids the controller in dynamically adjusting the media topology based on the current operational status of the components. Using this directive effectively ensures seamless interaction within the media framework, enabling efficient management of media streams and better resource allocation.
The ts_kmp_ctrl_publish_url directive is used in the context of the stream and stream server. It accepts a single argument that contains the desired endpoint URL where the Kaltura controller listens for these publish notifications. Ensuring that the URL is correct and reachable is pivotal for the proper functioning of the Kaltura services.
Config Example
stream {
server {
ts_kmp_ctrl_publish_url http://example.com/kaltura/publish;
}
}Ensure the URL is correct and accessible by the server running NGINX.
Check if the Kaltura controller is configured to accept requests at the specified URL.
Monitor for CORS issues if the publish URL is on a different domain. Use proper headers if necessary.