pckg_channel_id
Sets the channel ID for streaming media in Kaltura Media Framework.
Description
The pckg_channel_id directive is used within the context of the Kaltura Media Framework to specify the unique identifier for a media channel. This ID is crucial for identifying and managing the stream of media content. It can be configured in the http, server, or location contexts, allowing it to be set at different levels depending on the application needs.
When defined, the pckg_channel_id directive impacts how the Kaltura Media Framework handles media requests. The directive uses a single argument, which is a string representing the channel ID. This ID associates incoming media requests with specific channel configurations, ensuring that the correct settings and processing rules are applied consistently across the Kaltura components. The directive supports scenarios such as multi-channel broadcasting where different channels may require various transcoding or delivery configurations.
If a request is made without a defined pckg_channel_id, the media could either fail to stream or it may default to a predefined configuration, depending on additional server settings. Therefore, it is essential to set this directive properly for the expected behavior of the media processing pipeline within the Kaltura environment.
Config Example
http {
server {
location /live {
pckg_channel_id my_channel;
}
}
}Ensure the channel ID is unique within the Kaltura environment to avoid unexpected behavior.
Setting this directive too late in the configuration may not apply the ID to existing requests.
Incorrectly formatted channel IDs may lead to errors in media processing.