Adds skip SEI frame
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
const (
|
||||
NALUTypePFrame = 1
|
||||
NALUTypeIFrame = 5
|
||||
NALUTypeSEI = 6
|
||||
NALUTypeSPS = 7
|
||||
NALUTypePPS = 8
|
||||
)
|
||||
|
||||
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user