type aliases -> type definitions (#312)
* type alias -> type definition * participantSid -> participantID in a comment * Update protocol
This commit is contained in:
+1
-1
@@ -129,7 +129,7 @@ func scenarioDataPublish(t *testing.T) {
|
||||
|
||||
received := utils.AtomicFlag{}
|
||||
c2.OnDataReceived = func(data []byte, sid string) {
|
||||
if string(data) == payload && sid == c1.ID() {
|
||||
if string(data) == payload && livekit.ParticipantID(sid) == c1.ID() {
|
||||
received.TrySet(true)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user