mirror of
https://github.com/lkmio/lkm.git
synced 2025-10-05 07:06:57 +08:00
支持国标级联
This commit is contained in:
@@ -8,8 +8,8 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func CreateTransStream(source stream.Source, protocol stream.Protocol, streams []utils.AVStream) stream.TransStream {
|
||||
if stream.ProtocolRtmp == protocol {
|
||||
func CreateTransStream(source stream.Source, protocol stream.TransStreamProtocol, streams []utils.AVStream) stream.TransStream {
|
||||
if stream.TransStreamRtmp == protocol {
|
||||
return NewTransStream(librtmp.ChunkSize)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user