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

Stream play request: timezoneOffsetMinutes #1

Open
tuxuser opened this issue Sep 29, 2020 · 2 comments
Open

Stream play request: timezoneOffsetMinutes #1

tuxuser opened this issue Sep 29, 2020 · 2 comments
Labels
help wanted Extra attention is needed xcloud xhome

Comments

@tuxuser
Copy link
Member

tuxuser commented Sep 29, 2020

What is it, how is it determined?

Sure, timezoneOffsetInMinutes: 120 would relate to GMT +2.
But WTF is timezoneOffsetInMinutes: 6088401280 => GMT +101473354.66 ?

Android
https://github.com/tuxuser/xcloud/blob/8295d2c86bf8ece56dbbd02c1f749a4426955bcb/xcloud_api.py#L113

iOS
https://github.com/tuxuser/xcloud/blob/8295d2c86bf8ece56dbbd02c1f749a4426955bcb/xhomestreaming_api.py#L62

@tuxuser tuxuser added xcloud xhome help wanted Extra attention is needed labels Sep 29, 2020
@Luke-k-dev
Copy link

Another interesting point is that this changes across runs. Will continue investigating...

In the meantime I do have a couple theories about this:

  1. Its a bug, the app is perhaps converting something it shouldn't and is getting something like a memory address as an Int instead of the proper value.
  2. Its a telemetry/fingerprinting thing
  3. It could be a timestamp but that doesn't make sense because the delta between the values changes sign.

Ran several days ago: 4319880000
Today at 3:51:18PM EST: 4313752384
Today at 3:59:42: 4323550016
Today at 4:03:07: 4318356288

@tuxuser
Copy link
Member Author

tuxuser commented Mar 29, 2021

This is input from @akahmet about it

// from the JS side
timezoneOffsetMinutes: S,
S = -(new Date).getTimezoneOffset(),

@Luke-k-dev

Its a bug, the app is perhaps converting something it shouldn't and is getting something like a memory address as an Int instead of the proper value.

Actually they do that quite alot, sending a blob of private memory over the network, lol.
For example the UDPConnectionProbing reveals some heap data from the android app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed xcloud xhome
Projects
None yet
Development

No branches or pull requests

2 participants