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

Crashing iOS app switching stream #724

Open
Martinvdm opened this issue Jul 2, 2024 · 2 comments
Open

Crashing iOS app switching stream #724

Martinvdm opened this issue Jul 2, 2024 · 2 comments
Labels
question Further information is requested

Comments

@Martinvdm
Copy link

Martinvdm commented Jul 2, 2024

When changing from stream to allow 2 way audio, the IOS companion app is crashing. It takes some seconds but at the end it become unresponsive.
The seconds stream is followed by the manual to allow selectable 2 way audio and in the first place without.

Config Lovelace:

- type: 'custom:webrtc-camera'
    server: http://localhost:1984/
    title: camera.voordeur_go2rtc
    streams:
      - url: camera.voordeur
        name: 🔇      # name is optional
        mode: webrtc  # mode is optional
        media: video,audio  # media is optional
      - url: camera.voordeur
        name: 🔊
        mode: webrtc
        media: video,audio,microphone
        muted: false
    ui: true
    muted: true
    background: true

Go2rtc config:

streams:
  camera.voordeur:
    - rtsp://admin:xxxx@172.19.3.3:554/Streaming/channels/102
    - isapi://admin:xxxx@172.19.3.3:65001/

most of the time the first try is working fine. After switching again it hangs by selecting the second stream on black screen ‘loading’
And at the end iOS app become unresponsive and disconnects.

nothing really special in logging. Go2rtc log is clean. Home assistant log only new connection:
2024-07-02 20:50:14.443 DEBUG (MainThread) [custom_components.webrtc] New client: {'authSig': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI5NWU1MWE2Yjc2ZGE0MmI0YWM2NDQxYzc5ZjNmMDM4NyIsInBhdGgiOiIvYXBpL3dlYnJ0Yy93cyIsInBhcmFtcyI6W10sImlhdCI6MTcxOTk0NjIxNCwiZXhwIjoxNzE5OTQ2MjQ0fQ.HHYmydw0qOkRTO14MGz5tf6zjpWZ7kwANBRR0ekmdaM', 'url': 'camera.voordeur', 'server': 'http://localhost:1984/'}

companion app logging is also empty.
In non ui mode it happens also. Resulting in loading and at the end app disconnect.
IMG_2939

backend: Hikvision nvr with isapi camera and 2 way audio.
iOS 17.5.1
Companion app 2024.5.1 (2024.688)
Home assistant in docker 2024.5.4
Go2rtc 1.9.4

@Martinvdm
Copy link
Author

Found out that this is related perhaps
home-assistant/iOS#2420

@AlexxIT AlexxIT added the bug Something isn't working label Sep 6, 2024
@AlexxIT AlexxIT assigned AlexxIT and unassigned AlexxIT Sep 6, 2024
@AlexxIT AlexxIT added question Further information is requested and removed bug Something isn't working labels Sep 8, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Sep 8, 2024

I can't confirm your words. Just ran a two way test on iOS (browser and mobile app) - everything works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants