mirror of
https://github.com/lkmio/lkm.git
synced 2025-09-26 19:21:14 +08:00
fix: 没有级联sink, 仍然拷贝推流数据的问题
This commit is contained in:
@@ -121,7 +121,7 @@ func (source *BaseGBSource) ProcessPacket(data []byte) error {
|
||||
_ = packet.Unmarshal(data)
|
||||
|
||||
// 国标级联转发
|
||||
if source.GetTransStreamPublisher().GetTransStreams() != nil {
|
||||
if source.GetTransStreamPublisher().GetForwardTransStream() != nil {
|
||||
if source.lastRtpTimestamp == -1 {
|
||||
source.lastRtpTimestamp = int64(packet.Timestamp)
|
||||
}
|
||||
|
Reference in New Issue
Block a user