Send client sdk type when participant joins in telemetry (#275)
Signed-off-by: shishir gowda <shishir@livekit.io>
This commit is contained in:
@@ -29,8 +29,9 @@ func Test_TelemetryService_Downstream_Stats(t *testing.T) {
|
||||
|
||||
room := &livekit.Room{}
|
||||
partSID := "part1"
|
||||
clientInfo := &livekit.ClientInfo{Sdk: 2}
|
||||
participantInfo := &livekit.ParticipantInfo{Sid: partSID}
|
||||
fixture.sut.ParticipantJoined(context.Background(), room, participantInfo)
|
||||
fixture.sut.ParticipantJoined(context.Background(), room, participantInfo, clientInfo)
|
||||
totalBytes := 33
|
||||
fixture.sut.OnDownstreamPacket(partSID, totalBytes)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user