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

onContext game inaccurate on game change #233

Open
BarryCarlyon opened this issue Oct 2, 2020 · 1 comment
Open

onContext game inaccurate on game change #233

BarryCarlyon opened this issue Oct 2, 2020 · 1 comment

Comments

@BarryCarlyon
Copy link
Contributor

Brief description

If a streamer changes the active game on a channel.

onContext in "non popout mode"

Will get one time window where the game updates to the new name correctly.
But then resets to the previous game for a few minutes. (around 3)
Before updating again to the correct game.

How to reproduce

Repro code in this gist

https://gist.github.com/BarryCarlyon/71c15dc7f82f28ef5c59064be74e065a

Expected behavior

The game updates in the onContext and stays updated without the period of "wrong game"

Screenshots

Attached video:

https://www.twitch.tv/videos/758370394

Additional context or questions

Might be related to #224

@SunburnedGoose
Copy link

I'm seeing a similar issue with a stream changing the category mid-stream. The first load of the page after changing the category will provide the previous category in the onContext callback. The game category does not update after any amount of time. The second load of the page will show the correct category in the onContext callback.

Likewise, when starting a stream, the first viewer will see an empty string for the 'game' property in the onContext callback. After ~30 seconds, the correct game category is populated in the callback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants