Dlink camera stream

I have 2 Dlink cameras and I am trying to get them added into Homeassistant.

thats what i have in my config file but the camera video wont load.

I have a DLink camera configured like this…
I don’t get streaming video in Lovelace but click on the image brings up the video

camera:
  - platform: mjpeg
    name: DLink
    still_image_url: http://xxx.xxx.xxx.xxx0/image.jpg
    mjpeg_url: http://xxx.xxx.xxx.xxx/video/mjpg.cgi
    username: !secret DLinkcamera_username
    password: !secret DLinkcamera_password

My DLink configured like this:

camera:
  - platform: generic
    name: A Camera
    still_image_url: http://192.168.1.200/image/jpeg.cgi
    stream_source: rtsp://login:[email protected]:5010/live2.sdp
    username: dlink_username
    password: dlink_password
    verify_ssl: false

i believe 1 of my 2 cameras support rstp. one is a dcs936l and the other is a 933