How to View Your Tapo Camera Remotely via RTSP/ONVIF

How to View Your Tapo Camera Remotely via RTSP/ONVIF

How to View Your Tapo Camera Remotely via RTSP/ONVIF
How to View Your Tapo Camera Remotely via RTSP/ONVIF
2025-05-28 10:22:09

For information about how to watch the camera live feed via ONVIF/RTSP in a local network, please refer to this article. There are also scenarios where you may want to remotely access your camera's live feed using RTSP or ONVIF. For instance, while traveling or on a business trip, you might wish to monitor your home for security purposes. Here are two effective methods to achieve this:

 

Method 1: Using a VPN


Overview

Setting up a VPN connection creates a secure tunnel for your external device to connect to your home network, allowing access to your camera as if you were at home.

 

Typical Topology

There are various topologies for establishing VPN connections. Here, we will demonstrate how to enable an OpenVPN server on a TP-Link home router that supports OpenVPN.

 

Step 1: Set up a VPN connection
Follow the instructions below to set up the OpenVPN server on your home router and configure the OpenVPN connection on your remote PC. 
How to use OpenVPN to access your home network through the Wi-Fi Routers

 

Step 2: Access the Camera on your remote PC.
On your remote PC, access your camera using a third-party app, such as iSpy or VLC. For configuration guidance, refer to: How to view Tapo camera on PC/NAS/NVR through RTSP/Onvif Protocol

Note: The IP address in the RTSP/ONVIF URL should be the camera's IP address.

 

Method 2: Port Forwarding on Your Router


Overview

You can configure port forwarding on your router to allow external devices to connect to your home network's public IP address and access your camera.

 

Typical Topology

Assuming your home router is a TP-Link router with a public WAN IP of 218.18.232.154. 

 

Step 1: Configure Port Forwarding 
The Tapo camera uses the following ports for RTSP/ONVIF.

ONVIF Service Port: 2020

RTSP Service Port: 554.


Follow the instructions below to add two port forwarding entries on your home router to open ports 554 and 2020 for the Tapo camera.
Port forwarding: How to set up a virtual server on a TP-Link wireless router?

Note: In the port forwarding setup, the internal and external ports can be the same or different.

For instance, if the internal port is 554, the external port can also be 554 or any other port from 1-65535. But it is possible that the external port has been reserved or occupied. You can try changing the external port number if it can’t work. The specific setting method varies depending on the router brand. If you are not sure how to set it up, it is recommended to contact the router technical support.

 

 

Step 2: Access the Camera Remotely
On the remote PC, access your camera using a third-party app such as iSpy or VLC. You can find configuration guidance here: How to view Tapo camera on PC/NAS/NVR through RTSP/Onvif Protocol

Notes: 

  • The IP address in the RTSP/ONVIF URL should be the router's public WAN IP (e.g., 218.18.232.154), and the port should be the external port you set up.
  • If there’s another router in front of your home router, you will also need to open the corresponding port (the external port from the home router's port forwarding entry) on that front router. 

 

Special Usage Scenarios


If you have multiple Tapo cameras, each camera must have different external ports to be accessed remotely. 


For example, if you have two Tapo cameras (Camera 1 and Camera 2), you should add the following port forwarding entries on the home router:
Camera 1: 

  • Internal Port 554, External Port A
  • Internal Port 2020, External Port B

 

Camera 2: 

  • Internal Port 554, External Port C
  • Internal Port 2020, External Port D


Ensure that A, B, C, and D are different ports within the range of 1-65535. If both cameras use the same external port, only one camera may be accessible remotely.

 

Note: 
If you need to remotely access the camera via RTSP/ONVIF, we highly recommend using a VPN configuration for remote access. 
While enabling port forwarding can grant you remote access to the camera, exposing the RTSP/ONVIF ports of your camera to the public internet increases the risk of your camera being hacked, potentially leading to unauthorized access. To enhance your security, we suggest using a strong password for your camera account and regularly updating your camera's firmware.

 

More Articles:

What can I do if fail to stream the Tapo camera via the RTSP/ONVIF protocol?
What can I do if my Tapo camera's microSD card fills up faster than expected?
Tapo C113: Tapo Indoor/Outdoor Wi-Fi Home Security Camera

 

  0      
  0      
#1
Options
2 Reply
Re:How to View Your Tapo Camera Remotely via RTSP/ONVIF
3 weeks ago

  @Solla-topee 

 

Hi,

I’ve set up port forwarding on my router so that multiple devices within the same network are accessible remotely using different external ports, all pointing to internal port 554 (used for RTSP). This setup generally works well.

However, I’ve recently added Device A and Device B. When trying to view both devices remotely at the same time, only one stream works — if Device A is being accessed, trying to access it from another client/device fails or shows nothing.

Could you help clarify if this is a limitation of the RTSP protocol, the port forwarding setup, or something else? Is there a way to simultaneously access the same device's RTSP stream from multiple remote clients?

Thanks in advance!

 

  0  
  0  
#2
Options
Re:How to View Your Tapo Camera Remotely via RTSP/ONVIF
3 weeks ago

  @sjsjdevyun 

Hi,
A Tapo camera supports up to two mainstreams (high resolution) and two substreams (low resolution) to stream it simultaneously. All mobile devices that stream the camera remotely in the Tapo app will occupy a mainstream or substream. One device that streams the camera locally will occupy one mainstream or substream. Additionally, one device that streams the camera remotely via RTSP/Onvif will also occupy one mainstream or substream. If your camera subscribes to the Tapo Care plan, the service will occupy a mainstream.

 

In your situation, please pay attention to how many devices are streaming the camera simultaneously, locally or remotely, in high resolution or low resolution. For example, if the two mainstreams are occupied, you may stream the camera in a substream.

 

Best Regards

  0  
  0  
#3
Options