Live stream foscam 9851

I would like to have a live stream of my foscam 9821 sometimes.
I cannot get the right settings. Some solved this ?
I my configuration file I have :

stream:

and

camera 9:
  - platform: foscam
    name: camera_voordeur_hass
    ip: 10.0.0.14
    port: xxxxx
    username: !secret camera_voordeur_hass_username
    password: !secret camera_voordeur_hass_password 

and in lovelace I have

title: live voordeur cam
cards:
- type: picture-entity
  entity: camera.camera_voordeur_hass
  camera_image: camera_voordeur_hass
  camera_view: live

I tried using a rtsp link to like :

camera_voordeur_hass:rtsp://10.0.0.14:58386/videoMain/

camera_voordeur_hass_username: xxxxx
camera_voordeur_hass_password: xxxxx

But that did work neither