What can I do if fail to stream the Tapo camera via the RTSP/ONVIF protocol?

What can I do if fail to stream the Tapo camera via the RTSP/ONVIF protocol?

50 Reply
Re:What can I do if fail to stream the Tapo camera via the RTSP/ONVIF protocol?
2 weeks ago

  @Solla-topee 

I just received a new C120, promptly popped in an SD card, and hooked it up. Got it added into the app, no problems and detections/notifications/recordings/playback all work great. No Tapo Care was configured or used.

 

I figured I would test the ONVIF and RTSP but no luck getting either to work...

 

I retrieved the IP address from the Tapo app as shown and added the camera user, also as shown. If I read things correctly, it appears the SD card would not allow using ONVIF/RTSP, so I removed the card. Just for sanity, I pinged the camera's IP and that worked. Everything is on the same network subnet, so no issues to contend with there. Everything seemed good to go, so I went on to testing.

 

For RTSP, I used VLC Media Player, put in the url, rtsp://<camera IP>:554/channel1, opened it, was prompted for username and password, entered that, then opening the stream failed:

 

VLC is unable to open the MRL 'rtsp://192.168.1.131:554/channel1'. Check the log for details.

 

I tried the same with 'channel2' URL and had the same results.

 

Next, I moved into trying ONVIF with DW Spectrum IPVMS. I went to add device, put in camera IP address, username, and password then hit Search. The results were, "No Devices Found". OK, so I moved on to my favorite troubleshooting tool, ONVIF Device Manager. Did a network scan and it pulled in the usual local cameras, but no Tapo C120. I added the camera into ODM manually with URL of 'http://192.168.1.131/onvif/device_service' and when trying to connect, I got the message, "There was no endpoint listening at http://192.168.1.131/onvif/device_service that could accept the message.

 

I tried turning off and back on the camera user in app settings. Tried deleting and re-adding the camera user. Tried turning off the camera in the app to disconnect any unneeded streams. Tried restarting the camera a few times. No love.

 

Any suggestions for what to try next?

  0  
  0  
#43
Options
Re:What can I do if fail to stream the Tapo camera via the RTSP/ONVIF protocol?
2 weeks ago

  @Solla-topee 

the pc must be connected to the same network as the cameras

  0  
  0  
#44
Options
Re:What can I do if fail to stream the Tapo camera via the RTSP/ONVIF protocol?
2 weeks ago

Update:

 

I removed camera from app and it reset according to voice prompt. I also did the 10 second reset button reset procedure. Once that was done, I added it back to app and changed nothing else. There was no SD card in the camera at any time after resetting. Still getting the same messages and not able to connect with ONVIF or RTSP.

  0  
  0  
#45
Options
Re:What can I do if fail to stream the Tapo camera via the RTSP/ONVIF protocol?
2 weeks ago

Update 2:

 

I figured out the ONVIF to DW Spectrum problem. Default port Spectrum was trying to connect over was 80. Changed that to 2020 and the C120 was discovered immediately. Added camera in with no problem at that point. Pulled in both high and low streams, Spectrum's motion detection works fine, recording good, etc. 2560x1440 high res stream and 640x360 low res stream.

 

ONVIF Device Manager also works fine now as well using port 2020

 

Still no RTSP to VLC though. Will fiddle with that some more.

  0  
  0  
#46
Options
Re:What can I do if fail to stream the Tapo camera via the RTSP/ONVIF protocol?
2 weeks ago

Update 3:

 

Figured out the VLC issue... the correct URL for RTSP is: 'rtsp://<ip_address>:554/stream1' NOT '.../channel1'. My mistake. I noticed it when looking at the camera properties in DW Spectrum.

 

All is working as it should now. I can actually stream to VLC, Spectrum, and the Tapo app all at the same time. Sweet.

  0  
  0  
#47
Options
Re:What can I do if fail to stream the Tapo camera via the RTSP/ONVIF protocol?
2 weeks ago

  @Jalbe 

Hi,
Thank you for sharing your experience.
Btw, the SD card and the RTSP/Onvif connection can work simultaneously when the camera has not subscribed to the Tapo Care service.
Best Regards

  1  
  1  
#48
Options
Re:What can I do if fail to stream the Tapo camera via the RTSP/ONVIF protocol?
a week ago - last edited a week ago

  @Solla-topee Hi, I have an issue with not being able to stream via RTSP. The camera is C501GW. I have a 4G SIM card in the camera with unlimited data plan and static IP from the network provider with all ports open. Camera account has been set up from the app and APN set to "static" manually (as required from the ISP). So far tried with VLC and Agent DVR, but no luck. I can ping the IP address successfully.

Is the RTSP stream supported with 4G network connection? Anything I could try to do?

  0  
  0  
#49
Options
Re:What can I do if fail to stream the Tapo camera via the RTSP/ONVIF protocol?
a week ago

  @TanelE 

Hi,
Your problem may be related to the network diagram and parameters, please confirm the following information about the issue.

1. What IP address do you obtain from the ISP? You can send it to me(@Solla-topee) via a private message.
 

2. Which device is trying to stream the camera via RTSP/Onvif? Is it connected to your home router to go to the internet? Can it ping the IP address of the camera obtained from the ISP?

Best Regards

  0  
  0  
#50
Options
Re:What can I do if fail to stream the Tapo camera via the RTSP/ONVIF protocol?
a week ago - last edited a week ago

TP-link has told us that there will be an update to the app tomorrow on the 14th of december, it will add a toggle to allow us to integrate cameras to dvr's and homeassistant.
This information was shared to the author of Homeassistant-Tapo-Control on github.

Let's all wait and see if they release it tomorrow and if it indeed fixes our issues.

Edit: Actually that's the 13th, today..

  0  
  0  
#51
Options
Re:What can I do if fail to stream the Tapo camera via the RTSP/ONVIF protocol?
Yesterday

I have created a camera account.

 

When I try to access it in home assistant I get an error that says wrong user/pass.

 

I have double checked and I have added the username and password from the created camera account correctly. I am using the following RTSP URL

 

rtsp://myusername:mypassword@192.168.68.152:554/stream1

 

I have also tried stream2 and I get the same result. I have also tried without the port number in the IP address with the same result

  0  
  0  
#52
Options
Related Articles