@@ -545,6 +545,7 @@ class ParticipantPermission extends $pb.GeneratedMessage {
545545 $core.bool ? canUpdateMetadata,
546546 @$core.Deprecated ('This field is deprecated.' ) $core.bool ? agent,
547547 $core.bool ? canSubscribeMetrics,
548+ $core.bool ? canManageAgentSession,
548549 }) {
549550 final result = create ();
550551 if (canSubscribe != null ) result.canSubscribe = canSubscribe;
@@ -556,6 +557,7 @@ class ParticipantPermission extends $pb.GeneratedMessage {
556557 if (canUpdateMetadata != null ) result.canUpdateMetadata = canUpdateMetadata;
557558 if (agent != null ) result.agent = agent;
558559 if (canSubscribeMetrics != null ) result.canSubscribeMetrics = canSubscribeMetrics;
560+ if (canManageAgentSession != null ) result.canManageAgentSession = canManageAgentSession;
559561 return result;
560562 }
561563
@@ -580,6 +582,7 @@ class ParticipantPermission extends $pb.GeneratedMessage {
580582 ..aOB (10 , _omitFieldNames ? '' : 'canUpdateMetadata' )
581583 ..aOB (11 , _omitFieldNames ? '' : 'agent' )
582584 ..aOB (12 , _omitFieldNames ? '' : 'canSubscribeMetrics' )
585+ ..aOB (13 , _omitFieldNames ? '' : 'canManageAgentSession' )
583586 ..hasRequiredFields = false ;
584587
585588 @$core.Deprecated ('See https://github.com/google/protobuf.dart/issues/998.' )
@@ -693,6 +696,16 @@ class ParticipantPermission extends $pb.GeneratedMessage {
693696 $core.bool hasCanSubscribeMetrics () => $_has (8 );
694697 @$pb.TagNumber (12 )
695698 void clearCanSubscribeMetrics () => $_clearField (12 );
699+
700+ /// if a participant can manage an agent session via RemoteSession (control and access state)
701+ @$pb.TagNumber (13 )
702+ $core.bool get canManageAgentSession => $_getBF (9 );
703+ @$pb.TagNumber (13 )
704+ set canManageAgentSession ($core.bool value) => $_setBool (9 , value);
705+ @$pb.TagNumber (13 )
706+ $core.bool hasCanManageAgentSession () => $_has (9 );
707+ @$pb.TagNumber (13 )
708+ void clearCanManageAgentSession () => $_clearField (13 );
696709}
697710
698711class ParticipantInfo extends $pb.GeneratedMessage {
@@ -714,6 +727,7 @@ class ParticipantInfo extends $pb.GeneratedMessage {
714727 $fixnum.Int64 ? joinedAtMs,
715728 $core.Iterable <ParticipantInfo_KindDetail >? kindDetails,
716729 $core.Iterable <DataTrackInfo >? dataTracks,
730+ $core.int ? clientProtocol,
717731 }) {
718732 final result = create ();
719733 if (sid != null ) result.sid = sid;
@@ -733,6 +747,7 @@ class ParticipantInfo extends $pb.GeneratedMessage {
733747 if (joinedAtMs != null ) result.joinedAtMs = joinedAtMs;
734748 if (kindDetails != null ) result.kindDetails.addAll (kindDetails);
735749 if (dataTracks != null ) result.dataTracks.addAll (dataTracks);
750+ if (clientProtocol != null ) result.clientProtocol = clientProtocol;
736751 return result;
737752 }
738753
@@ -770,6 +785,7 @@ class ParticipantInfo extends $pb.GeneratedMessage {
770785 enumValues: ParticipantInfo_KindDetail .values,
771786 defaultEnumValue: ParticipantInfo_KindDetail .CLOUD_AGENT )
772787 ..pPM <DataTrackInfo >(19 , _omitFieldNames ? '' : 'dataTracks' , subBuilder: DataTrackInfo .create)
788+ ..aI (20 , _omitFieldNames ? '' : 'clientProtocol' )
773789 ..hasRequiredFields = false ;
774790
775791 @$core.Deprecated ('See https://github.com/google/protobuf.dart/issues/998.' )
@@ -924,6 +940,16 @@ class ParticipantInfo extends $pb.GeneratedMessage {
924940
925941 @$pb.TagNumber (19 )
926942 $pb.PbList <DataTrackInfo > get dataTracks => $_getList (16 );
943+
944+ /// protocol version used for client feature compatibility
945+ @$pb.TagNumber (20 )
946+ $core.int get clientProtocol => $_getIZ (17 );
947+ @$pb.TagNumber (20 )
948+ set clientProtocol ($core.int value) => $_setSignedInt32 (17 , value);
949+ @$pb.TagNumber (20 )
950+ $core.bool hasClientProtocol () => $_has (17 );
951+ @$pb.TagNumber (20 )
952+ void clearClientProtocol () => $_clearField (20 );
927953}
928954
929955class Encryption extends $pb.GeneratedMessage {
@@ -1090,6 +1116,7 @@ class TrackInfo extends $pb.GeneratedMessage {
10901116 TimedVersion ? version,
10911117 $core.Iterable <AudioTrackFeature >? audioFeatures,
10921118 BackupCodecPolicy ? backupCodecPolicy,
1119+ $core.Iterable <PacketTrailerFeature >? packetTrailerFeatures,
10931120 }) {
10941121 final result = create ();
10951122 if (sid != null ) result.sid = sid;
@@ -1112,6 +1139,7 @@ class TrackInfo extends $pb.GeneratedMessage {
11121139 if (version != null ) result.version = version;
11131140 if (audioFeatures != null ) result.audioFeatures.addAll (audioFeatures);
11141141 if (backupCodecPolicy != null ) result.backupCodecPolicy = backupCodecPolicy;
1142+ if (packetTrailerFeatures != null ) result.packetTrailerFeatures.addAll (packetTrailerFeatures);
11151143 return result;
11161144 }
11171145
@@ -1148,6 +1176,10 @@ class TrackInfo extends $pb.GeneratedMessage {
11481176 enumValues: AudioTrackFeature .values,
11491177 defaultEnumValue: AudioTrackFeature .TF_STEREO )
11501178 ..aE <BackupCodecPolicy >(20 , _omitFieldNames ? '' : 'backupCodecPolicy' , enumValues: BackupCodecPolicy .values)
1179+ ..pc <PacketTrailerFeature >(21 , _omitFieldNames ? '' : 'packetTrailerFeatures' , $pb.PbFieldType .KE ,
1180+ valueOf: PacketTrailerFeature .valueOf,
1181+ enumValues: PacketTrailerFeature .values,
1182+ defaultEnumValue: PacketTrailerFeature .PTF_USER_TIMESTAMP )
11511183 ..hasRequiredFields = false ;
11521184
11531185 @$core.Deprecated ('See https://github.com/google/protobuf.dart/issues/998.' )
@@ -1351,6 +1383,9 @@ class TrackInfo extends $pb.GeneratedMessage {
13511383 $core.bool hasBackupCodecPolicy () => $_has (19 );
13521384 @$pb.TagNumber (20 )
13531385 void clearBackupCodecPolicy () => $_clearField (20 );
1386+
1387+ @$pb.TagNumber (21 )
1388+ $pb.PbList <PacketTrailerFeature > get packetTrailerFeatures => $_getList (20 );
13541389}
13551390
13561391class DataTrackInfo extends $pb.GeneratedMessage {
@@ -2965,13 +3000,15 @@ class RpcRequest extends $pb.GeneratedMessage {
29653000 $core.String ? payload,
29663001 $core.int ? responseTimeoutMs,
29673002 $core.int ? version,
3003+ $core.List <$core.int >? compressedPayload,
29683004 }) {
29693005 final result = create ();
29703006 if (id != null ) result.id = id;
29713007 if (method != null ) result.method = method;
29723008 if (payload != null ) result.payload = payload;
29733009 if (responseTimeoutMs != null ) result.responseTimeoutMs = responseTimeoutMs;
29743010 if (version != null ) result.version = version;
3011+ if (compressedPayload != null ) result.compressedPayload = compressedPayload;
29753012 return result;
29763013 }
29773014
@@ -2990,6 +3027,7 @@ class RpcRequest extends $pb.GeneratedMessage {
29903027 ..aOS (3 , _omitFieldNames ? '' : 'payload' )
29913028 ..aI (4 , _omitFieldNames ? '' : 'responseTimeoutMs' , fieldType: $pb.PbFieldType .OU3 )
29923029 ..aI (5 , _omitFieldNames ? '' : 'version' , fieldType: $pb.PbFieldType .OU3 )
3030+ ..a< $core.List <$core.int >> (6 , _omitFieldNames ? '' : 'compressedPayload' , $pb.PbFieldType .OY )
29933031 ..hasRequiredFields = false ;
29943032
29953033 @$core.Deprecated ('See https://github.com/google/protobuf.dart/issues/998.' )
@@ -3053,6 +3091,16 @@ class RpcRequest extends $pb.GeneratedMessage {
30533091 $core.bool hasVersion () => $_has (4 );
30543092 @$pb.TagNumber (5 )
30553093 void clearVersion () => $_clearField (5 );
3094+
3095+ /// Compressed payload data. When set, this field is used instead of `payload` .
3096+ @$pb.TagNumber (6 )
3097+ $core.List <$core.int > get compressedPayload => $_getN (5 );
3098+ @$pb.TagNumber (6 )
3099+ set compressedPayload ($core.List <$core.int > value) => $_setBytes (5 , value);
3100+ @$pb.TagNumber (6 )
3101+ $core.bool hasCompressedPayload () => $_has (5 );
3102+ @$pb.TagNumber (6 )
3103+ void clearCompressedPayload () => $_clearField (6 );
30563104}
30573105
30583106class RpcAck extends $pb.GeneratedMessage {
@@ -3103,18 +3151,20 @@ class RpcAck extends $pb.GeneratedMessage {
31033151 void clearRequestId () => $_clearField (1 );
31043152}
31053153
3106- enum RpcResponse_Value { payload, error, notSet }
3154+ enum RpcResponse_Value { payload, error, compressedPayload, notSet }
31073155
31083156class RpcResponse extends $pb.GeneratedMessage {
31093157 factory RpcResponse ({
31103158 $core.String ? requestId,
31113159 $core.String ? payload,
31123160 RpcError ? error,
3161+ $core.List <$core.int >? compressedPayload,
31133162 }) {
31143163 final result = create ();
31153164 if (requestId != null ) result.requestId = requestId;
31163165 if (payload != null ) result.payload = payload;
31173166 if (error != null ) result.error = error;
3167+ if (compressedPayload != null ) result.compressedPayload = compressedPayload;
31183168 return result;
31193169 }
31203170
@@ -3129,14 +3179,16 @@ class RpcResponse extends $pb.GeneratedMessage {
31293179 static const $core.Map <$core.int , RpcResponse_Value > _RpcResponse_ValueByTag = {
31303180 2 : RpcResponse_Value .payload,
31313181 3 : RpcResponse_Value .error,
3182+ 4 : RpcResponse_Value .compressedPayload,
31323183 0 : RpcResponse_Value .notSet
31333184 };
31343185 static final $pb.BuilderInfo _i = $pb.BuilderInfo (_omitMessageNames ? '' : 'RpcResponse' ,
31353186 package: const $pb.PackageName (_omitMessageNames ? '' : 'livekit' ), createEmptyInstance: create)
3136- ..oo (0 , [2 , 3 ])
3187+ ..oo (0 , [2 , 3 , 4 ])
31373188 ..aOS (1 , _omitFieldNames ? '' : 'requestId' )
31383189 ..aOS (2 , _omitFieldNames ? '' : 'payload' )
31393190 ..aOM <RpcError >(3 , _omitFieldNames ? '' : 'error' , subBuilder: RpcError .create)
3191+ ..a< $core.List <$core.int >> (4 , _omitFieldNames ? '' : 'compressedPayload' , $pb.PbFieldType .OY )
31403192 ..hasRequiredFields = false ;
31413193
31423194 @$core.Deprecated ('See https://github.com/google/protobuf.dart/issues/998.' )
@@ -3158,9 +3210,11 @@ class RpcResponse extends $pb.GeneratedMessage {
31583210
31593211 @$pb.TagNumber (2 )
31603212 @$pb.TagNumber (3 )
3213+ @$pb.TagNumber (4 )
31613214 RpcResponse_Value whichValue () => _RpcResponse_ValueByTag [$_whichOneof (0 )]! ;
31623215 @$pb.TagNumber (2 )
31633216 @$pb.TagNumber (3 )
3217+ @$pb.TagNumber (4 )
31643218 void clearValue () => $_clearField ($_whichOneof (0 ));
31653219
31663220 @$pb.TagNumber (1 )
@@ -3191,6 +3245,16 @@ class RpcResponse extends $pb.GeneratedMessage {
31913245 void clearError () => $_clearField (3 );
31923246 @$pb.TagNumber (3 )
31933247 RpcError ensureError () => $_ensure (2 );
3248+
3249+ /// Compressed payload data. When set, this field is used instead of `payload` .
3250+ @$pb.TagNumber (4 )
3251+ $core.List <$core.int > get compressedPayload => $_getN (3 );
3252+ @$pb.TagNumber (4 )
3253+ set compressedPayload ($core.List <$core.int > value) => $_setBytes (3 , value);
3254+ @$pb.TagNumber (4 )
3255+ $core.bool hasCompressedPayload () => $_has (3 );
3256+ @$pb.TagNumber (4 )
3257+ void clearCompressedPayload () => $_clearField (4 );
31943258}
31953259
31963260class RpcError extends $pb.GeneratedMessage {
@@ -3461,6 +3525,8 @@ class ClientInfo extends $pb.GeneratedMessage {
34613525 $core.String ? address,
34623526 $core.String ? network,
34633527 $core.String ? otherSdks,
3528+ $core.int ? clientProtocol,
3529+ $core.Iterable <ClientInfo_Capability >? capabilities,
34643530 }) {
34653531 final result = create ();
34663532 if (sdk != null ) result.sdk = sdk;
@@ -3474,6 +3540,8 @@ class ClientInfo extends $pb.GeneratedMessage {
34743540 if (address != null ) result.address = address;
34753541 if (network != null ) result.network = network;
34763542 if (otherSdks != null ) result.otherSdks = otherSdks;
3543+ if (clientProtocol != null ) result.clientProtocol = clientProtocol;
3544+ if (capabilities != null ) result.capabilities.addAll (capabilities);
34773545 return result;
34783546 }
34793547
@@ -3498,6 +3566,11 @@ class ClientInfo extends $pb.GeneratedMessage {
34983566 ..aOS (9 , _omitFieldNames ? '' : 'address' )
34993567 ..aOS (10 , _omitFieldNames ? '' : 'network' )
35003568 ..aOS (11 , _omitFieldNames ? '' : 'otherSdks' )
3569+ ..aI (12 , _omitFieldNames ? '' : 'clientProtocol' )
3570+ ..pc <ClientInfo_Capability >(13 , _omitFieldNames ? '' : 'capabilities' , $pb.PbFieldType .KE ,
3571+ valueOf: ClientInfo_Capability .valueOf,
3572+ enumValues: ClientInfo_Capability .values,
3573+ defaultEnumValue: ClientInfo_Capability .CAP_UNUSED )
35013574 ..hasRequiredFields = false ;
35023575
35033576 @$core.Deprecated ('See https://github.com/google/protobuf.dart/issues/998.' )
@@ -3618,6 +3691,21 @@ class ClientInfo extends $pb.GeneratedMessage {
36183691 $core.bool hasOtherSdks () => $_has (10 );
36193692 @$pb.TagNumber (11 )
36203693 void clearOtherSdks () => $_clearField (11 );
3694+
3695+ /// client protocol version
3696+ @$pb.TagNumber (12 )
3697+ $core.int get clientProtocol => $_getIZ (11 );
3698+ @$pb.TagNumber (12 )
3699+ set clientProtocol ($core.int value) => $_setSignedInt32 (11 , value);
3700+ @$pb.TagNumber (12 )
3701+ $core.bool hasClientProtocol () => $_has (11 );
3702+ @$pb.TagNumber (12 )
3703+ void clearClientProtocol () => $_clearField (12 );
3704+
3705+ /// capabilities the client advertises. Populated automatically by each SDK;
3706+ /// not a user-configurable setting.
3707+ @$pb.TagNumber (13 )
3708+ $pb.PbList <ClientInfo_Capability > get capabilities => $_getList (12 );
36213709}
36223710
36233711/// server provided client configuration
0 commit comments