Skip to content

Commit 162e58c

Browse files
committed
fix: init hls player conf
1 parent f48f65f commit 162e58c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/channel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ func (c *Channel) InitHlsPlayer(conf ...hls.SourceConf) error {
187187
}
188188
_ = p.SendPacket(context.Background())
189189
p.Close()
190-
p = hls.NewSource()
190+
p = hls.NewSource(conf...)
191191
c.hlsWriter.Store(p)
192192
}
193193
}()

0 commit comments

Comments
 (0)