-
Notifications
You must be signed in to change notification settings - Fork 55
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
feat(project): add user_id support for DRM, Live and SSAI #653
Conversation
Visit the preview URL for this PR (updated for commit 2371cbe): https://ottwebapp--pr653-feat-add-user-id-sup-byvwt26m.web.app (expires Wed, 15 Jan 2025 13:47:59 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: c198f8a3a199ba8747819f7f1e45cf602b777529 |
d10c709
to
5ab41dc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 🚀
if (hasServerAds && !isDRM) { | ||
url.href = `${baseUrl}/v2/sites/${siteId}/media/${mediaid}/ssai.${MANIFEST_TYPE.dash === source.type ? 'mpd' : 'm3u8'}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AntonLantukh we believe this now replaces external hosted URLs with the SSAI URL. This prevents playback because the SSAI URL yields an error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @ChristiaanScheermeijer ! Could you elaborate on this one? I see we use a APP_API_BASE_URL
env which should be cdn
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I use an externally hosted media file (e.g. https://videdock.com/video.m3u8) in JW dashboard, this shouldn't be replaced with the SSAI manifest.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it makes sense to check the type
(mpd | m3u8) and make changes only for this case.
Description
Add user_id support for DRM, Live and SSAI
This PR solves # .
Steps completed:
According to our definition of done, I have completed the following steps: