Skip to content

Commit

Permalink
delete some logs
Browse files Browse the repository at this point in the history
  • Loading branch information
milkywayriver committed Feb 23, 2019
1 parent b7580fa commit cdff062
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rtsp/pusher.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,19 +327,19 @@ func (pusher *Pusher) shouldSequeceStart(rtp *RTPInfo) bool {
switch {
case NaluType <= 23:
realNALU = rtp.Payload[0]
log.Printf("Single NAL:%d", NaluType)
// log.Printf("Single NAL:%d", NaluType)
case NaluType == 28 || NaluType == 29:
realNALU = rtp.Payload[1]
if realNALU&0x40 != 0 {
log.Printf("FU NAL End :%02X", realNALU)
// log.Printf("FU NAL End :%02X", realNALU)
}
if realNALU&0x80 != 0 {
log.Printf("FU NAL Begin :%02X", realNALU)
// log.Printf("FU NAL Begin :%02X", realNALU)
} else {
return false
}
case NaluType == 24:
log.Printf("STAP-A")
// log.Printf("STAP-A")
off := 1
singleSPSPPS := 0
for {
Expand Down

0 comments on commit cdff062

Please sign in to comment.