repair ack, refactor e2e tests

This commit is contained in:
kulikov0 committed 2026-09-12 20:36:19 +02:00
1 parent 9e5357eaa8
commit 88a0b5f1b9
42 files changed
+1732 -792

No files matched your search

+4 -2
View File
@@ -183,8 +183,9 @@ type jsonJoin struct {
PingInterval int32 `json:"pingInterval"`
ICEServers []jsonICEServer `json:"iceServers"`
Local struct {
SID string `json:"sid"`
Name string `json:"name"`
SID string `json:"sid"`
Name string `json:"name"`
UserID string `json:"userId"`
} `json:"localParticipant"`
}
@@ -231,6 +232,7 @@ func (JSONCodec) Decode(data []byte) (Event, error) {
RoomName: ji.RoomID,
ParticipantSID: ji.Local.SID,
ParticipantID: ji.Local.Name,
LocalUserID: ji.Local.UserID,
PingIntervalSec: ji.PingInterval,
}
for _, is := range ji.ICEServers {
+1
View File
@@ -183,6 +183,7 @@ type joinResponse struct {
RoomName string
ParticipantSID string
ParticipantID string
LocalUserID string
ServerVersion string
ServerRegion string
ICEServers []iceServer