Skip to content

Commit c6a7ccc

Browse files
generated protobuf
1 parent d4d5428 commit c6a7ccc

File tree

2 files changed

+91
-1183
lines changed

2 files changed

+91
-1183
lines changed

livekit-protocol/src/livekit.rs

Lines changed: 1 addition & 123 deletions
Original file line numberDiff line numberDiff line change
@@ -567,12 +567,6 @@ pub struct DataPacket {
567567
/// identities of participants who will receive the message (sent to all by default)
568568
#[prost(string, repeated, tag="5")]
569569
pub destination_identities: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
570-
/// sequence number of reliable packet
571-
#[prost(uint32, tag="16")]
572-
pub sequence: u32,
573-
/// sid of the user that sent the message
574-
#[prost(string, tag="17")]
575-
pub participant_sid: ::prost::alloc::string::String,
576570
#[prost(oneof="data_packet::Value", tags="2, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15")]
577571
pub value: ::core::option::Option<data_packet::Value>,
578572
}
@@ -1639,8 +1633,6 @@ pub enum DisconnectReason {
16391633
SipTrunkFailure = 13,
16401634
/// server timed out a participant session
16411635
ConnectionTimeout = 14,
1642-
/// media stream failure or media timeout
1643-
MediaFailure = 15,
16441636
}
16451637
impl DisconnectReason {
16461638
/// String value of the enum field names used in the ProtoBuf definition.
@@ -1664,7 +1656,6 @@ impl DisconnectReason {
16641656
DisconnectReason::UserRejected => "USER_REJECTED",
16651657
DisconnectReason::SipTrunkFailure => "SIP_TRUNK_FAILURE",
16661658
DisconnectReason::ConnectionTimeout => "CONNECTION_TIMEOUT",
1667-
DisconnectReason::MediaFailure => "MEDIA_FAILURE",
16681659
}
16691660
}
16701661
/// Creates an enum from field names used in the ProtoBuf definition.
@@ -1685,7 +1676,6 @@ impl DisconnectReason {
16851676
"USER_REJECTED" => Some(Self::UserRejected),
16861677
"SIP_TRUNK_FAILURE" => Some(Self::SipTrunkFailure),
16871678
"CONNECTION_TIMEOUT" => Some(Self::ConnectionTimeout),
1688-
"MEDIA_FAILURE" => Some(Self::MediaFailure),
16891679
_ => None,
16901680
}
16911681
}
@@ -2930,7 +2920,7 @@ pub mod signal_request {
29302920
#[allow(clippy::derive_partial_eq_without_eq)]
29312921
#[derive(Clone, PartialEq, ::prost::Message)]
29322922
pub struct SignalResponse {
2933-
#[prost(oneof="signal_response::Message", tags="1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24")]
2923+
#[prost(oneof="signal_response::Message", tags="1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23")]
29342924
pub message: ::core::option::Option<signal_response::Message>,
29352925
}
29362926
/// Nested message and enum types in `SignalResponse`.
@@ -3007,9 +2997,6 @@ pub mod signal_response {
30072997
/// notify to the publisher when a published track has been subscribed for the first time
30082998
#[prost(message, tag="23")]
30092999
TrackSubscribed(super::TrackSubscribed),
3010-
/// notify to the participant when they have been moved to a new room
3011-
#[prost(message, tag="24")]
3012-
RoomMoved(super::RoomMovedResponse),
30133000
}
30143001
}
30153002
#[allow(clippy::derive_partial_eq_without_eq)]
@@ -3137,11 +3124,6 @@ pub struct ReconnectResponse {
31373124
pub ice_servers: ::prost::alloc::vec::Vec<IceServer>,
31383125
#[prost(message, optional, tag="2")]
31393126
pub client_configuration: ::core::option::Option<ClientConfiguration>,
3140-
#[prost(message, optional, tag="3")]
3141-
pub server_info: ::core::option::Option<ServerInfo>,
3142-
/// last sequence number of reliable message received before resuming
3143-
#[prost(uint32, tag="4")]
3144-
pub last_message_seq: u32,
31453127
}
31463128
#[allow(clippy::derive_partial_eq_without_eq)]
31473129
#[derive(Clone, PartialEq, ::prost::Message)]
@@ -3165,8 +3147,6 @@ pub struct SessionDescription {
31653147
pub r#type: ::prost::alloc::string::String,
31663148
#[prost(string, tag="2")]
31673149
pub sdp: ::prost::alloc::string::String,
3168-
#[prost(uint32, tag="3")]
3169-
pub id: u32,
31703150
}
31713151
#[allow(clippy::derive_partial_eq_without_eq)]
31723152
#[derive(Clone, PartialEq, ::prost::Message)]
@@ -3380,7 +3360,6 @@ pub struct SubscribedCodec {
33803360
pub struct SubscribedQualityUpdate {
33813361
#[prost(string, tag="1")]
33823362
pub track_sid: ::prost::alloc::string::String,
3383-
#[deprecated]
33843363
#[prost(message, repeated, tag="2")]
33853364
pub subscribed_qualities: ::prost::alloc::vec::Vec<SubscribedQuality>,
33863365
#[prost(message, repeated, tag="3")]
@@ -3419,20 +3398,6 @@ pub struct SubscriptionPermissionUpdate {
34193398
}
34203399
#[allow(clippy::derive_partial_eq_without_eq)]
34213400
#[derive(Clone, PartialEq, ::prost::Message)]
3422-
pub struct RoomMovedResponse {
3423-
/// information about the new room
3424-
#[prost(message, optional, tag="1")]
3425-
pub room: ::core::option::Option<Room>,
3426-
/// new reconnect token that can be used to reconnect to the new room
3427-
#[prost(string, tag="2")]
3428-
pub token: ::prost::alloc::string::String,
3429-
#[prost(message, optional, tag="3")]
3430-
pub participant: ::core::option::Option<ParticipantInfo>,
3431-
#[prost(message, repeated, tag="4")]
3432-
pub other_participants: ::prost::alloc::vec::Vec<ParticipantInfo>,
3433-
}
3434-
#[allow(clippy::derive_partial_eq_without_eq)]
3435-
#[derive(Clone, PartialEq, ::prost::Message)]
34363401
pub struct SyncState {
34373402
/// last subscribe answer before reconnecting
34383403
#[prost(message, optional, tag="1")]
@@ -3448,16 +3413,6 @@ pub struct SyncState {
34483413
pub offer: ::core::option::Option<SessionDescription>,
34493414
#[prost(string, repeated, tag="6")]
34503415
pub track_sids_disabled: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
3451-
#[prost(message, repeated, tag="7")]
3452-
pub datachannel_receive_states: ::prost::alloc::vec::Vec<DataChannelReceiveState>,
3453-
}
3454-
#[allow(clippy::derive_partial_eq_without_eq)]
3455-
#[derive(Clone, PartialEq, ::prost::Message)]
3456-
pub struct DataChannelReceiveState {
3457-
#[prost(string, tag="1")]
3458-
pub publisher_sid: ::prost::alloc::string::String,
3459-
#[prost(uint32, tag="2")]
3460-
pub last_seq: u32,
34613416
}
34623417
#[allow(clippy::derive_partial_eq_without_eq)]
34633418
#[derive(Clone, PartialEq, ::prost::Message)]
@@ -3857,15 +3812,12 @@ pub struct AvailabilityResponse {
38573812
pub available: bool,
38583813
#[prost(bool, tag="3")]
38593814
pub supports_resume: bool,
3860-
#[prost(bool, tag="8")]
3861-
pub terminate: bool,
38623815
#[prost(string, tag="4")]
38633816
pub participant_name: ::prost::alloc::string::String,
38643817
#[prost(string, tag="5")]
38653818
pub participant_identity: ::prost::alloc::string::String,
38663819
#[prost(string, tag="6")]
38673820
pub participant_metadata: ::prost::alloc::string::String,
3868-
/// NEXT_ID: 9
38693821
#[prost(map="string, string", tag="7")]
38703822
pub participant_attributes: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
38713823
}
@@ -4325,23 +4277,6 @@ pub struct ForwardParticipantResponse {
43254277
}
43264278
#[allow(clippy::derive_partial_eq_without_eq)]
43274279
#[derive(Clone, PartialEq, ::prost::Message)]
4328-
pub struct MoveParticipantRequest {
4329-
/// room to move participant from
4330-
#[prost(string, tag="1")]
4331-
pub room: ::prost::alloc::string::String,
4332-
/// identity of the participant to move to
4333-
#[prost(string, tag="2")]
4334-
pub identity: ::prost::alloc::string::String,
4335-
/// room to move participant to
4336-
#[prost(string, tag="3")]
4337-
pub destination_room: ::prost::alloc::string::String,
4338-
}
4339-
#[allow(clippy::derive_partial_eq_without_eq)]
4340-
#[derive(Clone, PartialEq, ::prost::Message)]
4341-
pub struct MoveParticipantResponse {
4342-
}
4343-
#[allow(clippy::derive_partial_eq_without_eq)]
4344-
#[derive(Clone, PartialEq, ::prost::Message)]
43454280
pub struct CreateIngressRequest {
43464281
#[prost(enumeration="IngressInput", tag="1")]
43474282
pub input_type: i32,
@@ -5049,9 +4984,6 @@ pub struct SipOutboundTrunkInfo {
50494984
/// Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix.
50504985
#[prost(string, tag="4")]
50514986
pub address: ::prost::alloc::string::String,
5052-
/// country where the call terminates as ISO 3166-1 alpha-2 (<https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2>). This will be used by the livekit infrastructure to route calls.
5053-
#[prost(string, tag="14")]
5054-
pub destination_country: ::prost::alloc::string::String,
50554987
/// SIP Transport used for outbound call.
50564988
#[prost(enumeration="SipTransport", tag="5")]
50574989
pub transport: i32,
@@ -5094,8 +5026,6 @@ pub struct SipOutboundTrunkUpdate {
50945026
pub address: ::core::option::Option<::prost::alloc::string::String>,
50955027
#[prost(enumeration="SipTransport", optional, tag="2")]
50965028
pub transport: ::core::option::Option<i32>,
5097-
#[prost(string, optional, tag="9")]
5098-
pub destination_country: ::core::option::Option<::prost::alloc::string::String>,
50995029
#[prost(message, optional, tag="3")]
51005030
pub numbers: ::core::option::Option<ListUpdate>,
51015031
#[prost(string, optional, tag="4")]
@@ -5397,9 +5327,6 @@ pub struct SipOutboundConfig {
53975327
/// SIP server address
53985328
#[prost(string, tag="1")]
53995329
pub hostname: ::prost::alloc::string::String,
5400-
/// country where the call terminates as ISO 3166-1 alpha-2 (<https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2>). This will be used by the livekit infrastructure to route calls.
5401-
#[prost(string, tag="7")]
5402-
pub destination_country: ::prost::alloc::string::String,
54035330
/// SIP Transport used for outbound call.
54045331
#[prost(enumeration="SipTransport", tag="2")]
54055332
pub transport: i32,
@@ -5580,26 +5507,6 @@ pub struct SipCallInfo {
55805507
}
55815508
#[allow(clippy::derive_partial_eq_without_eq)]
55825509
#[derive(Clone, PartialEq, ::prost::Message)]
5583-
pub struct SipTransferInfo {
5584-
#[prost(string, tag="1")]
5585-
pub transfer_id: ::prost::alloc::string::String,
5586-
#[prost(string, tag="2")]
5587-
pub call_id: ::prost::alloc::string::String,
5588-
#[prost(string, tag="3")]
5589-
pub transfer_to: ::prost::alloc::string::String,
5590-
#[prost(int64, tag="4")]
5591-
pub transfer_initiated_at_ns: i64,
5592-
#[prost(int64, tag="5")]
5593-
pub transfer_completed_at_ns: i64,
5594-
#[prost(enumeration="SipTransferStatus", tag="6")]
5595-
pub transfer_status: i32,
5596-
#[prost(string, tag="7")]
5597-
pub error: ::prost::alloc::string::String,
5598-
#[prost(message, optional, tag="8")]
5599-
pub transfer_status_code: ::core::option::Option<SipStatus>,
5600-
}
5601-
#[allow(clippy::derive_partial_eq_without_eq)]
5602-
#[derive(Clone, PartialEq, ::prost::Message)]
56035510
pub struct SipUri {
56045511
#[prost(string, tag="1")]
56055512
pub user: ::prost::alloc::string::String,
@@ -5917,35 +5824,6 @@ impl SipCallStatus {
59175824
}
59185825
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
59195826
#[repr(i32)]
5920-
pub enum SipTransferStatus {
5921-
StsTransferOngoing = 0,
5922-
StsTransferFailed = 1,
5923-
StsTransferSuccessful = 2,
5924-
}
5925-
impl SipTransferStatus {
5926-
/// String value of the enum field names used in the ProtoBuf definition.
5927-
///
5928-
/// The values are not transformed in any way and thus are considered stable
5929-
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
5930-
pub fn as_str_name(&self) -> &'static str {
5931-
match self {
5932-
SipTransferStatus::StsTransferOngoing => "STS_TRANSFER_ONGOING",
5933-
SipTransferStatus::StsTransferFailed => "STS_TRANSFER_FAILED",
5934-
SipTransferStatus::StsTransferSuccessful => "STS_TRANSFER_SUCCESSFUL",
5935-
}
5936-
}
5937-
/// Creates an enum from field names used in the ProtoBuf definition.
5938-
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
5939-
match value {
5940-
"STS_TRANSFER_ONGOING" => Some(Self::StsTransferOngoing),
5941-
"STS_TRANSFER_FAILED" => Some(Self::StsTransferFailed),
5942-
"STS_TRANSFER_SUCCESSFUL" => Some(Self::StsTransferSuccessful),
5943-
_ => None,
5944-
}
5945-
}
5946-
}
5947-
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
5948-
#[repr(i32)]
59495827
pub enum SipFeature {
59505828
None = 0,
59515829
KrispEnabled = 1,

0 commit comments

Comments
 (0)