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

[PLAYER-4422] changes to seek to previous position in dvr window on failover for live #336

Merged
merged 2 commits into from
Sep 25, 2018

Conversation

dallen42
Copy link
Contributor

Skipping unit tests to get this into tonight's build for QA testing, will add tests later

@@ -1371,7 +1392,9 @@ import CONSTANTS from "./constants/constants";
* @param {object} event The event from the video
*/
var raiseDurationChange = _.bind(function(event) {
raisePlayhead(this.controller.EVENTS.DURATION_CHANGE, event);
if (!isLive || isDvrAvailable()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there any side-effects to omitting this notification for Live streams that don't have DVR?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jpfranco sorry I forgot to revert this. Was trying to avoid another minor issue with the playhead flashing to the start of the dvr window if failover happens on the live edge. I think this may introduce other consequences though as you suggest

@aeng7
Copy link
Contributor

aeng7 commented Sep 25, 2018

LGTM other than @jpfranco 's comment

Copy link
Contributor

@jpfranco jpfranco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aeng7 aeng7 merged commit 4b67621 into master Sep 25, 2018
@zelibobla zelibobla deleted the PLAYER-4422 branch April 29, 2019 14:45
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.

3 participants