mirror of
https://github.com/lkmio/lkm.git
synced 2025-10-19 05:24:40 +08:00
feat: 支持1078流转GB28181
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user