mediasoup-go-demo
mediasoup-go-demo copied to clipboard
crash soon after into the room
2022-11-10T15:32:36Z DBG Channel > received a notification event=trace targetId=b023eabd-c7c7-4d62-9556-b8a6f46e5c76 v=1 2022-11-10T15:32:36Z INF Channel > RTC::TransportCongestionControlClient::MayEmitAvailableBitrateEvent() | high BWE value decrease detected, notifying the listener [now:294645, before:800520] pid=249844 v=0 warn=true 2022-11-10T15:32:36Z DBG Channel > close() v=1 panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x885761]
goroutine 23 [running]: main.(*Room).createConsumer.func6(0x0) /home/mediasoup-go-demo/server/room.go:937 +0xa1 github.com/jiyeyuran/mediasoup-go.(*Consumer).handleWorkerNotifications.func1({0xc00033fd60, 0xc}, {0xc00033fd50, 0x4, 0x8}) /home/go/pkg/mod/github.com/jiyeyuran/[email protected]/consumer.go:661 +0x77c github.com/jiyeyuran/mediasoup-go.(*Channel).processMessage(0xc0001102c0, {0xc00020e000, 0x56, 0x56}) /home/go/pkg/mod/github.com/jiyeyuran/[email protected]/channel.go:262 +0x243 github.com/jiyeyuran/mediasoup-go.(*Channel).processPayload(0xc0001102c0, {0xc00020e000, 0x56, 0x56}) /home/go/pkg/mod/github.com/jiyeyuran/[email protected]/channel.go:194 +0x3bc github.com/jiyeyuran/mediasoup-go.(*Channel).runReadLoop(0xc0001102c0) /home/go/pkg/mod/github.com/jiyeyuran/[email protected]/channel.go:187 +0x6f created by github.com/jiyeyuran/mediasoup-go.(*Channel).Start /home/go/pkg/mod/github.com/jiyeyuran/[email protected]/channel.go:60 +0x97