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

@@ -12,11 +12,11 @@ import (
)
// This example shows how to
// * generate RTP/H264 frames from a file with Gstreamer
// * connect to a RTSP server, announce a H264 track
// * write the frames of the track for 5 seconds
// * pause for 5 seconds
// * repeat
// 1. generate RTP/H264 frames from a file with Gstreamer
// 2. connect to a RTSP server, announce a H264 track
// 3. write the frames of the track for 5 seconds
// 4. pause for 5 seconds
// 5. repeat
func main() {
// open a listener to receive RTP/H264 frames