mirror of
https://github.com/aler9/gortsplib
synced 2025-10-08 08:30:06 +08:00
accept io.Writer in Write() methods
This commit is contained in:
@@ -1025,8 +1025,8 @@ func TestServerSessionClose(t *testing.T) {
|
||||
conn, err := net.Dial("tcp", "localhost:8554")
|
||||
require.NoError(t, err)
|
||||
defer conn.Close()
|
||||
var bb bytes.Buffer
|
||||
|
||||
var bb bytes.Buffer
|
||||
base.Request{
|
||||
Method: base.Setup,
|
||||
URL: mustParseURL("rtsp://localhost:8554/teststream/trackID=0"),
|
||||
|
Reference in New Issue
Block a user