Skip to content

Commit

Permalink
Fix panic on empty RTSP medias #481
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Jun 28, 2023
1 parent 3dd14a8 commit 99b962e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/rtsp/consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

func (c *Conn) GetMedias() []*core.Media {
core.Assert(c.Medias != nil)
//core.Assert(c.Medias != nil)
return c.Medias
}

Expand Down

0 comments on commit 99b962e

Please sign in to comment.