Skip to content

Conversation

@yambenari24
Copy link
Contributor

Issue:
Live entries with a redirectEntryId (pointing to a VOD) were being indexed in Elasticsearch without captions because the indexing logic only looked at caption assets attached directly to the live entry. This caused a mismatch where the playback player displayed captions correctly (from the VOD), but Elasticsearch filters incorrectly reported no captions.

Fix:
Updated getCaptionElasticSearchData to check if a live entry has a redirectEntryId and, if so, fetch caption assets from the redirect target entry (VOD) for indexing. Added logging for transparency when fetching captions from the redirect target.

Pull Request Checklist

Please complete the following before submitting:

General notes -

  • I have tested the changes locally.
  • I have written unit tests where applicable.
  • I have updated documentation where needed.
  • I have added comments to complex code.
  • This PR follows the coding style guidelines.
  • I have updated release notes with new feature

New Kaltura Types

  • I have created new clients
  • I have notified related apps - KMCNG / KMS / EP .... about new clients

New Kaltura Services / Actions

  • I have added a deployment script

Questions

  1. What is the purpose of this PR?

    • Enter your answer here
  2. Does this change affect production code or infrastructure?

    • Yes
    • No
  3. If yes, what is the rollback plan?

    • Enter your answer here

@github-actions
Copy link

@github-copilot suggest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants