Add responses on RTSP OPTIONS pings

This commit is contained in:
Alexey Khit
2023-08-23 10:14:58 +03:00
parent 79fc0cd395
commit ea708bb606
+6
View File
@@ -167,6 +167,12 @@ func (c *Conn) Handle() (err error) {
return
}
c.Fire(req)
if req.Method == MethodOptions {
res := &tcp.Response{Request: req}
if err = c.WriteResponse(res); err != nil {
return
}
}
continue
default: