steep-balloon-41261
07/01/2023, 4:31 AMable-gigabyte-21598
07/01/2023, 4:39 AMbrief-refrigerator-69901
07/01/2023, 4:54 AMOnDataReceived: func(data []byte, rp *lksdk.RemoteParticipant) {
fmt.Println("OnDataReceived", rp)
rp is always nil . Anyone seen this in Go?brief-refrigerator-69901
07/01/2023, 4:56 AMconst sendMessage = (eventRequest: EventRequest) => {
const data = encoder.encode(JSON.stringify(eventRequest));
room.localParticipant.publishData(data, DataPacket_Kind.RELIABLE, [
sid,
]);
};dry-elephant-14928
07/01/2023, 6:56 AMdry-farmer-50272
07/01/2023, 11:05 AMbrief-refrigerator-69901
07/01/2023, 1:48 PMbrief-refrigerator-69901
07/01/2023, 1:55 PMbrief-refrigerator-69901
07/01/2023, 1:57 PMbrief-refrigerator-69901
07/01/2023, 4:13 PMlivekit-cli load-test --room f4ed79dd-78dc-4c96-8ccd-b967dbfbb771 --video-publishers 10
Using default project Infinivents
Starting load test with 10 video publishers, room: f4ed79dd-78dc-4c96-8ccd-b967dbfbb771
publishing simulcast video track - beekv_pub_0
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x6 pc=0xbc03ea]
goroutine 136 [running]:
<http://github.com/livekit/livekit-cli/pkg/provider.(*H264VideoLooper).nextSample(0xc00035c8d0|github.com/livekit/livekit-cli/pkg/provider.(*H264VideoLooper).nextSample(0xc00035c8d0>, 0x1)
/home/a104/repos/LiveKit/livekit-cli/pkg/provider/h264looper.go:77 +0x3ea
<http://github.com/livekit/livekit-cli/pkg/provider.(*H264VideoLooper).NextSample(0xc00035c8d0?)|github.com/livekit/livekit-cli/pkg/provider.(*H264VideoLooper).NextSample(0xc00035c8d0?)>
/home/a104/repos/LiveKit/livekit-cli/pkg/provider/h264looper.go:54 +0x48
<http://github.com/livekit/server-sdk-go.(*LocalSampleTrack).writeWorker|github.com/livekit/server-sdk-go.(*LocalSampleTrack).writeWorker>(0xc000306410, {0x7fd29c2e5420, 0xc00035c8d0}, 0x0)
/home/a104/go/pkg/mod/github.com/livekit/server-sdk-go@v1.0.13/localsampletrack.go:410 +0x1c7
created by <http://github.com/livekit/server-sdk-go.(*LocalSampleTrack).Bind|github.com/livekit/server-sdk-go.(*LocalSampleTrack).Bind>
/home/a104/go/pkg/mod/github.com/livekit/server-sdk-go@v1.0.13/localsampletrack.go:186 +0x57bdry-elephant-14928
07/01/2023, 5:02 PMbrief-refrigerator-69901
07/01/2023, 5:07 PMbrief-refrigerator-69901
07/01/2023, 5:19 PMdry-elephant-14928
07/01/2023, 5:23 PMbrief-refrigerator-69901
07/01/2023, 5:23 PM$ livekit-cli load-test --room f4ed79dd-78dc-4c96-8ccd-b967dbfbb771 --video-publishers 8
Using default project Infinivents
Starting load test with 8 video publishers, room: f4ed79dd-78dc-4c96-8ccd-b967dbfbb771
publishing simulcast video track - rryfa_pub_0
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x6 pc=0xbc03ea]
goroutine 242 [running]:
<http://github.com/livekit/livekit-cli/pkg/provider.(*H264VideoLooper).nextSample(0xc000598870|github.com/livekit/livekit-cli/pkg/provider.(*H264VideoLooper).nextSample(0xc000598870>, 0x1)
/home/a104/repos/LiveKit/livekit-cli/pkg/provider/h264looper.go:77 +0x3ea
<http://github.com/livekit/livekit-cli/pkg/provider.(*H264VideoLooper).NextSample(0xc000598870?)|github.com/livekit/livekit-cli/pkg/provider.(*H264VideoLooper).NextSample(0xc000598870?)>
/home/a104/repos/LiveKit/livekit-cli/pkg/provider/h264looper.go:54 +0x48
<http://github.com/livekit/server-sdk-go.(*LocalSampleTrack).writeWorker|github.com/livekit/server-sdk-go.(*LocalSampleTrack).writeWorker>(0xc0000ce5b0, {0x7ff9a01b80c8, 0xc000598870}, 0x0)
/home/a104/go/pkg/mod/github.com/livekit/server-sdk-go@v1.0.13/localsampletrack.go:410 +0x1c7
created by <http://github.com/livekit/server-sdk-go.(*LocalSampleTrack).Bind|github.com/livekit/server-sdk-go.(*LocalSampleTrack).Bind>
/home/a104/go/pkg/mod/github.com/livekit/server-sdk-go@v1.0.13/localsampletrack.go:186 +0x57bdry-elephant-14928
07/01/2023, 5:24 PMbrief-refrigerator-69901
07/01/2023, 5:25 PMbrief-refrigerator-69901
07/01/2023, 5:25 PMdry-elephant-14928
07/01/2023, 5:25 PMdry-elephant-14928
07/01/2023, 5:25 PMbrief-refrigerator-69901
07/01/2023, 5:26 PMdry-farmer-50272
07/04/2023, 8:02 PMbrief-refrigerator-69901
07/04/2023, 8:17 PMdry-farmer-50272
07/04/2023, 8:26 PMbrief-refrigerator-69901
07/04/2023, 8:36 PMbrief-refrigerator-69901
07/04/2023, 8:37 PMdry-farmer-50272
07/04/2023, 8:49 PMbrief-refrigerator-69901
07/04/2023, 8:52 PMenter room request. See if that fixes the issue, it is not a fix, but it would confirm if the participant is known on the go app or not. By adding a delay, you'd give the race condition a headstart to make sure your server is aware of that participant. I cannot say this is your bug, but Id be curious if it does fix the issue.brief-refrigerator-69901
07/04/2023, 8:54 PMdry-farmer-50272
07/04/2023, 9:10 PMdry-elephant-14928
07/04/2023, 10:59 PMbrief-refrigerator-69901
07/04/2023, 11:10 PM