type aliases -> type definitions (#312)

* type alias -> type definition

* participantSid -> participantID in a comment

* Update protocol
This commit is contained in:
Raja Subramanian
2022-01-03 12:43:58 +05:30
committed by GitHub
parent d5c955d11f
commit 995c1e8676
39 changed files with 490 additions and 482 deletions
+1 -1
View File
@@ -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)
}
}