accept any participant type source to BroadcastMetricsForRoom (#3063)
This commit is contained in:
+1
-1
@@ -1795,7 +1795,7 @@ func BroadcastDataPacketForRoom(r types.Room, source types.LocalParticipant, kin
|
||||
})
|
||||
}
|
||||
|
||||
func BroadcastMetricsForRoom(r types.Room, source types.LocalParticipant, dp *livekit.DataPacket, logger logger.Logger) {
|
||||
func BroadcastMetricsForRoom(r types.Room, source types.Participant, dp *livekit.DataPacket, logger logger.Logger) {
|
||||
switch payload := dp.Value.(type) {
|
||||
case *livekit.DataPacket_Metrics:
|
||||
utils.ParallelExec(r.GetLocalParticipants(), dataForwardLoadBalanceThreshold, 1, func(op types.LocalParticipant) {
|
||||
|
||||
Reference in New Issue
Block a user