mirror of
https://github.com/Monibuca/plugin-rtsp.git
synced 2025-09-26 19:51:14 +08:00
将保活请求由OPTIONS改为GET_PARAMETER(来自VLC保活参考)
This commit is contained in:
@@ -309,7 +309,7 @@ func (client *RTSP) startStream() {
|
||||
headers := make(map[string]string)
|
||||
headers["Require"] = "implicit-play"
|
||||
// An OPTIONS request returns the request types the server will accept.
|
||||
if err := client.RequestNoResp("OPTIONS", headers); err != nil {
|
||||
if err := client.RequestNoResp("GET_PARAMETER", headers); err != nil {
|
||||
// ignore...
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user