From f7cb146b894259aa773ee515b2df3422cc38bacc Mon Sep 17 00:00:00 2001 From: mqh Date: Fri, 28 Aug 2020 17:05:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dclient.Session=E6=9C=AA?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=EF=BC=8C=E5=AF=BC=E8=87=B4=E4=BF=9D=E6=B4=BB?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E6=9C=AA=E6=90=BA=E5=B8=A6session=E7=9A=84bu?= =?UTF-8?q?g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client.go b/client.go index d70ad9a..ca4ab8f 100644 --- a/client.go +++ b/client.go @@ -263,6 +263,7 @@ func (client *RTSP) requestStream() (err error) { headers = make(map[string]string) if session != "" { headers["Session"] = session + client.Session = session } resp, err = client.Request("PLAY", headers) return err