kmp_ctrl_publish_url
The `kmp_ctrl_publish_url` directive configures the URL for publishing media streams in the Kaltura Media Framework.
Description
The kmp_ctrl_publish_url directive is utilized within the Kaltura Media Framework's NGINX module to specify the endpoint where media stream publishing requests should be sent. This directive takes a single argument, which must be a valid URL where the media components can post their video and audio streams. When configured, this URL enables seamless integration between various media components, allowing them to communicate effectively and facilitate media publishing according to the Kaltura Media Protocol (KMP). Stream components will use this URL to report their operational status, publish live streams, and send media events to the controller for orchestration.
In practice, the URL provided must point to a reachable HTTP endpoint that is designed to handle incoming media stream data. This allows for greater flexibility in distributed media architectures, where different media components can reside on separate servers while still communicating through the NGINX server using this directive. It's essential to ensure that the backend service listening on this URL is capable of processing the incoming requests and that any required security measures, such as authentication, are implemented to protect the endpoint from unwanted access.
Config Example
server {
location / {
kmp_ctrl_publish_url http://media-publisher.local:8080/publish;
}
}Ensure the specified URL is accessible from the NGINX server; otherwise, stream publishing will fail.
Make sure the backend service can handle the request formats expected by KMP; otherwise, responses may not be processed correctly.