move base elements into base folder

This commit is contained in:
aler9
2020-10-04 17:32:26 +02:00
parent 973464ed1d
commit 662138a0cf
28 changed files with 352 additions and 297 deletions

View File

@@ -21,13 +21,13 @@ func main() {
for {
// read frames
frame, err := conn.ReadFrameTCP()
id, typ, buf, err := conn.ReadFrameTCP()
if err != nil {
fmt.Println("connection is closed (%s)", err)
break
}
fmt.Printf("frame from track %d, type %v: %v\n",
frame.TrackId, frame.StreamType, frame.Content)
id, typ, buf)
}
}