fix: 继续推流时, 不发送extradata和metadata问题

This commit is contained in:
ydajiang
2024-12-23 20:30:00 +08:00
parent 3ebda750a3
commit be4a13996b

View File

@@ -16,8 +16,9 @@ func (s *Sink) StartStreaming(_ stream.TransStream) error {
return s.stack.SendStreamBeginChunk()
}
func (s *Sink) StopStreaming(_ stream.TransStream) {
func (s *Sink) StopStreaming(stream stream.TransStream) {
_ = s.stack.SendStreamEOFChunk()
s.BaseSink.StopStreaming(stream)
}
func (s *Sink) Close() {