mirror of
https://github.com/lkmio/lkm.git
synced 2025-10-05 07:06:57 +08:00
按照duration切片
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func CreateTransStream(protocol stream.Protocol, streams []utils.AVStream) stream.ITransStream {
|
||||
func CreateTransStream(source stream.ISource, protocol stream.Protocol, streams []utils.AVStream) stream.ITransStream {
|
||||
if stream.ProtocolRtmp == protocol {
|
||||
return NewTransStream(librtmp.ChunkSize)
|
||||
}
|
||||
|
Reference in New Issue
Block a user