兼容Adoble FMLE推流工具

This commit is contained in:
yangjiechina
2024-12-13 19:46:44 +08:00
parent 6f72ccfeba
commit 5d0c51817c
5 changed files with 12 additions and 13 deletions

View File

@@ -13,11 +13,11 @@ type Sink struct {
}
func (s *Sink) StartStreaming(_ stream.TransStream) error {
return s.stack.SendStreamBeginChunk(s.Conn)
return s.stack.SendStreamBeginChunk()
}
func (s *Sink) StopStreaming(_ stream.TransStream) {
_ = s.stack.SendStreamEOFChunk(s.Conn)
_ = s.stack.SendStreamEOFChunk()
}
func (s *Sink) Close() {