mirror of
https://github.com/Monibuca/plugin-rtmp.git
synced 2025-10-05 15:37:11 +08:00
去掉打印
This commit is contained in:
@@ -109,7 +109,6 @@ func processRtmp(conn net.Conn) {
|
||||
vt := stream.NewVideoTrack(0)
|
||||
at := stream.NewAudioTrack(0)
|
||||
rec_audio = func(msg *Chunk) {
|
||||
fmt.Println("a:", msg.ChunkStreamID)
|
||||
if msg.Timestamp == 0xffffff {
|
||||
absTs[msg.ChunkStreamID] += msg.ExtendTimestamp
|
||||
} else {
|
||||
@@ -118,7 +117,6 @@ func processRtmp(conn net.Conn) {
|
||||
at.PushByteStream(engine.AudioPack{Timestamp: absTs[msg.ChunkStreamID], Payload: msg.Body})
|
||||
}
|
||||
rec_video = func(msg *Chunk) {
|
||||
fmt.Println("v:", msg.ChunkStreamID)
|
||||
if msg.Timestamp == 0xffffff {
|
||||
absTs[msg.ChunkStreamID] += msg.ExtendTimestamp
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user