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

During viewing, when pressing "OK" (open the panel), "Left" (open the rewind window), "Right" (open the rewind window) it freezes for 1-2 seconds. #234

Open
moninahh opened this issue Nov 4, 2024 · 17 comments

Comments

@moninahh
Copy link

moninahh commented Nov 4, 2024

Describe the bug
During viewing, when pressing "OK" (open the panel), "Left" (open the rewind window), "Right" (open the rewind window) it freezes for 1-2 seconds.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Open the panel', 'Open the rewind window', 'Open the rewind window'
  2. Click on 'OK', 'Left', 'Right'
  3. Freezes for 1-2 seconds

Expected behavior
No freezes

Device:

  • TV Manufacture Device: SONY TV
  • Os version: Android 9
@fgl27
Copy link
Owner

fgl27 commented Nov 4, 2024

All the time?
Or just the first time you try it after you just open the app?

because that is expected just after the app has opened there is a minor lag for some devices as the UI is being created, else isn't a bug but is just that your TV is really slow

There is nothing I can do you can open the app using this link

https://fgl27.github.io/SmartTwitchTV/release/index.html

use a clip for testing or disable this in settings

{FC948931-3545-4D3E-B771-DE4BE2C34012}

to be able to see the player controls

using that link of the app you can see how the performance is great probably way faster in relation to what is on your TV, animation everything opens so fast, as long your PC ins't from the 2000s or older

@moninahh
Copy link
Author

moninahh commented Nov 5, 2024

Can anyone else check and tell if you have this problem or not?

All the time?
Or just the first time you try it after you just open the app?

Yes, all the time. And now I noticed that the freezes continue while you are in the panel and navigating.

because that is expected just after the app has opened there is a minor lag for some devices as the UI is being created, else isn't a bug but is just that your TV is really slow

I use many different video players and many applications on the TV and there is no delay when calling the panel anywhere.

There is nothing I can do you can open the app using this link

https://fgl27.github.io/SmartTwitchTV/release/index.html

use a clip for testing

I checked on the computer on clips and when the panel is open there is also a delay. With the panel closed it goes smoothly and there are no micro freezes. Don't you have this?

or disable this in settings

I tried to turn off the setting, but then the video does not play for me. I used Google Chrome.

@fgl27
Copy link
Owner

fgl27 commented Nov 5, 2024

Don't you have this?

What exactly, I may be lost here.

what is freezing the app, the player, or the UI? What are the steps to reproduce the freezing?

give me a single step for example

I press the key X, and it freezes the player
I press the key X and then the other key Y it freezes the UI any press doesn't respond for X seconds

something like that... from what you shared I was assuming that when you press the OK the UI takes seconds to load the first time you do it for example, but it may be something else.

@moninahh
Copy link
Author

moninahh commented Nov 5, 2024

what is freezing the app, the player, or the UI? What are the steps to reproduce the freezing?

give me a single step for example

I press the key X, and it freezes the player I press the key X and then the other key Y it freezes the UI any press doesn't respond for X seconds

During the broadcast, press "OK" on the remote control:

  1. The user interface in the player loads with a freeze and video playback also begins to freeze at this moment.
  2. When you moving to any button using the arrows on the remote control in the player's user interface, the video playback starts to freeze.

@fgl27
Copy link
Owner

fgl27 commented Nov 5, 2024

Nothing I can do the device is just lagging. Can't replicate it on any of my devices.

If you don't have accessibility services enabled nothing can improve the performance, if you have you can try to disable to see if helps.

@moninahh
Copy link
Author

moninahh commented Nov 5, 2024

Nothing I can do the device is just lagging. Can't replicate it on any of my devices.

If you don't have accessibility services enabled nothing can improve the performance, if you have you can try to disable to see if helps.

Have you checked on your TV? When you switch to the buttons in the player's user interface, you don't even have micro freezes? Does the video play the same way with the user interface disabled as it does with it enabled?

I would like someone else to check this to see if it is just a problem for me or not.

@fgl27
Copy link
Owner

fgl27 commented Nov 6, 2024

This was never reported, so I assume doesn't happen to anyone unless there is a device issue...

I don't see any issues on the below

https://www.youtube.com/watch?v=Pa_2jRoiKos

are those the steps to reproduce the issue?
do you see the issue?

I tried to play a game that is very active and has constant movement, my hand doesn't show, but there are no freezes between my clicks on the remote (you can hear me clicking ) and the action on the screen or after the action shows also no freezes

This is the slowest TV that I have. That TV is lag sometimes, but it has no issue doing what you describe.

@fgl27
Copy link
Owner

fgl27 commented Nov 6, 2024

You can install the app on the phone using the APK from the release:

https://github.com/fgl27/SmartTwitchTV/releases

Have you tried it on a phone?
does it happen?

if yes is the issue related to a lag caused by the app performance or a lag caused by the internet?

an internet lag will result in a buffer that stops the playback, and an issue of performance lag will just lag slowdown and or freeze the app without buffers "things just freeze for a moment" type of issue as you described

so try that and try to report if there are performance lags or internet lags

@fgl27
Copy link
Owner

fgl27 commented Nov 6, 2024

Also, make sure you don't have an accessibility service running... if you do once you open the app you get a warning, if the below warning is enabled in the settings

{4D0B2529-6BA1-442F-A838-02A0EFBFFC1F}

I have seen devices with accessibility services enabled having bad lags, which is an Android issue that affects some devices

the only fix is to disable all accessibility services.

@moninahh
Copy link
Author

moninahh commented Nov 6, 2024

This was never reported, so I assume doesn't happen to anyone unless there is a device issue...

I don't see any issues on the below

https://www.youtube.com/watch?v=Pa_2jRoiKos

are those the steps to reproduce the issue? do you see the issue?

Indeed, there are no freezes in the video.

his is the slowest TV that I have. That TV is lag sometimes, but it has no issue doing what you describe.

I have a 2017 TV, and it's quite powerful and has 2 gb ram. None of the apps I use have this problem. I even watch Blu-ray movies via torrents online. So this is a very strange problem. It's the user interface that starts to freeze the video, but otherwise everything works stably.

You can install the app on the phone using the APK from the release:

https://github.com/fgl27/SmartTwitchTV/releases

Have you tried it on a phone? does it happen?

Unfortunately, I don't have an Android phone.

I have seen devices with accessibility services enabled having bad lags, which is an Android issue that affects some devices

the only fix is to disable all accessibility services.

I tried disabling all apps in accessibility but it didn't give any results.

@fgl27
Copy link
Owner

fgl27 commented Nov 6, 2024

You may think the device is powerful but isn't, is an old thing from a decade ago, it may have the HW to play a variety of codecs other than that the CPU (probably only has 2 cores) is crap to do anything else the amount of RAM is nothing compared to what is needed for modern devices, in resume it barely works for today standard plus is very old.

the only thing that can affect performance like this other than accessibility services is webview

you can see the version in the about of the app this is one of the latest latest

{AB70B935-1ADA-47B6-B44C-077720B946A0}

you can search webview in Play Store and see if there is an update, if not and the version is older you can try to manually update by manually installing the latest version from the APK, you can search and dowlonad the apk online

@moninahh
Copy link
Author

moninahh commented Nov 7, 2024

You may think the device is powerful but isn't, is an old thing from a decade ago, it may have the HW to play a variety of codecs other than that the CPU (probably only has 2 cores) is crap to do anything else the amount of RAM is nothing compared to what is needed for modern devices, in resume it barely works for today standard plus is very old.

I have a 4 core. Processor MediaTek MT5891 4x ARM Cortex-A53 @ 1000 hz.
Picture 4K HDR.

I noticed that when calling the chat using the down arrow on the remote control, there are no freezes. Freezing only occurs in the player's user interface.

@CristianGrecu
Copy link

CristianGrecu commented Nov 10, 2024

I also have a Sony TV, but it's from 2021 and I can't replicate these problems at all (app installed straight on the TV) . I also use the app on a bunch of Android touch screen devices and it also works perfectly.

Early next year twitch will start allowing streamers to use HEVC and your 2017 TV might or might not have hw decoders for that. And it most likely can't do AV1 at all.

Your best bet is to try and buy an Android stick. In my opinion the Amazon ones are quite reliable. I have a slightly older Fire stick 4k max(the one with square edges) and it has hardware decoders for both AV1/HEVC 4k 60fps. More than you'll ever need for Twitch. Try and get the new one with the round edges, should be around 50-60 usd/euros.

@moninahh
Copy link
Author

moninahh commented Nov 10, 2024

Early next year twitch will start allowing streamers to use HEVC and your 2017 TV might or might not have hw decoders for that. And it most likely can't do AV1 at all.

My TV supports HEVC.

It is strange that only in this application the user interface in the player freezes. For example, in Smarttube I watch all videos in maximum quality. The response of the player's user interface is instant and there are no freezes. I also have many different video players and IPTV players and there is no such problem anywhere.

Your best bet is to try and buy an Android stick. In my opinion the Amazon ones are quite reliable. I have a slightly older Fire stick 4k max(the one with square edges) and it has hardware decoders for both AV1/HEVC 4k 60fps. More than you'll ever need for Twitch. Try and get the new one with the round edges, should be around 50-60 usd/euros.

How can the presence of a codec affect freezing when calling the player's user interface?

@CristianGrecu
Copy link

I understand that this is frustrating, but you have to remember he is a single person doing this for us while keeping it completely free, he doesn't have the resources to optimise for every device.

Have you tried power cycling the tv and doing a factory reset? Also I never said that the codec capability has anything to do with the issue. I was just telling you that if you want a better experience with everything smart TV related, an android stick can be the easiest way without changing the entire tv.

I have used this app on at least 10 different devices, the oldest being a Xiaomi MI A1 from 2017, and that one still handles it. I wish I could help you but I don't think this is something that can be fixed.

@moninahh
Copy link
Author

I understand that this is frustrating, but you have to remember he is a single person doing this for us while keeping it completely free.

I understand and appreciate it. I just want to understand the problem. Why, if the problem is in the power of my device, then in other resource-intensive applications there are no freezes.

@CristianGrecu
Copy link

CristianGrecu commented Nov 10, 2024

Again, to go back to my example, the Xiaomi MI A1 that I tested it on has an eight core 2 ghz snapdragon and 3gb of RAM. It barely runs it, and I mean barely, it struggles quite a bit and before updates it used to cause the video to lag badly while using the player buttons just like you said. Now it still stutters when bringing the controls up. Also every stream has 1-2 sec extra delay vs my other devices.

Same phone can still play Youtube videos at higher bitrate. Don't ask me how, but sometimes that's just how tech is.

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

No branches or pull requests

3 participants