7
33
Fork
You've already forked sentryshot
7

Unexpected RTSP response with Tapo C200 #100

Open
opened 2025年12月18日 10:07:24 +01:00 by minimator · 1 comment

I connect my Tapo C200 with sentryshot using RSTP, I can view the live feed but it is constantly interupted, creating lots of 15s recording.

When I check the log this error is logged:

[ERROR] 2025年12月18日_10:53:59 monitor: office: (sub) rtsp source: crashed: stream:
 RTSP framing error:
 Unexpected RTSP response Response {
 version: V1_0,
 status: BadRequest,
 reason_phrase: "Bad Request",
 headers: Headers( {
 HeaderName( "CSeq", ): HeaderValue( "5", ),
 HeaderName( "Date", ): HeaderValue( "Thu, Dec 18 2025 08:53:59 GMT", ), 
 } ), 
 body: b"",
 }
 conn: 172.17.0.4:37496(me)->192.168.1.5:554@2025年12月18日T08:53:44.67558394Z msg:
 436442@2025年12月18日T08:53:59.73879406Z

There's a similar problem here: https://github.com/scottlamb/moonfire-nvr/issues/342

But looks like the fix is irrelevant to sentryshot.

I connect my Tapo C200 with sentryshot using RSTP, I can view the live feed but it is constantly interupted, creating lots of 15s recording. When I check the log this error is logged: ``` [ERROR] 2025年12月18日_10:53:59 monitor: office: (sub) rtsp source: crashed: stream: RTSP framing error: Unexpected RTSP response Response { version: V1_0, status: BadRequest, reason_phrase: "Bad Request", headers: Headers( { HeaderName( "CSeq", ): HeaderValue( "5", ), HeaderName( "Date", ): HeaderValue( "Thu, Dec 18 2025 08:53:59 GMT", ), } ), body: b"", } conn: 172.17.0.4:37496(me)->192.168.1.5:554@2025年12月18日T08:53:44.67558394Z msg: 436442@2025年12月18日T08:53:59.73879406Z ``` There's a similar problem here: https://github.com/scottlamb/moonfire-nvr/issues/342 But looks like the fix is irrelevant to sentryshot.
Owner
Copy link

Reproduce the issue with retina then capture Wireshark network dumps of both retina and VLC connecting to the camera.

But looks like the fix is irrelevant to sentryshot.

The dirty hack would work for sentryshot too.

Reproduce the issue with [retina](https://github.com/scottlamb/retina?tab=readme-ov-file#getting-started) then capture Wireshark network dumps of both retina and VLC connecting to the camera. > But looks like the fix is irrelevant to sentryshot. The dirty hack would work for sentryshot too.
Sign in to join this conversation.
No Branch/Tag specified
master
sub_rec
recdb_v2
vino
sidebar
temp
range-streamer
logdb
v0.3.11
v0.3.10
v0.3.9
v0.3.8
v0.3.7
v0.3.6
v0.3.5
v0.3.4
v0.3.3
v0.3.2
v0.3.1
v0.3.0
v0.2.26
v0.2.25
v0.2.24
v0.2.23
v0.2.22
v0.2.21
v0.2.20
v0.2.19
v0.2.18
v0.2.17
v0.2.16
v0.2.15
v0.2.14
v0.2.13
v0.2.12
v0.2.11
v0.2.10
v0.2.9
v0.2.8
v0.2.7
v0.2.6
v0.2.5
v0.2.4
v0.2.3
v0.2.2
v0.2.1
v0.2.0
v0.1.3
v0.1.2
v0.1.1
v0.1.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SentryShot/sentryshot#100
Reference in a new issue
SentryShot/sentryshot
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?