You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When library establishes connection to RTSP server and send a SETUP request, it always sends mode parameter. For some reason with this parameter set server returns error 461.
FFMPEG (ffplay) doesn't send mode parameter and establishes connection successfully. When I removed
mode setter from pkg/headers/transport.go b/pkg/headers/transport.go in base.HeaderValue it worked fine.
As I looked further, mode can be nil but it's always set in client.go in function doSetup.
Maybe add an option to disable this parameter or retry without it on error?
Same commented out block is also mentioned in #574 (comment)
Version info
I'm using older version, but client.go still sets mode in newer versions too.
When library establishes connection to RTSP server and send a
SETUP
request, it always sendsmode
parameter. For some reason with this parameter set server returns error 461.FFMPEG (ffplay) doesn't send
mode
parameter and establishes connection successfully. When I removedmode setter from
pkg/headers/transport.go b/pkg/headers/transport.go
inbase.HeaderValue
it worked fine.As I looked further,
mode
can benil
but it's always set inclient.go
in functiondoSetup
.Maybe add an option to disable this parameter or retry without it on error?
Same commented out block is also mentioned in #574 (comment)
Version info
I'm using older version, but
client.go
still setsmode
in newer versions too.Go: 1.21.11 linux/amd64
gortsplib: v4.8.1
MediaMTX: bluenviron/mediamtx@6513f05
Information about RTSP server from
DESCRIBE
:The text was updated successfully, but these errors were encountered: