Skip to content

Commit 65e5fc4

Browse files
committed
Update "rust-sdks" to livekit-ffi/v0.12.60
1 parent 0976781 commit 65e5fc4

15 files changed

Lines changed: 17857 additions & 1369 deletions

File tree

LivekitRtc/Proto/AudioFrame.g.cs

Lines changed: 3864 additions & 96 deletions
Large diffs are not rendered by default.

LivekitRtc/Proto/DataTrack.g.cs

Lines changed: 7720 additions & 0 deletions
Large diffs are not rendered by default.

LivekitRtc/Proto/Ffi.g.cs

Lines changed: 2290 additions & 338 deletions
Large diffs are not rendered by default.

LivekitRtc/Proto/Participant.g.cs

Lines changed: 196 additions & 77 deletions
Large diffs are not rendered by default.

LivekitRtc/Proto/Room.g.cs

Lines changed: 3160 additions & 747 deletions
Large diffs are not rendered by default.

LivekitRtc/Proto/Track.g.cs

Lines changed: 72 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -36,49 +36,52 @@ static TrackReflection() {
3636
"EEdldFN0YXRzUmVzcG9uc2USEAoIYXN5bmNfaWQYASACKAQiWwoQR2V0U3Rh",
3737
"dHNDYWxsYmFjaxIQCghhc3luY19pZBgBIAIoBBINCgVlcnJvchgCIAEoCRIm",
3838
"CgVzdGF0cxgDIAMoCzIXLmxpdmVraXQucHJvdG8uUnRjU3RhdHMiDAoKVHJh",
39-
"Y2tFdmVudCLdAgoUVHJhY2tQdWJsaWNhdGlvbkluZm8SCwoDc2lkGAEgAigJ",
39+
"Y2tFdmVudCKjAwoUVHJhY2tQdWJsaWNhdGlvbkluZm8SCwoDc2lkGAEgAigJ",
4040
"EgwKBG5hbWUYAiACKAkSJgoEa2luZBgDIAIoDjIYLmxpdmVraXQucHJvdG8u",
4141
"VHJhY2tLaW5kEioKBnNvdXJjZRgEIAIoDjIaLmxpdmVraXQucHJvdG8uVHJh",
4242
"Y2tTb3VyY2USEwoLc2ltdWxjYXN0ZWQYBSACKAgSDQoFd2lkdGgYBiACKA0S",
4343
"DgoGaGVpZ2h0GAcgAigNEhEKCW1pbWVfdHlwZRgIIAIoCRINCg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RGX0VDSE9f",
77+
"Q0FOQ0VMTEFUSU9OEAMSGAoUVEZfTk9JU0VfU1VQUFJFU1NJT04QBBIiCh5U",
78+
"Rl9FTkhBTkNFRF9OT0lTRV9DQU5DRUxMQVRJT04QBRIYChRURl9QUkVDT05O",
79+
"RUNUX0JVRkZFUhAGKkAKFFBhY2tldFRyYWlsZXJGZWF0dXJlEhYKElBURl9V",
80+
"U0VSX1RJTUVTVEFNUBAAEhAKDFBURl9GUkFNRV9JRBABQhCqAg1MaXZlS2l0",
81+
"LlByb3Rv"));
7982
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
8083
new pbr::FileDescriptor[] { global::LiveKit.Proto.E2EeReflection.Descriptor, global::LiveKit.Proto.HandleReflection.Descriptor, global::LiveKit.Proto.StatsReflection.Descriptor, },
81-
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::LiveKit.Proto.TrackKind), typeof(global::LiveKit.Proto.TrackSource), typeof(global::LiveKit.Proto.StreamState), typeof(global::LiveKit.Proto.AudioTrackFeature), }, null, new pbr::GeneratedClrTypeInfo[] {
84+
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::LiveKit.Proto.TrackKind), typeof(global::LiveKit.Proto.TrackSource), typeof(global::LiveKit.Proto.StreamState), typeof(global::LiveKit.Proto.AudioTrackFeature), typeof(global::LiveKit.Proto.PacketTrailerFeature), }, null, new pbr::GeneratedClrTypeInfo[] {
8285
new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.CreateVideoTrackRequest), global::LiveKit.Proto.CreateVideoTrackRequest.Parser, new[]{ "Name", "SourceHandle" }, null, null, null, null),
8386
new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.CreateVideoTrackResponse), global::LiveKit.Proto.CreateVideoTrackResponse.Parser, new[]{ "Track" }, null, null, null, null),
8487
new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.CreateAudioTrackRequest), global::LiveKit.Proto.CreateAudioTrackRequest.Parser, new[]{ "Name", "SourceHandle" }, null, null, null, null),
@@ -87,7 +90,7 @@ static TrackReflection() {
8790
new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.GetStatsResponse), global::LiveKit.Proto.GetStatsResponse.Parser, new[]{ "AsyncId" }, null, null, null, null),
8891
new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.GetStatsCallback), global::LiveKit.Proto.GetStatsCallback.Parser, new[]{ "AsyncId", "Error", "Stats" }, null, null, null, null),
8992
new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.TrackEvent), global::LiveKit.Proto.TrackEvent.Parser, null, null, null, null, null),
90-
new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.TrackPublicationInfo), global::LiveKit.Proto.TrackPublicationInfo.Parser, new[]{ "Sid", "Name", "Kind", "Source", "Simulcasted", "Width", "Height", "MimeType", "Muted", "Remote", "EncryptionType", "AudioFeatures" }, null, null, null, null),
93+
new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.TrackPublicationInfo), global::LiveKit.Proto.TrackPublicationInfo.Parser, new[]{ "Sid", "Name", "Kind", "Source", "Simulcasted", "Width", "Height", "MimeType", "Muted", "Remote", "EncryptionType", "AudioFeatures", "PacketTrailerFeatures" }, null, null, null, null),
9194
new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.OwnedTrackPublication), global::LiveKit.Proto.OwnedTrackPublication.Parser, new[]{ "Handle", "Info" }, null, null, null, null),
9295
new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.TrackInfo), global::LiveKit.Proto.TrackInfo.Parser, new[]{ "Sid", "Name", "Kind", "StreamState", "Muted", "Remote" }, null, null, null, null),
9396
new pbr::GeneratedClrTypeInfo(typeof(global::LiveKit.Proto.OwnedTrack), global::LiveKit.Proto.OwnedTrack.Parser, new[]{ "Handle", "Info" }, null, null, null, null),
@@ -137,6 +140,11 @@ public enum AudioTrackFeature {
137140
[pbr::OriginalName("TF_PRECONNECT_BUFFER")] TfPreconnectBuffer = 6,
138141
}
139142

143+
public enum PacketTrailerFeature {
144+
[pbr::OriginalName("PTF_USER_TIMESTAMP")] PtfUserTimestamp = 0,
145+
[pbr::OriginalName("PTF_FRAME_ID")] PtfFrameId = 1,
146+
}
147+
140148
#endregion
141149

142150
#region Messages
@@ -2003,6 +2011,7 @@ public TrackPublicationInfo(TrackPublicationInfo other) : this() {
20032011
remote_ = other.remote_;
20042012
encryptionType_ = other.encryptionType_;
20052013
audioFeatures_ = other.audioFeatures_.Clone();
2014+
packetTrailerFeatures_ = other.packetTrailerFeatures_.Clone();
20062015
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
20072016
}
20082017

@@ -2317,6 +2326,17 @@ public void ClearEncryptionType() {
23172326
get { return audioFeatures_; }
23182327
}
23192328

2329+
/// <summary>Field number for the "packet_trailer_features" field.</summary>
2330+
public const int PacketTrailerFeaturesFieldNumber = 13;
2331+
private static readonly pb::FieldCodec<global::LiveKit.Proto.PacketTrailerFeature> _repeated_packetTrailerFeatures_codec
2332+
= pb::FieldCodec.ForEnum(104, x => (int) x, x => (global::LiveKit.Proto.PacketTrailerFeature) x);
2333+
private readonly pbc::RepeatedField<global::LiveKit.Proto.PacketTrailerFeature> packetTrailerFeatures_ = new pbc::RepeatedField<global::LiveKit.Proto.PacketTrailerFeature>();
2334+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2335+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2336+
public pbc::RepeatedField<global::LiveKit.Proto.PacketTrailerFeature> PacketTrailerFeatures {
2337+
get { return packetTrailerFeatures_; }
2338+
}
2339+
23202340
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
23212341
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
23222342
public override bool Equals(object other) {
@@ -2344,6 +2364,7 @@ public bool Equals(TrackPublicationInfo other) {
23442364
if (Remote != other.Remote) return false;
23452365
if (EncryptionType != other.EncryptionType) return false;
23462366
if(!audioFeatures_.Equals(other.audioFeatures_)) return false;
2367+
if(!packetTrailerFeatures_.Equals(other.packetTrailerFeatures_)) return false;
23472368
return Equals(_unknownFields, other._unknownFields);
23482369
}
23492370

@@ -2363,6 +2384,7 @@ public override int GetHashCode() {
23632384
if (HasRemote) hash ^= Remote.GetHashCode();
23642385
if (HasEncryptionType) hash ^= EncryptionType.GetHashCode();
23652386
hash ^= audioFeatures_.GetHashCode();
2387+
hash ^= packetTrailerFeatures_.GetHashCode();
23662388
if (_unknownFields != null) {
23672389
hash ^= _unknownFields.GetHashCode();
23682390
}
@@ -2426,6 +2448,7 @@ public void WriteTo(pb::CodedOutputStream output) {
24262448
output.WriteEnum((int) EncryptionType);
24272449
}
24282450
audioFeatures_.WriteTo(output, _repeated_audioFeatures_codec);
2451+
packetTrailerFeatures_.WriteTo(output, _repeated_packetTrailerFeatures_codec);
24292452
if (_unknownFields != null) {
24302453
_unknownFields.WriteTo(output);
24312454
}
@@ -2481,6 +2504,7 @@ public void WriteTo(pb::CodedOutputStream output) {
24812504
output.WriteEnum((int) EncryptionType);
24822505
}
24832506
audioFeatures_.WriteTo(ref output, _repeated_audioFeatures_codec);
2507+
packetTrailerFeatures_.WriteTo(ref output, _repeated_packetTrailerFeatures_codec);
24842508
if (_unknownFields != null) {
24852509
_unknownFields.WriteTo(ref output);
24862510
}
@@ -2525,6 +2549,7 @@ public int CalculateSize() {
25252549
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) EncryptionType);
25262550
}
25272551
size += audioFeatures_.CalculateSize(_repeated_audioFeatures_codec);
2552+
size += packetTrailerFeatures_.CalculateSize(_repeated_packetTrailerFeatures_codec);
25282553
if (_unknownFields != null) {
25292554
size += _unknownFields.CalculateSize();
25302555
}
@@ -2571,6 +2596,7 @@ public void MergeFrom(TrackPublicationInfo other) {
25712596
EncryptionType = other.EncryptionType;
25722597
}
25732598
audioFeatures_.Add(other.audioFeatures_);
2599+
packetTrailerFeatures_.Add(other.packetTrailerFeatures_);
25742600
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
25752601
}
25762602

@@ -2635,6 +2661,11 @@ public void MergeFrom(pb::CodedInputStream input) {
26352661
audioFeatures_.AddEntriesFrom(input, _repeated_audioFeatures_codec);
26362662
break;
26372663
}
2664+
case 106:
2665+
case 104: {
2666+
packetTrailerFeatures_.AddEntriesFrom(input, _repeated_packetTrailerFeatures_codec);
2667+
break;
2668+
}
26382669
}
26392670
}
26402671
#endif
@@ -2699,6 +2730,11 @@ public void MergeFrom(pb::CodedInputStream input) {
26992730
audioFeatures_.AddEntriesFrom(ref input, _repeated_audioFeatures_codec);
27002731
break;
27012732
}
2733+
case 106:
2734+
case 104: {
2735+
packetTrailerFeatures_.AddEntriesFrom(ref input, _repeated_packetTrailerFeatures_codec);
2736+
break;
2737+
}
27022738
}
27032739
}
27042740
}

0 commit comments

Comments
 (0)