From 99e83f9ba91bc9a279c43723ce2877b8eb895db4 Mon Sep 17 00:00:00 2001 From: Raja Subramanian Date: Sat, 4 Oct 2025 22:38:10 +0530 Subject: [PATCH] Marking width and height as not deprecated. (#1239) * Marking width and height as not deprecated. Those fields reflect the capture dimensions. * generated protobuf --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- infra/link.pb.go | 2 +- livekit/livekit_agent.pb.go | 2 +- livekit/livekit_agent_dispatch.pb.go | 2 +- livekit/livekit_analytics.pb.go | 2 +- livekit/livekit_cloud_agent.pb.go | 2 +- livekit/livekit_egress.pb.go | 2 +- livekit/livekit_ingress.pb.go | 2 +- livekit/livekit_internal.pb.go | 2 +- livekit/livekit_metrics.pb.go | 2 +- livekit/livekit_models.pb.go | 16 +++++----------- livekit/livekit_phone_number.pb.go | 2 +- livekit/livekit_room.pb.go | 2 +- livekit/livekit_rtc.pb.go | 2 +- livekit/livekit_sip.pb.go | 2 +- livekit/livekit_token_source.pb.go | 2 +- livekit/livekit_webhook.pb.go | 2 +- protobufs/livekit_models.proto | 4 ++-- replay/cloud_replay.pb.go | 2 +- rpc/agent.pb.go | 2 +- rpc/agent_dispatch.pb.go | 2 +- rpc/analytics.pb.go | 2 +- rpc/egress.pb.go | 2 +- rpc/ingress.pb.go | 2 +- rpc/io.pb.go | 2 +- rpc/keepalive.pb.go | 2 +- rpc/participant.pb.go | 2 +- rpc/room.pb.go | 2 +- rpc/roommanager.pb.go | 2 +- rpc/signal.pb.go | 2 +- rpc/sip.pb.go | 2 +- rpc/whip_signal.pb.go | 2 +- 31 files changed, 36 insertions(+), 42 deletions(-) diff --git a/infra/link.pb.go b/infra/link.pb.go index f636bb3..2e7555e 100644 --- a/infra/link.pb.go +++ b/infra/link.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: infra/link.proto diff --git a/livekit/livekit_agent.pb.go b/livekit/livekit_agent.pb.go index a8016aa..0bd6da5 100644 --- a/livekit/livekit_agent.pb.go +++ b/livekit/livekit_agent.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: livekit_agent.proto diff --git a/livekit/livekit_agent_dispatch.pb.go b/livekit/livekit_agent_dispatch.pb.go index 147c54b..3898db5 100644 --- a/livekit/livekit_agent_dispatch.pb.go +++ b/livekit/livekit_agent_dispatch.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: livekit_agent_dispatch.proto diff --git a/livekit/livekit_analytics.pb.go b/livekit/livekit_analytics.pb.go index 7031d19..e1f6b9e 100644 --- a/livekit/livekit_analytics.pb.go +++ b/livekit/livekit_analytics.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: livekit_analytics.proto diff --git a/livekit/livekit_cloud_agent.pb.go b/livekit/livekit_cloud_agent.pb.go index f3dce6a..f20a38d 100644 --- a/livekit/livekit_cloud_agent.pb.go +++ b/livekit/livekit_cloud_agent.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: livekit_cloud_agent.proto diff --git a/livekit/livekit_egress.pb.go b/livekit/livekit_egress.pb.go index e7a6a9f..887a864 100644 --- a/livekit/livekit_egress.pb.go +++ b/livekit/livekit_egress.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: livekit_egress.proto diff --git a/livekit/livekit_ingress.pb.go b/livekit/livekit_ingress.pb.go index 1605a68..1d28712 100644 --- a/livekit/livekit_ingress.pb.go +++ b/livekit/livekit_ingress.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: livekit_ingress.proto diff --git a/livekit/livekit_internal.pb.go b/livekit/livekit_internal.pb.go index 0cad406..7d8d787 100644 --- a/livekit/livekit_internal.pb.go +++ b/livekit/livekit_internal.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: livekit_internal.proto diff --git a/livekit/livekit_metrics.pb.go b/livekit/livekit_metrics.pb.go index 2bc367d..49d086e 100644 --- a/livekit/livekit_metrics.pb.go +++ b/livekit/livekit_metrics.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: livekit_metrics.proto diff --git a/livekit/livekit_models.pb.go b/livekit/livekit_models.pb.go index d3730e3..4fe1fef 100644 --- a/livekit/livekit_models.pb.go +++ b/livekit/livekit_models.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: livekit_models.proto @@ -2111,12 +2111,8 @@ type TrackInfo struct { Muted bool `protobuf:"varint,4,opt,name=muted,proto3" json:"muted,omitempty"` // original width of video (unset for audio) // clients may receive a lower resolution version with simulcast - // - // Deprecated: Marked as deprecated in livekit_models.proto. Width uint32 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"` // original height of video (unset for audio) - // - // Deprecated: Marked as deprecated in livekit_models.proto. Height uint32 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"` // true if track is simulcasted // @@ -2205,7 +2201,6 @@ func (x *TrackInfo) GetMuted() bool { return false } -// Deprecated: Marked as deprecated in livekit_models.proto. func (x *TrackInfo) GetWidth() uint32 { if x != nil { return x.Width @@ -2213,7 +2208,6 @@ func (x *TrackInfo) GetWidth() uint32 { return 0 } -// Deprecated: Marked as deprecated in livekit_models.proto. func (x *TrackInfo) GetHeight() uint32 { if x != nil { return x.Height @@ -5812,14 +5806,14 @@ const file_livekit_models_proto_rawDesc = "" + "\x03cid\x18\x03 \x01(\tR\x03cid\x12+\n" + "\x06layers\x18\x04 \x03(\v2\x13.livekit.VideoLayerR\x06layers\x12B\n" + "\x10video_layer_mode\x18\x05 \x01(\x0e2\x18.livekit.VideoLayer.ModeR\x0evideoLayerMode\x12\x17\n" + - "\asdp_cid\x18\x06 \x01(\tR\x06sdpCid\"\xfe\x05\n" + + "\asdp_cid\x18\x06 \x01(\tR\x06sdpCid\"\xf6\x05\n" + "\tTrackInfo\x12\x10\n" + "\x03sid\x18\x01 \x01(\tR\x03sid\x12&\n" + "\x04type\x18\x02 \x01(\x0e2\x12.livekit.TrackTypeR\x04type\x12\x12\n" + "\x04name\x18\x03 \x01(\tR\x04name\x12\x14\n" + - "\x05muted\x18\x04 \x01(\bR\x05muted\x12\x18\n" + - "\x05width\x18\x05 \x01(\rB\x02\x18\x01R\x05width\x12\x1a\n" + - "\x06height\x18\x06 \x01(\rB\x02\x18\x01R\x06height\x12 \n" + + "\x05muted\x18\x04 \x01(\bR\x05muted\x12\x14\n" + + "\x05width\x18\x05 \x01(\rR\x05width\x12\x16\n" + + "\x06height\x18\x06 \x01(\rR\x06height\x12 \n" + "\tsimulcast\x18\a \x01(\bB\x02\x18\x01R\tsimulcast\x12#\n" + "\vdisable_dtx\x18\b \x01(\bB\x02\x18\x01R\n" + "disableDtx\x12,\n" + diff --git a/livekit/livekit_phone_number.pb.go b/livekit/livekit_phone_number.pb.go index 50b7208..64409fe 100644 --- a/livekit/livekit_phone_number.pb.go +++ b/livekit/livekit_phone_number.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: livekit_phone_number.proto diff --git a/livekit/livekit_room.pb.go b/livekit/livekit_room.pb.go index 5f6ca02..758c4a7 100644 --- a/livekit/livekit_room.pb.go +++ b/livekit/livekit_room.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: livekit_room.proto diff --git a/livekit/livekit_rtc.pb.go b/livekit/livekit_rtc.pb.go index 9699b15..c0fe1d4 100644 --- a/livekit/livekit_rtc.pb.go +++ b/livekit/livekit_rtc.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: livekit_rtc.proto diff --git a/livekit/livekit_sip.pb.go b/livekit/livekit_sip.pb.go index 6531bdf..7411624 100644 --- a/livekit/livekit_sip.pb.go +++ b/livekit/livekit_sip.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: livekit_sip.proto diff --git a/livekit/livekit_token_source.pb.go b/livekit/livekit_token_source.pb.go index 42f6eb8..0b1b361 100644 --- a/livekit/livekit_token_source.pb.go +++ b/livekit/livekit_token_source.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: livekit_token_source.proto diff --git a/livekit/livekit_webhook.pb.go b/livekit/livekit_webhook.pb.go index f5b87fe..66aede8 100644 --- a/livekit/livekit_webhook.pb.go +++ b/livekit/livekit_webhook.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: livekit_webhook.proto diff --git a/protobufs/livekit_models.proto b/protobufs/livekit_models.proto index d32f77e..7f61da4 100644 --- a/protobufs/livekit_models.proto +++ b/protobufs/livekit_models.proto @@ -221,9 +221,9 @@ message TrackInfo { bool muted = 4; // original width of video (unset for audio) // clients may receive a lower resolution version with simulcast - uint32 width = 5 [deprecated=true]; + uint32 width = 5; // original height of video (unset for audio) - uint32 height = 6 [deprecated=true]; + uint32 height = 6; // true if track is simulcasted bool simulcast = 7 [deprecated = true]; // see `video_layer_mode` in `codecs` // true if DTX (Discontinuous Transmission) is disabled for audio diff --git a/replay/cloud_replay.pb.go b/replay/cloud_replay.pb.go index 2f16909..d4deb04 100644 --- a/replay/cloud_replay.pb.go +++ b/replay/cloud_replay.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: cloud_replay.proto diff --git a/rpc/agent.pb.go b/rpc/agent.pb.go index 5dc9733..a1691a6 100644 --- a/rpc/agent.pb.go +++ b/rpc/agent.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: rpc/agent.proto diff --git a/rpc/agent_dispatch.pb.go b/rpc/agent_dispatch.pb.go index 88a3a91..5c65649 100644 --- a/rpc/agent_dispatch.pb.go +++ b/rpc/agent_dispatch.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: rpc/agent_dispatch.proto diff --git a/rpc/analytics.pb.go b/rpc/analytics.pb.go index 306fffa..0f17a25 100644 --- a/rpc/analytics.pb.go +++ b/rpc/analytics.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: rpc/analytics.proto diff --git a/rpc/egress.pb.go b/rpc/egress.pb.go index 06662bb..1051725 100644 --- a/rpc/egress.pb.go +++ b/rpc/egress.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: rpc/egress.proto diff --git a/rpc/ingress.pb.go b/rpc/ingress.pb.go index 3e8a76a..11650a6 100644 --- a/rpc/ingress.pb.go +++ b/rpc/ingress.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: rpc/ingress.proto diff --git a/rpc/io.pb.go b/rpc/io.pb.go index 2dc717c..4d285bb 100644 --- a/rpc/io.pb.go +++ b/rpc/io.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: rpc/io.proto diff --git a/rpc/keepalive.pb.go b/rpc/keepalive.pb.go index 761edd1..2deaef5 100644 --- a/rpc/keepalive.pb.go +++ b/rpc/keepalive.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: rpc/keepalive.proto diff --git a/rpc/participant.pb.go b/rpc/participant.pb.go index e919d1a..ac2c8b2 100644 --- a/rpc/participant.pb.go +++ b/rpc/participant.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: rpc/participant.proto diff --git a/rpc/room.pb.go b/rpc/room.pb.go index 6454b48..9290f4e 100644 --- a/rpc/room.pb.go +++ b/rpc/room.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: rpc/room.proto diff --git a/rpc/roommanager.pb.go b/rpc/roommanager.pb.go index 6424aba..5efc0f0 100644 --- a/rpc/roommanager.pb.go +++ b/rpc/roommanager.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: rpc/roommanager.proto diff --git a/rpc/signal.pb.go b/rpc/signal.pb.go index 1856414..e2ceb6d 100644 --- a/rpc/signal.pb.go +++ b/rpc/signal.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: rpc/signal.proto diff --git a/rpc/sip.pb.go b/rpc/sip.pb.go index 46d869c..5d169ff 100644 --- a/rpc/sip.pb.go +++ b/rpc/sip.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: rpc/sip.proto diff --git a/rpc/whip_signal.pb.go b/rpc/whip_signal.pb.go index 47dc357..8a41d3b 100644 --- a/rpc/whip_signal.pb.go +++ b/rpc/whip_signal.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.9 +// protoc-gen-go v1.36.10 // protoc v4.23.4 // source: rpc/whip_signal.proto