hass-aarlo icon indicating copy to clipboard operation
hass-aarlo copied to clipboard

Problem - Live Stream on Mobile App (IOS)

Open Csejka opened this issue 2 years ago • 8 comments

Hi I integrated my arlo system into home-assistant by aarlo module from hacs. On my computer everything works so far fine. I can stream live video from the cameras and am also able to view already recorded videos. But on my iphone live stream isn’t working. Nothing happen when I click on the camera to view the live stream. But viewing already recorded videos from arlo on the home assistant mobile app is working. Any ideas?

Csejka avatar Aug 31 '21 18:08 Csejka

What is your user_agent? And do you have direct play enabled in the lovelace card?

twrecked avatar Aug 31 '21 20:08 twrecked

Ok this is my conf - so my config is 5 cameras connected to two vbms5500 hubs

the problem is just on mobile devices and or when I am connected to HA over external IP

so when I am connected over the internal LAN IP from HA it works fine -

Camera

aarlo: username: xxxxxx password: xxxxxx refresh_devices_every: 2 stream_timeout: 120 reconnect_every: 90 camera:

  • platform: aarlo binary_sensor:
  • platform: aarlo monitored_conditions:
    • motion
    • sound
    • ding
    • cry
    • connectivity sensor:
  • platform: aarlo monitored_conditions:
    • total_cameras
    • last_capture
    • recent_activity
    • captured_today
    • battery_level
    • signal_strength
    • temperature
    • humidity
    • air_quality switch:
  • platform: aarlo siren: True all_sirens: True snapshot: True siren_volume: 1 siren_duration: 10 media_player:
  • platform: aarlo

Lovelace

type: custom:aarlo-glance entity: camera.aarlo_xxxx name: Stiegenhaus image_view: direct image_top: name,status image_bottom: onoff,motion,library,stream,signal,sound|snapshot,battery image_click: recordings library_sizes: 3,4,2 snapshot_retry: 2,5 door: xxxxxx

Any idea ?

Csejka avatar Aug 31 '21 20:08 Csejka

Ok the problem on the iPhone is also on the internal ip Adress - so on the iPad it works but on the iPhone not

Csejka avatar Aug 31 '21 21:08 Csejka

Try removing the image_view: direct and see if it works on the iPhone. The problem is the stream types returned by Arlo, it can return the following:

  • rtsp; a real time streaming protocol stream. Nothing can play this natively but it can be converted into a hls stream by the Home Assistant device. There is the extra step of streaming to your Home Assistant and back out but everything I've tested can play this
  • mpeg-dash; a streaming over http protocol. This can be streamed directly from Arlo but some Apple devices can't play it.

Try removing the direct and let me know.

twrecked avatar Sep 01 '21 12:09 twrecked

perfect - now its working !

but now I have another problem - I have 5 cameras and 4 are showing picture in Lovelace and one not ? I don't know why ! All off them a configured and connected the same way.

Hopefully you can help me ?

Best Regards Beni

Csejka avatar Sep 13 '21 12:09 Csejka

just deleted image_view: direct and now live stream is also working again for me? is there some other feature we mis with removing this?

larshub avatar Sep 24 '21 20:09 larshub

@larshub You aren't missing anything by removing direct. The big advantage of direct is it reduces the work your home assistant has to do. But, as you've found out, it doesn't play well with Apple products.

@Csejka Did you get this working? What does the official web site show?

twrecked avatar Sep 24 '21 20:09 twrecked

Thanks!

larshub avatar Sep 24 '21 21:09 larshub