mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
client: remove default client
This commit is contained in:
@@ -745,7 +745,9 @@ func TestClientPublishAutomaticProtocol(t *testing.T) {
|
||||
track, err := NewTrackH264(96, &TrackConfigH264{[]byte{0x01, 0x02, 0x03, 0x04}, []byte{0x01, 0x02, 0x03, 0x04}})
|
||||
require.NoError(t, err)
|
||||
|
||||
conn, err := DialPublish("rtsp://localhost:8554/teststream",
|
||||
c := Client{}
|
||||
|
||||
conn, err := c.DialPublish("rtsp://localhost:8554/teststream",
|
||||
Tracks{track})
|
||||
require.NoError(t, err)
|
||||
defer conn.Close()
|
||||
|
Reference in New Issue
Block a user