add partial client read example; fix #16

This commit is contained in:
aler9
2020-11-30 14:42:32 +01:00
parent 544784a539
commit b77433bc9d
9 changed files with 102 additions and 39 deletions

View File

@@ -10,10 +10,10 @@ import (
)
// This example shows how to
// * connect to a RTSP server
// * read all tracks for 5 seconds
// * pause for 5 seconds
// * repeat
// 1. connect to a RTSP server
// 2. read all tracks for 5 seconds
// 3. pause for 5 seconds
// 4. repeat
func main() {
// connect to the server and start reading all tracks