Android Webcam / empty jpeg 0 kB

Hi, I have setup my LG6 as Webcam via
Android IP Webcam

My setup in configuration.yaml is

stream:
android_ip_webcam:
  - host: 192.168.1.71
    port: 8080
    sensors:
      - audio_connections
      - battery_level
      - battery_temp
      - battery_voltage
      - light
      - motion
      - pressure
      - proximity
      - sound
      - video_connections
    switches:
      - exposure_lock
      - ffc
      - focus
      - gps_active
      - motion_detect
      - night_vision
      - overlay
      - torch
      - whitebalance_lock
      - video_recording

plus following setup at the very beginning of configuration.yaml to get access to the share folder
(before I get errors ‘no path access’

homeassistant:
  allowlist_external_dirs:
     - /config/www
     - /share

Now I receive via Service test (in developer section)
temp

an empty jpg file with 0kB.

Any help is appreciated…
The mobile phone with IP Webcam App is running…

IP: 192.168.1.71 at port 8080.

Regards
Joerg

OK,
the Port 8080 on my router is forwarded.

The problem was, that I configured username & password in the app.
So the complete configuration.yaml webcam config is:

stream:
android_ip_webcam:
  - host: 192.168.1.71
    port: 8080
    username: myusername
    password: mypassword
    sensors:
      - audio_connections
      - battery_level
      - battery_temp
      - battery_voltage
      - light
      - motion
      - pressure
      - proximity
      - sound
      - video_connections
    switches:
      - exposure_lock
      - ffc
      - focus
      - gps_active
      - motion_detect
      - night_vision
      - overlay
      - torch
      - whitebalance_lock
      - video_recording

I do now receive a picture.
But no stream - seems my camera is not capable off - or other issue.
This subject with empty jpg / cannot read header (in Irfanview) has been fixed.

Regards,
Joerg