-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support server-side requests #93
Labels
enhancement
New feature or request
Comments
Hello, this is related to #56 - at the moment the client library doesn't support cameras or servers that send requests back. It may in the future. |
aler9
changed the title
Connected camera automatically disconnects after 30 seconds
Support server-side requests
Jan 27, 2022
aler9
added a commit
that referenced
this issue
Aug 24, 2023
aler9
added a commit
that referenced
this issue
Aug 24, 2023
fixed by #378 |
added in MediaMTX v1.0.1 |
This issue is being locked automatically because it has been closed for more than 6 months. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I connect the camera, every 30 seconds, send OPTIONS request to keep alive, however, the camera will send response:
RTSP/1.0 200 OK......
but camera also send a request:
OPTIONS*RTSP/1.0.........
An error occurred while parsing this request in the code pkg\base\response.go line144
logs:
c->s OPTIONS rtsp://192.168.35.108/media.sdp/ RTSP/1.0
CSeq: 6
Session: 0
User-Agent: gortsplib
s>c RTSP/1.0 0
c->s TEARDOWN rtsp://192.168.35.108/media.sdp/ RTSP/1.0
CSeq: 7
Session: 0
User-Agent: gortsplib
s>c RTSP/1.0 0
I am using ffplay to play this camera stream and it is no problem, ffplay responds to this request:
The text was updated successfully, but these errors were encountered: