mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-24 16:20:23 +08:00
rtmp: simplify API (#2130)
This commit is contained in:
@@ -536,8 +536,7 @@ func TestReadTracks(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
}
|
||||
|
||||
c := NewConn(&buf)
|
||||
c.skipInitialization()
|
||||
c := newNoHandshakeConn(&buf)
|
||||
|
||||
r, err := NewReader(c)
|
||||
require.NoError(t, err)
|
||||
|
||||
Reference in New Issue
Block a user