From 0771a475ff498f5cf0bd6a997a5f0b7949a177d3 Mon Sep 17 00:00:00 2001 From: Benedict Etzel Date: Thu, 8 Feb 2018 19:53:06 +0100 Subject: [PATCH] Fix stream delay being ignored Regression of 7421139530a0c361a50e4ffdd6cbf7373b7ef47e. --- CHANGELOG.md | 2 ++ src/viewer/Root.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f75c422..4e3a950 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Fixed +- Fixed stream delay being ignored ## [0.2.1] - 2018-02-08 ### Changed diff --git a/src/viewer/Root.tsx b/src/viewer/Root.tsx index ac30dc6..a7eb42a 100644 --- a/src/viewer/Root.tsx +++ b/src/viewer/Root.tsx @@ -121,7 +121,7 @@ class Root extends React.Component { componentWillReceiveProps(props: RootProps & TwitchExtProps) { if (this.props.twitchExtContext) { - this.queue.delay = 0; + this.queue.delay = this.props.twitchExtContext.hlsLatencyBroadcaster; } }