Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(FEC-14248): Anonymous session based on if ks contain user #258

Closed

Conversation

roeedean
Copy link
Contributor

@roeedean roeedean commented Feb 3, 2025

Description of the Changes

  • Added a new service for Kaltura User Get using it inside the OVPProvider
  • We send the request as part of the OVPMediaEntryLoader multi-request, only if the media came with a ks from outside
  • Concentrated the dealing with the flag config.session._isAnonymous in a single place in the file, instead of several places.
  • Fixed the flag config.session._isAnonymous logic:
    until now, config.session._isAnonymous was set to 'false' for every session that has ks (even if it's anonymous ks).
    The fix insure that the flag config.session._isAnonymous will be set to 'false' only for sessions that have ks containing a valid user inside, otherwise the flag will be set to 'true'.

Related PR: kaltura/kaltura-player-js#916

FEC-14248

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.

1 participant