alamminsalo / orion

Cross platform Twitch.tv client
GNU General Public License v3.0
315 stars 60 forks source link

Video Player not Connected to Twitch User Information? #257

Open gamingneeds opened 5 years ago

gamingneeds commented 5 years ago

I'm wondering if the video function in Orion is connected to the user or just a general video of the selected channel? Some streams have loyalty points, rewards, etc you can earn, but it can check if you're viewing said video or not. It doesn't just the chat list.

I'm wondering if watching a stream in Orion will trigger this "viewership loyalty" or not?

This is done using the "Twitch Viewer Heartbeat Service (VHS), a data-reporting service that pumps JSON data about a user’s viewing activity to an HTTPS endpoint".

I tested this for about 4.5 hours today and didn't seem to trigger it, but I'll be trying again tomorrow for the same amount of time.

Thanks.

mrgreywater commented 5 years ago

I don't think there's an official API to keep polling the VHS service, only one to query the status. This is still a valid request, but would need to be somewhat reverse engineered first.

gamingneeds commented 5 years ago

Shouldn't there be a way to connect to the proper video feed using one's Twitch credentials which would in-turn product the desired result without the use of an API for VHS specifically? If Twitch can see that User(1) is streaming the feed, it should return the proper credentials, right?

mrgreywater commented 5 years ago

I recommend following this discussion: https://github.com/streamlink/streamlink/issues/1269 . This also looks like a duplicate of #226