Adds skip SEI frame

This commit is contained in:
Alexey Khit
2022-09-09 19:32:56 +03:00
parent b2eaf03914
commit 9f0153e2a8
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -9,6 +9,7 @@ import (
const (
NALUTypePFrame = 1
NALUTypeIFrame = 5
NALUTypeSEI = 6
NALUTypeSPS = 7
NALUTypePPS = 8
)
+3
View File
@@ -53,6 +53,9 @@ func RTPDepay(track *streamer.Track) streamer.WrapperFunc {
//println("new PPS")
pps = unit
continue
case NALUTypeSEI:
// some unnecessary text information
continue
}
// ffmpeg with `-tune zerolatency` enable option `-x264opts sliced-threads=1`