Monibuca / engine

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

rtmp推流异常 #59

Closed sapceman closed 1 year ago

sapceman commented 2 years ago

rtmp配置kickexist: true后,两个obs用相同的地址进行推流,m7s异常退出了,生成fatal.log: panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x18 pc=0xfde0a9]

goroutine 105 [running]: m7s.live/engine/v4.(Stream).action(0xc00039f790, 0x2) ……/m7s/workspace/engine/stream.go:226 +0x3e9 m7s.live/engine/v4.(Stream).run(0xc00039f790) ……/m7s/workspace/engine/stream.go:394 +0x1a5e created by m7s.live/engine/v4.findOrCreateStream ……/m7s/workspace/engine/stream.go:206 +0x55f

langhuihui commented 2 years ago

我来修复一下