iOS icon indicating copy to clipboard operation
iOS copied to clipboard

Connection lost . Reconnecting when open a Mic in a camera over frigate card over HTTPS

Open kiloptero opened this issue 2 years ago • 3 comments

iOS device model, version and app version

Iphone 12pro 17.0.3 companion app 2023.7 446

Model Name: Software Version: App version: 2023.7 446

Home Assistant Core Version

Home Assistant 2023.10.1 Supervisor 2023.10.0 Operating System 10.5 Frontend 20231005.0 - latest Describe the bug

To Reproduce The connection over https works fine (using nginx) until the mic over a frigate card or something else.. Then after a few sec lost connection. only happened when open some kind of bidirectional comunication. T

sometimes the app crash and freeze and need to close and open again.

frigate is the example because I don't fave any other card can open a channel to the other via Expected behavior

Screenshots

Additional context

kiloptero avatar Oct 07 '23 03:10 kiloptero

I can confirm exactly this. The companion app seems to "lose connection" or crash. There is nothing worth reporting in the logs at all.

I am using a frigate card that loads camera stream using webrtc. Enabling the microphone for two-way audio crashes (or disconnects?) the app immediately.

senguendk avatar Jan 22 '24 17:01 senguendk

I've got the same here

lorenzomartini1 avatar Mar 01 '24 08:03 lorenzomartini1

same

Andres Roepke Del Solar. Ingeniero Civil Industrial Ingeniero Electronico Mobile 88196932

On Fri, Mar 1, 2024 at 05:15 lorenzomartini1 @.***> wrote:

I've got the same here

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/iOS/issues/2420#issuecomment-1972717772, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIOTKWRXJO3WYXYEC6O34G3YWA2KVAVCNFSM6AAAAAA5WTKYQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZSG4YTONZXGI . You are receiving this because you authored the thread.Message ID: @.***>

kiloptero avatar Mar 01 '24 10:03 kiloptero

same issue, when using microphone in the stream, it takes 30 sec and Home assistant companion app is losing connection with home assistant

Martinvdm avatar Jun 30 '24 08:06 Martinvdm

Did you provide the app access to microphone? Also, how does it behave in iOS safari?

bgoncal avatar Jul 02 '24 20:07 bgoncal

Yes I do allow access to the mic. You also do see the mic on top of the iPhone when accessed. In safari the same behavior is there. Also loosing connection.

Martinvdm avatar Jul 03 '24 04:07 Martinvdm

Since it also happens in Safari, this is not an app specific issue, the app only displays a webview, which probably then makes more sense to move this issue to frontend repo.

bgoncal avatar Jul 03 '24 08:07 bgoncal

Thanks. Probably that’s best idee. Perhaps iOS is using underlaying safari was my thought.

Martinvdm avatar Jul 03 '24 08:07 Martinvdm