client: remove default client

This commit is contained in:
aler9
2021-10-31 13:01:36 +01:00
committed by Alessandro Ros
parent a66a038a23
commit fdb0d70870
14 changed files with 54 additions and 36 deletions

View File

@@ -25,8 +25,10 @@ const (
)
func main() {
c := gortsplib.Client{}
// connect to the server and start reading all tracks
conn, err := gortsplib.DialRead(inputStream)
conn, err := c.DialRead(inputStream)
if err != nil {
panic(err)
}