Firmware 1.3.4 Makes RTSP Stream 406 Errors Worse

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Firmware 1.3.4 Makes RTSP Stream 406 Errors Worse

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Firmware 1.3.4 Makes RTSP Stream 406 Errors Worse
Firmware 1.3.4 Makes RTSP Stream 406 Errors Worse
2023-07-19 01:19:17
Model: Tapo C200  
Hardware Version: V3
Firmware Version: 1.3.4

I am no longer able to connect to the C200 at rtsp://user:pass@ip.address:554/stream1.  It only returns a 406 error. I have tried with VLC, ffmpeg, ffprobe, ffplay, and windows media player.  All return a 406 error.  The Tapo iPhone app does work. 

 

Even after initial reboot, when nothing else should be connected, it returns the 406 error.  Is there a way to work around this and stream directly, or is there a way to revert to a previous version of the firmware?

 

-a

  0      
  0      
#1
Options
5 Reply
Re:Firmware 1.3.4 Makes RTSP Stream 406 Errors Worse
2023-07-19 07:12:20

  @Antharian 

Hi,
Thank you for the case report, and please help confirm the following information for further analysis.


1. Are you watch the C200 when your PC installed the VLC, ffmpeg, etc., and the C200 in the same network? If so, can your PC ping the Tapo C200's IP address successfully?
Please describe your network diagram if they are not in the same network.

 

2. Please ensure no other person is watching the camera when you stream it via RTSP.

 

3. Below is the instruction to watch the Tapo Cam on a PC via RTSP stream, and the URL of the RTSP live stream is rtsp://IP Address/stream1, please ensure your configuration is correct if you fail to watch the C200 via RTSP stream.
How to view Tapo camera on PC through RTSP stream?

 

Best Regards

  0  
  0  
#2
Options
Re:Firmware 1.3.4 Makes RTSP Stream 406 Errors Worse
2023-07-19 14:33:47

  @Solla-topee 

 

Thanks for the reply.  The answers are below:

 

  1. All devices are on the same network.  No bridges or routers in between.  All communication is visibale and no firewalls are between devices.
  2. I am the only person on the network.  No other software installations or human interaction is going on to the TAPO Device.
  3. All of the instructions form the RTSP guide have been followed.  The 406 error persists.  I am able to connect via the iOS app.
  0  
  0  
#3
Options
Re:Firmware 1.3.4 Makes RTSP Stream 406 Errors Worse
2023-07-20 11:20:48

  @Antharian 

Hi,
Thank you for the updates.  
Just double confirm, are you watching the camera on a Windows PC via RTSP stream? 
If so, can your computer ping the Tapo C200's IP address successfully?


If not, what device are you using to stream the camera, and what's the model number? If you connect a computer in the same network and ping the camera and device's IP address, can you ping them successfully?
How to Use the Ping Command?
 

Best Regards

  0  
  0  
#4
Options
Re:Firmware 1.3.4 Makes RTSP Stream 406 Errors Worse
2023-07-20 14:33:03

  @Solla-topee 

Solla-topee wrote

  @Antharian 

Hi,
Thank you for the updates.  
Just double confirm, are you watching the camera on a Windows PC via RTSP stream? 
If so, can your computer ping the Tapo C200's IP address successfully?


If not, what device are you using to stream the camera, and what's the model number? If you connect a computer in the same network and ping the camera and device's IP address, can you ping them successfully?
How to Use the Ping Command?
 

Best Regards

Hello. Thanks for continuing to debug this with me.

 

For the sake of this discussion, I will use a common class C address to reference the devices on the network: 192.168.1.0/24

The TAPO C200 in question is: 192.168.1.30

Yes, ping is working.  I have used Windows, Linux, MacOS, FreeBSD all with same 406 results.  I have turned off all other devices on my network to ensure there are no running proceseses that could be trying to connect to 192.168.1.30 and consuming the limit of 2 rtsp connections.

 

Some general network priciples used to pinpoint the problem and rule the network itself out as an issue:
 

A fully formed 406 error means that a device has responded.  The 406 error is a HTTP application response (Layer 7 on the OSI model).  Meaning that things like ping (ICMP on layer 2 in the OSI model) are already a given to be working.  The only thing lower on the OSI model is Layer 1, the transport (Wired or Wireless).  If we are getting all the way to layer 7, a 406 HTTP server response, we can assume that all the other layers are also working.

 

This leaves the question: Are we talking to the right device?


In order to validate that I am talking to the right device, I used port 2020 (ONVIF Layer 7) to verify I am indeed talking to the TAPO C200 camera.  This port is working correctly. 

This was demonstrated by the following curl command: curl -v http://192.168.1.30:2020.  
 

curl -v http://192.168.1.30:2020

*   Trying 192.168.1.30:2020...

* TCP_NODELAY set

* Connected to 192.168.1.30 (192.168.1.30) port 2020 (#0)

> GET / HTTP/1.1

> Host: 192.168.1.30:2020

> User-Agent: curl/7.68.0

> Accept: */*

* Mark bundle as not supporting multiuse

< HTTP/1.1 200 OK

< Server: gSOAP/2.8

< Content-Type: text/html; charset=utf-8

< Content-Length: 187

< Connection: close

* Closing connection 0

<HTML><head><script language='javascript' type='text/javascript'> function jump(){location.href='http://192.168.1.30/';}</script></head><body onload="jump()">Please wait...</body></HTML>



The TAPO iPhone app also reports the IP address as the 192.168.1.30 and correctly streams the video.  This is the only thing that streams the video.  No other connections to port 554 are capably of streaming video.

 

Thanks again for your coninuted support. Hope we can figure out why it suddenly is rejecting connections.

 

-a

  0  
  0  
#5
Options
Re:Firmware 1.3.4 Makes RTSP Stream 406 Errors Worse
2023-07-21 08:33:41

  @Antharian 

Hi,
I have reported the issue to the tech team, and they will likely reach out to you via email to continue troubleshooting your issue. Please check your email box and confirm.
Best Regards

  0  
  0  
#6
Options