accept io.Writer in Write() methods

This commit is contained in:
aler9
2022-05-08 14:33:29 +02:00
parent bdbce3c370
commit edeef85e9e
13 changed files with 183 additions and 26 deletions

View File

@@ -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"),