mirror of
https://github.com/lkmio/lkm.git
synced 2025-10-01 05:22:16 +08:00
fix: 继续推流时, 不发送extradata和metadata问题
This commit is contained in:
@@ -16,8 +16,9 @@ func (s *Sink) StartStreaming(_ stream.TransStream) error {
|
|||||||
return s.stack.SendStreamBeginChunk()
|
return s.stack.SendStreamBeginChunk()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Sink) StopStreaming(_ stream.TransStream) {
|
func (s *Sink) StopStreaming(stream stream.TransStream) {
|
||||||
_ = s.stack.SendStreamEOFChunk()
|
_ = s.stack.SendStreamEOFChunk()
|
||||||
|
s.BaseSink.StopStreaming(stream)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Sink) Close() {
|
func (s *Sink) Close() {
|
||||||
|
Reference in New Issue
Block a user