mirror of
https://github.com/lkmio/lkm.git
synced 2025-10-05 15:16:49 +08:00
feat: 支持国标语音广播
This commit is contained in:
@@ -288,7 +288,7 @@ func (s *PublishSource) CreateTransStream(id TransStreamID, protocol TransStream
|
||||
_ = transStream.WriteHeader()
|
||||
|
||||
// 设置转发流
|
||||
if TransStreamGBStreamForward == transStream.GetProtocol() {
|
||||
if TransStreamGBCascadedForward == transStream.GetProtocol() {
|
||||
s.ForwardTransStream = transStream
|
||||
}
|
||||
|
||||
@@ -612,7 +612,7 @@ func (s *PublishSource) DoClose() {
|
||||
transStreamID := sink.GetTransStreamID()
|
||||
sink.SetTransStreamID(0)
|
||||
if s.recordSink == sink {
|
||||
return
|
||||
continue
|
||||
}
|
||||
|
||||
{
|
||||
|
Reference in New Issue
Block a user