Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
deepch committed May 25, 2023
1 parent 0b08aa7 commit 5a989a5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions format/rtspv2/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package rtspv2
import (
"errors"
"fmt"
"log"
"net"
"net/url"
"strconv"
Expand Down Expand Up @@ -181,7 +180,6 @@ func (self *ProxyConn) prepare() error {
}
return nil
}
log.Println("RTSP/1.0 200 OK\r\nCSeq: " + cseq + "\r\nSession: " + self.session + "\r\nTransport: RTP/AVP/TCP;unicast;interleaved=" + strconv.Itoa(self.in) + "-" + strconv.Itoa(self.in+1) + "\r\n\r\n")
_, err := self.netconn.Write([]byte("RTSP/1.0 200 OK\r\nCSeq: " + cseq + "\r\nSession: " + self.session + "\r\nTransport: RTP/AVP/TCP;unicast;interleaved=" + strconv.Itoa(self.in) + "-" + strconv.Itoa(self.in+1) + "\r\n\r\n"))
if err != nil {
return err
Expand Down

0 comments on commit 5a989a5

Please sign in to comment.