Browse Source

fix doc

pull/80/head
aler9 5 years ago
parent
commit
491ffc8b28
  1. 2
      source.go

2
source.go

@ -212,7 +212,7 @@ func (s *source) runUdp(terminate chan struct{}, conn *gortsplib.ConnClient) boo @@ -212,7 +212,7 @@ func (s *source) runUdp(terminate chan struct{}, conn *gortsplib.ConnClient) boo
for {
// choose two consecutive ports in range 65536-10000
// rtp must be pair and rtcp odd
// rtp must be even and rtcp odd
rtpPort := (rand.Intn((65535-10000)/2) * 2) + 10000
rtcpPort := rtpPort + 1

Loading…
Cancel
Save