封装hls

This commit is contained in:
yangjiechina
2024-03-06 20:42:17 +08:00
parent f7552240d0
commit de6cca48ca
8 changed files with 254 additions and 39 deletions

View File

@@ -79,7 +79,7 @@ func (s *sessionImpl) Close() {
return
}
_, ok := s.handle.(*Publisher)
_, ok := s.handle.(*publisher)
if ok {
if s.isPublisher {
s.handle.(*publisher).AddEvent(stream.SourceEventClose, nil)