添加序列化屏蔽字段

This commit is contained in:
dexter
2022-06-19 15:30:06 +08:00
parent f9bc450d01
commit ced54a94a4
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ import (
type RTSPPuller struct { type RTSPPuller struct {
RTSPPublisher RTSPPublisher
engine.Puller engine.Puller
*gortsplib.Client *gortsplib.Client `json:"-"`
gortsplib.Transport gortsplib.Transport
} }

View File

@@ -16,7 +16,7 @@ import (
type RTSPPublisher struct { type RTSPPublisher struct {
Publisher Publisher
Tracks []common.AVTrack Tracks []common.AVTrack `json:"-"`
RTSPIO RTSPIO
} }