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?

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?
2024-01-26 12:23:28 - last edited a week ago

The Tapo wired-powered camera supports RTSP and ONVIF (Profile S) protocols, enabling compatibility with third-party NVR or NAS devices that also support RTSP/ONVIF. If you fail to stream the Tapo camera via RTSP/ONVIF, please follow the steps below to troubleshoot.

 

Note:

  • For battery-powered cameras/doorbells, only the special models (Tapo D235/D225/TD25) support RTSP streaming when hardwired, with a jumper cable installed, and the always-on mode turned on. Other models (such as Tapo C410/C420/C425/D230) do not support RTSP streaming due to battery and electronic design limitations.
  • For dual-lens cameras, when connected to a PC/NAS/NVR via ONVIF, only the wide-angle lens stream is available.
     

Step 1. Check Your Camera Settings

 

1) Configuration: Ensure that the camera settings are correctly configured. The instructions below introduce some basic parameters that need to be configured on the camera.

How to view Tapo camera on PC/NAS/NVR through RTSP/Onvif Protocol

 

Note: Try to change the camera account(username and password) if they include special characters.

 

2) Subscription and Storage: Check whether the camera has subscribed to the Tapo Care service and if a microSD card is inserted. If both are present, the RTSP/ONVIF stream can't be established.
You may remove the microSD card from the camera to establish the RTSP/ONVIF connection.

 

 

Step 2. Review Your Network Diagram

 

The typical network diagram for streaming a camera via the RTSP/ONVIF protocol on a PC/NAS/NVR locally is shown below. Then you can refer to these instructions to establish the RTSP/ONVIF connection.

 

If you are streaming the camera remotely, more configurations are required on your home network. For detailed instructions, please refer to the article below. 

How to View Your Tapo Camera Remotely via RTSP/ONVIF
 

Step 3. Test with Different Third-Party Applications


You can refer to the instructions below to establish the RTSP/ONVIF connection with the camera using Agent DVR or VLC, then test if you can stream the camera.
How to view Tapo camera on PC/NAS/NVR through RTSP/ONVIF Protocol? 

 

Step 4. Pay attention to the number of devices that are streaming the camera.

 

The Tapo camera allows for up to 2 main streams (stream1) and 2 sub-streams (stream2) to be viewed simultaneously. Each RTSP/ONVIF connection occupies one stream. If all 4 streams are in use, you cannot establish a new connection.

 

You can try the following steps to troubleshoot interference from the device count limit.

  1) Restart the camera to disconnect the device from viewing the camera.

  2) Switch between the URL of the main stream (stream1)  and the sub-stream (stream2) when establishing the RTSP/ONVIF connection.

  3) Modify the Camera Account on the camera's Device Settings > Advanced Settings > Camera Account page to disconnect the device from viewing the camera.

 

Note: The Tapo Care service occupies one main stream, and viewing the camera's live feed through the Tapo app will occupy either a main or a sub-stream.

 

Next Steps If RTSP/ONVIF Streaming Cannot Be Established

 

You can reply to this thread or start a new thread with the following information for further assistance.
 

1. Describe the encountered phenomenon on the third-party apps. For example:
    1) The third-party apps you are using (e.g., Agent DVR, VLC).
    2) The URL used to stream the camera, such as rtsp://IP Address/stream1(For high-quality stream1).
    3) The error message that appears if there is one.

 

 2. List the results of the above four troubleshooting steps.

 

3. Provide the camera's model number, firmware, and hardware version.

 

 

QA related to the RTSP/ONVIF connection

 

Q1:What ports are used by the Tapo camera for RTSP/ONVIF?
A1: The Tapo camera uses the following ports for RTSP/ONVIF: ONVIF Service Port: 2020 and RTSP Service Port: 554.

 

Q2: Does the Tapo Camera support 2-way audio when connected via RTSP/ONVIF?
A2: The ONVIF standard includes multiple profiles, and the Tapo Camera only supports Profile S. This profile does not include 2-way audio. Profile S only covers basic functionalities such as video/audio streaming, network configuration, event handling, and PTZ (pan-tilt-zoom) control.

 

Q3: What are the Tapo dual-lens cameras' (e.g., Tapo C246D, C840) RTSP URLs for different lenses?
A3:  You can access different lenses by switching URLs as shown below.


Wide-angle lens (high quality): rtsp://IP Address/stream1
Wide-angle lens (low quality): rtsp://IP Address/stream2

 

Telephoto Lens (High Quality): rtsp://IP Address/stream6
Telephoto Lens (Low Quality): rtsp://IP Address/stream7

 

Note: Only the wide-angle lens is accessible via the ONVIF protocol. 

 

 

  0      
  0      
#1
Options
104 Reply
Re:What can I do if fail to stream the Tapo camera via the RTSP/ONVIF protocol?
2024-03-15 08:38:01

  @Solla-topee 

It works via Spy but does not via vlc player vith the same ip, etc.

 

rtsp://my id:my password@192.168.1.104/stream1

 

 

  22  
  22  
#2
Options
Re:What can I do if fail to stream the Tapo camera via the RTSP/ONVIF protocol?
2024-03-15 08:46:38
but rtsp://my id:my password@192.168.1.104/stream2 woks
  4  
  4  
#3
Options
Re:What can I do if fail to stream the Tapo camera via the RTSP/ONVIF protocol?
2024-03-15 09:17:05

  @Roman_V 

Hi,
Currently, the Tapo cameras support up to 4 simultaneous video streams (two mainstreams with high video quality + two substreams with low video quality), and if the camera has subscribed to the Tapo Care service, it will occupy a mainstream.
In your case, if there is a device steaming the camera via the mainstream(via rtsp://my id:my password@192.168.1.104/stream1 or Tapo app), the other device can only stream the camera via substream(via rtsp://my id:my password@192.168.1.104/stream2 or Tapo app) if you have subscribed to the Tapo Care service.
Best Regards

  3  
  3  
#4
Options
Re:What can I do if fail to stream the Tapo camera via the RTSP/ONVIF protocol?
2024-03-15 13:45:17

  @Solla-topee any suggestions here? It found the camera but wont find the URLs

  17  
  17  
#5
Options
Re:What can I do if fail to stream the Tapo camera via the RTSP/ONVIF protocol?
2024-03-18 11:59:48

  @ScottyWatty 

Hi,
Please confirm your network diagram first. Is the PC you used to stream the camera connected to the same network as the camera? Can it ping the camera's IP address successfully?
What app/program do you use to stream the camera via ONVIF protocol?
Best Regards

  0  
  0  
#6
Options
Re:What can I do if fail to stream the Tapo camera via the RTSP/ONVIF protocol?
2024-03-20 07:10:57
Hello! The note says "currently, some battery-power cameras, such as Tapo C420, C400, and D230, do not support being viewed via the RTSP/ONVIF stream." Is there an estimated date when those cameras - and I'm specifically looking for the C425, will support this. Thanks!
  7  
  7  
#7
Options
Re:What can I do if fail to stream the Tapo camera via the RTSP/ONVIF protocol?
2024-03-20 11:05:31

  @muenzpraeger 

Hi,
We do not have any specific details that I can share about if this feature can come to the product or when it might, it's recommended to post your request in the Feature Request section, and I'll log it and forward it to the relevant team to evaluate.
Best Regards

  0  
  0  
#8
Options
Re:What can I do if fail to stream the Tapo camera via the RTSP/ONVIF protocol?
2024-03-27 19:40:02

  @Solla-topee I can't connect my camera via the white address in the gipsy program. I've tried all the instructions 

rstp://id:password@188.114.213.101:554/stream1

http://id:password@188.114.213.101:2020/onvif/device_service

  0  
  0  
#9
Options
Re:What can I do if fail to stream the Tapo camera via the RTSP/ONVIF protocol?
2024-03-28 07:12:27

  @vladislavkit 

Hi,
The IP address 188.114.213.101 is a public IP address rather than a private IP address, is it the IP address of the router that the camera connects to? Please describe your network diagram and usage scenario in detail for further assistance.
Please note that if you want to stream the Tapo camera remotely via RTSP/ONVIF, you need to open port 554/2020 on the front router for your camera first.

Best Regards

  0  
  0  
#10
Options
Re:What can I do if fail to stream the Tapo camera via the RTSP/ONVIF protocol?
2024-04-24 07:09:56

  @Mikel26x 

Hi,

Please describe your network diagram. 

Is the PC installed with the VLC player and the camera connected to the same router? What's the IP address of the PC, and can it ping the camera's IP address successfully?

Best Regards

  0  
  0  
#12
Options