@@ -567,12 +567,6 @@ pub struct DataPacket {
567
567
/// identities of participants who will receive the message (sent to all by default)
568
568
#[ prost( string, repeated, tag="5" ) ]
569
569
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 ,
576
570
#[ prost( oneof="data_packet::Value" , tags="2, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15" ) ]
577
571
pub value : :: core:: option:: Option < data_packet:: Value > ,
578
572
}
@@ -1639,8 +1633,6 @@ pub enum DisconnectReason {
1639
1633
SipTrunkFailure = 13 ,
1640
1634
/// server timed out a participant session
1641
1635
ConnectionTimeout = 14 ,
1642
- /// media stream failure or media timeout
1643
- MediaFailure = 15 ,
1644
1636
}
1645
1637
impl DisconnectReason {
1646
1638
/// String value of the enum field names used in the ProtoBuf definition.
@@ -1664,7 +1656,6 @@ impl DisconnectReason {
1664
1656
DisconnectReason :: UserRejected => "USER_REJECTED" ,
1665
1657
DisconnectReason :: SipTrunkFailure => "SIP_TRUNK_FAILURE" ,
1666
1658
DisconnectReason :: ConnectionTimeout => "CONNECTION_TIMEOUT" ,
1667
- DisconnectReason :: MediaFailure => "MEDIA_FAILURE" ,
1668
1659
}
1669
1660
}
1670
1661
/// Creates an enum from field names used in the ProtoBuf definition.
@@ -1685,7 +1676,6 @@ impl DisconnectReason {
1685
1676
"USER_REJECTED" => Some ( Self :: UserRejected ) ,
1686
1677
"SIP_TRUNK_FAILURE" => Some ( Self :: SipTrunkFailure ) ,
1687
1678
"CONNECTION_TIMEOUT" => Some ( Self :: ConnectionTimeout ) ,
1688
- "MEDIA_FAILURE" => Some ( Self :: MediaFailure ) ,
1689
1679
_ => None ,
1690
1680
}
1691
1681
}
@@ -2930,7 +2920,7 @@ pub mod signal_request {
2930
2920
#[ allow( clippy:: derive_partial_eq_without_eq) ]
2931
2921
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
2932
2922
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" ) ]
2934
2924
pub message : :: core:: option:: Option < signal_response:: Message > ,
2935
2925
}
2936
2926
/// Nested message and enum types in `SignalResponse`.
@@ -3007,9 +2997,6 @@ pub mod signal_response {
3007
2997
/// notify to the publisher when a published track has been subscribed for the first time
3008
2998
#[ prost( message, tag="23" ) ]
3009
2999
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 ) ,
3013
3000
}
3014
3001
}
3015
3002
#[ allow( clippy:: derive_partial_eq_without_eq) ]
@@ -3137,11 +3124,6 @@ pub struct ReconnectResponse {
3137
3124
pub ice_servers : :: prost:: alloc:: vec:: Vec < IceServer > ,
3138
3125
#[ prost( message, optional, tag="2" ) ]
3139
3126
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 ,
3145
3127
}
3146
3128
#[ allow( clippy:: derive_partial_eq_without_eq) ]
3147
3129
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
@@ -3165,8 +3147,6 @@ pub struct SessionDescription {
3165
3147
pub r#type : :: prost:: alloc:: string:: String ,
3166
3148
#[ prost( string, tag="2" ) ]
3167
3149
pub sdp : :: prost:: alloc:: string:: String ,
3168
- #[ prost( uint32, tag="3" ) ]
3169
- pub id : u32 ,
3170
3150
}
3171
3151
#[ allow( clippy:: derive_partial_eq_without_eq) ]
3172
3152
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
@@ -3380,7 +3360,6 @@ pub struct SubscribedCodec {
3380
3360
pub struct SubscribedQualityUpdate {
3381
3361
#[ prost( string, tag="1" ) ]
3382
3362
pub track_sid : :: prost:: alloc:: string:: String ,
3383
- #[ deprecated]
3384
3363
#[ prost( message, repeated, tag="2" ) ]
3385
3364
pub subscribed_qualities : :: prost:: alloc:: vec:: Vec < SubscribedQuality > ,
3386
3365
#[ prost( message, repeated, tag="3" ) ]
@@ -3419,20 +3398,6 @@ pub struct SubscriptionPermissionUpdate {
3419
3398
}
3420
3399
#[ allow( clippy:: derive_partial_eq_without_eq) ]
3421
3400
#[ 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 ) ]
3436
3401
pub struct SyncState {
3437
3402
/// last subscribe answer before reconnecting
3438
3403
#[ prost( message, optional, tag="1" ) ]
@@ -3448,16 +3413,6 @@ pub struct SyncState {
3448
3413
pub offer : :: core:: option:: Option < SessionDescription > ,
3449
3414
#[ prost( string, repeated, tag="6" ) ]
3450
3415
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 ,
3461
3416
}
3462
3417
#[ allow( clippy:: derive_partial_eq_without_eq) ]
3463
3418
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
@@ -3857,15 +3812,12 @@ pub struct AvailabilityResponse {
3857
3812
pub available : bool ,
3858
3813
#[ prost( bool , tag="3" ) ]
3859
3814
pub supports_resume : bool ,
3860
- #[ prost( bool , tag="8" ) ]
3861
- pub terminate : bool ,
3862
3815
#[ prost( string, tag="4" ) ]
3863
3816
pub participant_name : :: prost:: alloc:: string:: String ,
3864
3817
#[ prost( string, tag="5" ) ]
3865
3818
pub participant_identity : :: prost:: alloc:: string:: String ,
3866
3819
#[ prost( string, tag="6" ) ]
3867
3820
pub participant_metadata : :: prost:: alloc:: string:: String ,
3868
- /// NEXT_ID: 9
3869
3821
#[ prost( map="string, string" , tag="7" ) ]
3870
3822
pub participant_attributes : :: std:: collections:: HashMap < :: prost:: alloc:: string:: String , :: prost:: alloc:: string:: String > ,
3871
3823
}
@@ -4325,23 +4277,6 @@ pub struct ForwardParticipantResponse {
4325
4277
}
4326
4278
#[ allow( clippy:: derive_partial_eq_without_eq) ]
4327
4279
#[ 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 ) ]
4345
4280
pub struct CreateIngressRequest {
4346
4281
#[ prost( enumeration="IngressInput" , tag="1" ) ]
4347
4282
pub input_type : i32 ,
@@ -5049,9 +4984,6 @@ pub struct SipOutboundTrunkInfo {
5049
4984
/// Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix.
5050
4985
#[ prost( string, tag="4" ) ]
5051
4986
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 ,
5055
4987
/// SIP Transport used for outbound call.
5056
4988
#[ prost( enumeration="SipTransport" , tag="5" ) ]
5057
4989
pub transport : i32 ,
@@ -5094,8 +5026,6 @@ pub struct SipOutboundTrunkUpdate {
5094
5026
pub address : :: core:: option:: Option < :: prost:: alloc:: string:: String > ,
5095
5027
#[ prost( enumeration="SipTransport" , optional, tag="2" ) ]
5096
5028
pub transport : :: core:: option:: Option < i32 > ,
5097
- #[ prost( string, optional, tag="9" ) ]
5098
- pub destination_country : :: core:: option:: Option < :: prost:: alloc:: string:: String > ,
5099
5029
#[ prost( message, optional, tag="3" ) ]
5100
5030
pub numbers : :: core:: option:: Option < ListUpdate > ,
5101
5031
#[ prost( string, optional, tag="4" ) ]
@@ -5397,9 +5327,6 @@ pub struct SipOutboundConfig {
5397
5327
/// SIP server address
5398
5328
#[ prost( string, tag="1" ) ]
5399
5329
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 ,
5403
5330
/// SIP Transport used for outbound call.
5404
5331
#[ prost( enumeration="SipTransport" , tag="2" ) ]
5405
5332
pub transport : i32 ,
@@ -5580,26 +5507,6 @@ pub struct SipCallInfo {
5580
5507
}
5581
5508
#[ allow( clippy:: derive_partial_eq_without_eq) ]
5582
5509
#[ 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 ) ]
5603
5510
pub struct SipUri {
5604
5511
#[ prost( string, tag="1" ) ]
5605
5512
pub user : :: prost:: alloc:: string:: String ,
@@ -5917,35 +5824,6 @@ impl SipCallStatus {
5917
5824
}
5918
5825
#[ derive( Clone , Copy , Debug , PartialEq , Eq , Hash , PartialOrd , Ord , :: prost:: Enumeration ) ]
5919
5826
#[ 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 ) ]
5949
5827
pub enum SipFeature {
5950
5828
None = 0 ,
5951
5829
KrispEnabled = 1 ,
0 commit comments