feat: 支持1078流转GB28181

This commit is contained in:
ydajiang
2025-05-31 21:06:33 +08:00
parent 976fd12b4b
commit 3e371c1ac7
18 changed files with 440 additions and 130 deletions

View File

@@ -54,3 +54,7 @@ func NewRtpTransStream(protocol TransStreamProtocol, capacity int) *RtpStream {
rtpBuffers: collections.NewQueue[*collections.ReferenceCounter[[]byte]](capacity),
}
}
func GBCascadedTransStreamFactory(source Source, protocol TransStreamProtocol, tracks []*Track) (TransStream, error) {
return NewRtpTransStream(TransStreamGBCascaded, 1024), nil
}