Skip to content

Commit 055f300

Browse files
Add featureinfo nested field for reporting feature specific metadata (#1367)
* feat: add featureinfo nested field for reporting feature specific metadata * fix: make FeatureInfo start at 1 * generated protobuf * fix: add missing changeset * feat: migrate feature_info to a map<string, string> * fix: remove optional on feature_info * generated protobuf --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent a8bb820 commit 055f300

File tree

3 files changed

+102
-78
lines changed

3 files changed

+102
-78
lines changed

.changeset/nice-tigers-attend.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"github.com/livekit/protocol": patch
3+
"@livekit/protocol": patch
4+
---
5+
6+
Add featureinfo nested field for reporting noise cancellation feature specific metadata

livekit/livekit_analytics.pb.go

Lines changed: 92 additions & 77 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protobufs/livekit_analytics.proto

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,11 @@ message FeatureUsageInfo {
241241
string track_id = 7;
242242
// time ranges during which the feature was enabled.
243243
// for e. g., noise cancellation may not be applied when a media track is paused/muted,
244-
// this allows reporting only periods during which a feature is avtive.
244+
// this allows reporting only periods during which a feature is active.
245245
repeated TimeRange time_ranges = 8;
246+
247+
// Feature specific metadata included in the report
248+
map<string, string> feature_info = 9;
246249
}
247250

248251
message APICallRequest {

0 commit comments

Comments
 (0)