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

Save hls_url if present #3972

Merged
merged 1 commit into from
Feb 10, 2020
Merged

Save hls_url if present #3972

merged 1 commit into from
Feb 10, 2020

Conversation

cjcolvar
Copy link
Member

This line was removed from avalon 7 as part of the transcoding backend
switch to newer active_encode with ffmpeg adapter instead of matterhorn.
It is reinserted here to avoid breaking streaming of intercom pushed
items that are not managed streams. In this case hls_url isn't being
set and location_url is the rtmp url because setStreamingLocations isn't
setting it because the derivative is unmanaged. In the end the item is
not streamable since it doesn't have an HLS url and only an RTMP url.
It would be good to switch to get rid of the need for two separate
fields for RTMP and HLS streaming urls but it would require a larger
refactoring of the code and possibly a data migration which probably
isn't worth it at this stage.

Fixes VOV-6113.

This line was removed from avalon 7 as part of the transcoding backend
switch to newer active_encode with ffmpeg adapter instead of matterhorn.
It is reinserted here to avoid breaking streaming of intercom pushed
items that are not managed streams.  In this case hls_url isn't being
set and location_url is the rtmp url because setStreamingLocations isn't
setting it because the derivative is unmanaged.  In the end the item is
not streamable since it doesn't have an HLS url and only an RTMP url.
It would be good to switch to get rid of the need for two separate
fields for RTMP and HLS streaming urls but it would require a larger
refactoring of the code and possibly a data migration which probably
isn't worth it at this stage.
@cjcolvar cjcolvar requested a review from phuongdh February 10, 2020 18:40
@phuongdh phuongdh merged commit 19d2e7d into develop Feb 10, 2020
@phuongdh phuongdh deleted the intercom_push branch February 10, 2020 19:36
@joncameron joncameron mentioned this pull request Feb 28, 2020
25 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants