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

Frigate videos not playing back in companion app on Chromebook #4995

Open
limitless-code opened this issue Jan 18, 2025 · 9 comments
Open

Frigate videos not playing back in companion app on Chromebook #4995

limitless-code opened this issue Jan 18, 2025 · 9 comments
Labels
bug Something isn't working webview

Comments

@limitless-code
Copy link

limitless-code commented Jan 18, 2025

Home Assistant Android app version(s):

Android version(s):
2025.1.2
Device model(s):
Chromebook Lenovo CT-X636F version 132.0.6834.94 (Official Build) (64 bit)
Home Assistant version:
2025.1.2
Last working Home Assistant release (if known):
Not known
Description of problem, include YAML if issue is related to notifications:

Frigate videos not playing back in companion app on Chromebook get the following error when playing saved videos.
Failed to play video recordings (error 4). DECODER_ERROR_NOT SUPPORTED. Video decoder initialization failed.

It works on the same device in chrome. Just doesn't work in the companion app.

Image

Companion App Logs:


Screenshot or video of problem:

Additional information:

@limitless-code limitless-code added the bug Something isn't working label Jan 18, 2025
@jpelgrom
Copy link
Member

Could you try playing back a video and get a companion app log? That may include additional details. Though based on the issue I don't think there's much the app can do to fix this, decoder support is supposed to be provided by the platform...

@jpelgrom jpelgrom added webview question Further information is requested labels Jan 20, 2025
@limitless-code
Copy link
Author

limitless-code commented Jan 23, 2025

I have played the video back in the companion app, here's the associated log:

homeassistant_companion_log_0-23-2025_23-38-7.txt

Chrome works on the same device/ platform so hopefully the logs will show why it's not working in the companion app.

@jpelgrom jpelgrom removed the question Further information is requested label Jan 24, 2025
@dshokouhi
Copy link
Member

Can you try to force stop the app, open again and reproduce the issue and grab the same logs please? There is a log line that shows what webview package was used which may point a clue to the issue. That log only shows up when the app first loads.

@limitless-code
Copy link
Author

@dshokouhi
Copy link
Member

01-24 20:28:33.633 2710 2710 D WebviewActivity: Current webview package com.google.android.webview and version 113.0.5672.131

are you able to update android system webview? may or may not help but it is a bit outdated (131 here)

other than that still dont see anything else to help us see why but maybe updating webview will help

@limitless-code
Copy link
Author

limitless-code commented Jan 24, 2025

Image

A different error message displayed. Will grab the logs.

Edit: this after updating to webview 133

@limitless-code
Copy link
Author

limitless-code commented Jan 24, 2025

homeassistant_companion_log_0-24-2025_21-10-56.txt

Logs after updating to webview 133

Update: It still works in chrome web browser on same platform/ device.

@limitless-code
Copy link
Author

I would also like to note that the companion app on this platform is sluggish to load up, load pages and live streaming stutters whereas in Chrome browser it loads and runs live streams much better(a lot less stuttering), like it's not running the same settings for hardware acceleration etc that Chrome browser is running?

@jpelgrom
Copy link
Member

You're running an Android app on your Chromebook so it is not the same as the browser, correct. Depending on the device it may need emulation (which may also be the cause of the issue) and/or be less performant than a native browser. Not much we can do about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working webview
Projects
None yet
Development

No branches or pull requests

3 participants