mirror of
https://github.com/aler9/gortsplib
synced 2025-10-20 05:54:47 +08:00
update docs
This commit is contained in:
@@ -56,7 +56,7 @@ func (c *container) wait() int {
|
||||
return int(code)
|
||||
}
|
||||
|
||||
func TestConnClientTCP(t *testing.T) {
|
||||
func TestConnClientReadTCP(t *testing.T) {
|
||||
cnt1, err := newContainer("rtsp-simple-server", "server", []string{})
|
||||
require.NoError(t, err)
|
||||
defer cnt1.close()
|
||||
@@ -102,7 +102,7 @@ func TestConnClientTCP(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
}
|
||||
|
||||
func TestConnClientUDP(t *testing.T) {
|
||||
func TestConnClientReadUDP(t *testing.T) {
|
||||
cnt1, err := newContainer("rtsp-simple-server", "server", []string{})
|
||||
require.NoError(t, err)
|
||||
defer cnt1.close()
|
||||
|
@@ -52,7 +52,7 @@ func main() {
|
||||
|
||||
var wg sync.WaitGroup
|
||||
|
||||
// receive RTP frames
|
||||
// read RTP frames
|
||||
for trackId, rtpRead := range rtpReads {
|
||||
wg.Add(1)
|
||||
|
||||
@@ -70,7 +70,7 @@ func main() {
|
||||
}(trackId, rtpRead)
|
||||
}
|
||||
|
||||
// receive RTCP frames
|
||||
// read RTCP frames
|
||||
for trackId, rtcpRead := range rtcpReads {
|
||||
wg.Add(1)
|
||||
|
||||
|
Reference in New Issue
Block a user