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

3.0 iOS Hass App opens fullscreen stream #388

Closed
macchrissli opened this issue Jan 21, 2023 · 14 comments
Closed

3.0 iOS Hass App opens fullscreen stream #388

macchrissli opened this issue Jan 21, 2023 · 14 comments
Labels
bug Something isn't working

Comments

@macchrissli
Copy link

Since i updated the dashboard on the Hass iOS app always opens the webrtc stream to fullscreen mode. Makes it unusable to have as a card at the moment

@andker87
Copy link

same here, full-screen display automatically occurs even if you are not on the page where the cam previews are. I had to rollback to 2.3.1 because the home assistant app was unusable

@AlexxIT AlexxIT added the question Further information is requested label Jan 21, 2023
@AlexxIT
Copy link
Owner

AlexxIT commented Jan 21, 2023

What iOS version do you use? Is WebRTC card on default page?

@andker87
Copy link

iOS 16.2 on iPhone X.
WebRTC is in a tab on the default dashboard, but not on the main page.

@PablaV
Copy link

PablaV commented Jan 21, 2023

I am also experiencing this on the companion app. Running iOS 16.2 on a iPhone 14 pro max.

@AlexxIT AlexxIT added bug Something isn't working and removed question Further information is requested labels Jan 21, 2023
@Yamaha0014
Copy link

I have the same problem, Iphone 13 pro and ios 16.2 last version WebRTC and go2rtc

@jason0x43
Copy link

I am also seeing this issue on an iPhone 13 Pro running iOS 16.2, Companion app 2022.10.1, and WebRTC 3.0.0. I have a dashboard page with 3 custom:webrtc-camera cards:

cards:
  - type: custom:webrtc-camera
    entity: camera.cat_room
    muted: true
    ui: false
  - type: custom:webrtc-camera
    entity: camera.back_yard
    muted: true
    ui: false
  - type: custom:webrtc-camera
    entity: camera.garage
    muted: true
    ui: false

When the dashboard loads, the three camera cards start loading their streams. As each stream loads, it becomes full screen. I also have dashboard pages for each individual camera. The same thing happens on those -- as soon as the camera stream loads, the video becomes full screen.

This isn't 100% consistent. The video becoming full screen happens most of the time when I open a page with a webrtc-camera card, but not every time.

@jason0x43
Copy link

For me, at least, this behavior only seems to happen in the iPhone Companion app. The Companion app on an iPad, and Safari on any device, behave normally.

@dm82m
Copy link

dm82m commented Jan 22, 2023

I have the same issue on iPhone with companion but only on cellular connection if the stream is chunking. On local network the issue does not appear!

edit: after I added stun:8555 to go2rtc.yaml and forwareded that port in my router the issue is no more existing for me.

edit2: false positive: problem stays the same. But does not happen so often anymore. Feels like in Home network it works as designed and on cellular it happens with full screen from time to time.

@Subtielbeek
Copy link

Same issue here iPhone 13 pro max, iOS 16.0, Home Assistant 2023.1.2, Companion App 2022.10.1 (2022.424)

@AlexxIT
Copy link
Owner

AlexxIT commented Jan 22, 2023

As temporary solution you can disable mp4 mode:

mode: webrtc,mse,mjpeg

But none of you will see the stream from the camera at all. Because:

  • webrtc won't work for you because you don't setup external access
  • mse won't work for you because you have iPhone...
  • mp4 won't work for you because full screen problem (will try to fix it)

PS. MP4 used only when WebRTC and MSE can't be played on your device.

@jason0x43
Copy link

Setting mode to webrtc,mse resolves the issue in the companion app on my iPhone — videos start playing normally, without automatically switching to full screen.

@Subtielbeek
Copy link

mode: webrtc,mse,mjpeg

Can confirm that this works! 😄

@bm55
Copy link

bm55 commented Jan 23, 2023

Yes removing mp4 does fixes the iPhone issue

@AlexxIT
Copy link
Owner

AlexxIT commented Jan 24, 2023

Fixed in v3.0.1

@AlexxIT AlexxIT closed this as completed Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants