Calculate elapsed time as multiple of 90ms, don't start RTSP on seq 0 and rtptime 0 (possible fix for VLC issues)
This commit is contained in:
parent
a2e812c95d
commit
350f26c89e
2 changed files with 2 additions and 2 deletions
|
|
@ -132,7 +132,7 @@ func (s *Server) handleRequest(packet []string, conn net.Conn) {
|
|||
writeStatus(conn, 200, "OK")
|
||||
replyCSeq(conn, headers)
|
||||
writeHeader(conn, "Session", session)
|
||||
writeHeader(conn, "RTP-Info", "url="+request[1]+";seq=0;rtptime=0")
|
||||
writeHeader(conn, "RTP-Info", "url="+request[1]+";seq=10;rtptime=10")
|
||||
conn.Write([]byte("\r\n"))
|
||||
case "TEARDOWN":
|
||||
s.rtpRelay.Stop()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue