mirror of
https://github.com/Monibuca/plugin-rtsp.git
synced 2025-10-05 07:36:57 +08:00
@@ -263,6 +263,7 @@ func (client *RTSP) requestStream() (err error) {
|
|||||||
headers = make(map[string]string)
|
headers = make(map[string]string)
|
||||||
if session != "" {
|
if session != "" {
|
||||||
headers["Session"] = session
|
headers["Session"] = session
|
||||||
|
client.Session = session
|
||||||
}
|
}
|
||||||
resp, err = client.Request("PLAY", headers)
|
resp, err = client.Request("PLAY", headers)
|
||||||
return err
|
return err
|
||||||
|
Reference in New Issue
Block a user