Monibuca / engine

Monibuca 核心引擎,包含流媒体核心转发逻辑,需要配合功能插件一起组合运行
MIT License
937 stars 199 forks source link

当Streams.Get(streamPath)取不到值时会抛出panic导致程序崩了 #69

Closed wangkaiyj closed 1 year ago

wangkaiyj commented 1 year ago

plugin.go文件 第289行: if puber := Streams.Get(streamPath).Publisher; puber != puller && puber != nil { 当Streams.Get(streamPath)取不到值时会抛出panic导致程序崩了,最好是使用Streams.Has(streamPath)提前先判断一下

langhuihui commented 1 year ago

确实如此,我改正