Tapo C200 RTSP unauthorized

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

Tapo C200 RTSP unauthorized

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Tapo C200 RTSP unauthorized
Tapo C200 RTSP unauthorized
2022-06-30 09:38:40 - last edited 2022-07-01 10:50:31
Tags: #rtsp
Model: Tapo C200  
Hardware Version: V1
Firmware Version: 1.1.16 Build 211209 Rel.37726n(4555)

The RTSP streaming i.e. NVR recording seems to have broken at some point. I remember testing it way back months ago and it worked as it should but now a few firmware releases later when I tried it again it doesn't work anymore.

 

The camera account section says "At this point the NVR recording will be disabled", and it instructs to remove the microSD card. I've done this, I've tried everything I could think of but the RTSP stream just doesn't work. With mplayer I was able to a get a Unauthorized exception from the stream so it seems that the credentials of account section doesn't work as intended or something else is terribly wrong with the streaming.

 

$ mplayer rtsp://192.168.2.99/stream1 -user <my user name> -passwd <my password>
MPlayer 1.3.0 (Debian), built with gcc-8 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing rtsp://192.168.2.99/stream1.
Resolving 192.168.2.99 for AF_INET6...

Couldn't resolve name for AF_INET6: 192.168.2.99
Connecting to server 192.168.2.99[192.168.2.99]: 554...

librtsp: server responds: 'RTSP/1.0 401 Unauthorized'
rtsp_session: unsupported RTSP server. Server type is 'unknown'.
libavformat version 58.20.100 (external)
Mismatching header version 58.12.100
libavformat file format detected.
[rtsp @ 0x7fe6b7680de0]method DESCRIBE failed: 401 Unauthorized
LAVF_header: av_open_input_stream() failed


Exiting... (End of file)

 

This is a deal breaker for me for my future needs if the RTSP stream doesn't work and I will need to seek another manufacturer that provides cameras with working RTSP stream so I hope this is just a minor glitch and gets fixed asap.

  2      
  2      
#1
Options
5 Reply
Re:Tapo C200 RTSP unauthorized
2022-06-30 10:56:32

Hello   @JoriL 

Thank you for creating a detailed post, here are some suggestions that you could try/ 

  • You could test RTSP stream 2 : 

How to view Tapo camera on PC through RTSP stream?

  • Ensure tapo device firmware and app are both up to date. 
  • Test if RTSP streaming works on a different software like VLC Player (shut off or even uninstall other software in case the software still making a request  )
  • If rtsp streaming has worked before, you could try to factory reset on the camera and reinstall it in the app to clear the old settings. 

How to reset my Tapo camera

  •  

If still the same, I know the RTSP software version or a link of the software?  Please share the MAC address of camera with us via private message.

Besides the Mplayer, do you have any other rtsp / onvif software installed before, you might uninstall it first, thank you. 

  0  
  0  
#2
Options
Re:Tapo C200 RTSP unauthorized
2022-06-30 11:53:29 - last edited 2022-07-01 10:50:31

Thanks @Solla-topee,

 

Resetting the device multiple times did the trick and now I'm able to access the RTSP stream yes Lot off hassle but now it seems to be working as expected

  2  
  2  
#3
Options
Re:Tapo C200 RTSP unauthorized
2022-06-30 12:31:29

  @JoriL Glad to know the RTSP now works after factory reset,  it might be a glitch due to previous settings or RTSP requests on the camera. 

Thank you for taking time creating a detailed post and sharing the solution with us here. 

Best Regards!

  0  
  0  
#4
Options
Re:Tapo C200 RTSP unauthorized
2022-07-01 10:50:26

  @Solla-topee I did some more testing on this and it seems that once I put in the microSD card RTSP will be disabled and even when I remove the card RTSP remains disabled. Even after a reset the RTSP is disabled and the streams return unauthorized exceptions. After two resets and multiple reboots I haven't been able to restore the RTSP functionality sad

  0  
  0  
#5
Options
Re:Tapo C200 RTSP unauthorized
2022-07-01 11:37:11
After taking out the power cable and again removing the microSD before attaching the power cable the RTSP seems to available and I can play the streams with mplayer from computer and VLC from my phone. The behaviour seems to be very sporadic.
  0  
  0  
#6
Options