Skip to content

Commit

Permalink
Use source names as keys to effective constraints debug state. (#2026)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanLennox authored Jun 2, 2023
1 parent 0c842f0 commit 1da507f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ internal class BandwidthAllocator<T : MediaSourceContainer>(
debugState["bweBps"] = bweBps
debugState["allocation"] = allocation.debugState
debugState["allocationSettings"] = allocationSettings.toJson()
debugState["effectiveConstraints"] = effectiveConstraints
debugState["effectiveConstraints"] = effectiveConstraints.mapKeys { it.key.sourceName }
return debugState
}

Expand Down

0 comments on commit 1da507f

Please sign in to comment.