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

PLAYBACK ISSUES WITH CHROME AND EDGE #977

Open
vgisbert opened this issue Dec 12, 2024 · 5 comments
Open

PLAYBACK ISSUES WITH CHROME AND EDGE #977

vgisbert opened this issue Dec 12, 2024 · 5 comments

Comments

@vgisbert
Copy link

vgisbert commented Dec 12, 2024

Hello.
I have 6 Yi cameras from various generations and models. In general, they work well. But in 2 of them I have problems with the display in Chrome and Edge browsers. But not always. Sometimes, for a short time, they randomly look good.
In the APP, in Firefox and VLC the images are always seen well.
The integration in Homeassistant is done through go2rtc and Webrtc.
The cameras are:

And in go2rtc:
Streams:
yi_hack9:
- rtsp://user:[email protected]/ch0_1.h264

It also looks bad on go2rtc's stream.

In chrome://media-internals/ appears highlighted in red :

blob: https://xxxxx.duckdns.org/c5dc9c9f-fa31-4271-90c9-30d377a2ec9f
(kWebMediaPlayerDestroyed)

I don't understand why it only happens with these browsers and why the image rarely looks good.
I attach the image of one that looks bad and one good at the same time.

I found the thread, but I don't quite understand it:
blakeblackshear/frigate#6730

Any idea?
Portapapeles-100

@roleoroleo
Copy link
Owner

No idea...
Maybe some incompatibility between the stream and the browser.
Did you try to change the rtsp server inside the cam?
For example setting go2rtc.

@vgisbert
Copy link
Author

No idea... Maybe some incompatibility between the stream and the browser. Did you try to change the rtsp server inside the cam? For example setting go2rtc.

Yes, of course. I have tried three methods of integrating Yi cameras, and they all give me the same problem with the same cameras.

@roleoroleo
Copy link
Owner

So the problem could be the codec used by Yi.
But I can't change it.

@roleoroleo
Copy link
Owner

Please, try to change
RTSP_STI=yes
to
RTSP_STI=no
in /tmp/sd/yi-hack/etc/system.conf

@vgisbert
Copy link
Author

Please, try to change RTSP_STI=yes to RTSP_STI=no in /tmp/sd/yi-hack/etc/system.conf

It worked perfectly on one camera!!! Thank you very much!!!
I'm going to modify it on the cameras that give me the error. I'll let you know if it's fixed on all of them. You're very kind.

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

2 participants