update examples

This commit is contained in:
aler9
2020-11-19 10:42:43 +01:00
parent cf6f734972
commit 42205dfe13

View File

@@ -10,7 +10,7 @@ import (
)
// This example shows how to connect to a server and print informations about
// tracks published on a certain path.
// tracks published on a path.
func main() {
u, err := base.ParseURL("rtsp://myserver/mypath")
@@ -38,5 +38,5 @@ func main() {
panic(fmt.Errorf("server returned status %d", res.StatusCode))
}
fmt.Println("tracks: %v\n", tracks)
fmt.Println("available tracks: %v\n", tracks)
}