@@ -2215,7 +2215,7 @@ pub struct OwnedBuffer {
2215
2215
pub struct RoomEvent {
2216
2216
#[ prost( uint64, tag="1" ) ]
2217
2217
pub room_handle : u64 ,
2218
- #[ prost( oneof="room_event::Message" , tags="2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 22, 23, 24, 25" ) ]
2218
+ #[ prost( oneof="room_event::Message" , tags="2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, 21, 22, 23, 24, 25, 26 " ) ]
2219
2219
pub message : :: core:: option:: Option < room_event:: Message > ,
2220
2220
}
2221
2221
/// Nested message and enum types in `RoomEvent`.
@@ -2255,8 +2255,6 @@ pub mod room_event {
2255
2255
ParticipantNameChanged ( super :: ParticipantNameChanged ) ,
2256
2256
#[ prost( message, tag="17" ) ]
2257
2257
ConnectionQualityChanged ( super :: ConnectionQualityChanged ) ,
2258
- #[ prost( message, tag="18" ) ]
2259
- DataReceived ( super :: DataReceived ) ,
2260
2258
#[ prost( message, tag="19" ) ]
2261
2259
ConnectionStateChanged ( super :: ConnectionStateChanged ) ,
2262
2260
/// Connected connected = 20;
@@ -2271,6 +2269,8 @@ pub mod room_event {
2271
2269
/// The stream of room events has ended
2272
2270
#[ prost( message, tag="25" ) ]
2273
2271
Eos ( super :: RoomEos ) ,
2272
+ #[ prost( message, tag="26" ) ]
2273
+ DataPacketReceived ( super :: DataPacketReceived ) ,
2274
2274
}
2275
2275
}
2276
2276
#[ allow( clippy:: derive_partial_eq_without_eq) ]
@@ -2425,19 +2425,48 @@ pub struct ConnectionQualityChanged {
2425
2425
}
2426
2426
#[ allow( clippy:: derive_partial_eq_without_eq) ]
2427
2427
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
2428
- pub struct DataReceived {
2428
+ pub struct UserPacket {
2429
2429
#[ prost( message, optional, tag="1" ) ]
2430
2430
pub data : :: core:: option:: Option < OwnedBuffer > ,
2431
- /// Can be empty if the data is sent a server SDK
2432
2431
#[ prost( string, optional, tag="2" ) ]
2433
- pub participant_sid : :: core:: option:: Option < :: prost:: alloc:: string:: String > ,
2434
- #[ prost( enumeration="DataPacketKind" , tag="3" ) ]
2435
- pub kind : i32 ,
2436
- #[ prost( string, optional, tag="4" ) ]
2437
2432
pub topic : :: core:: option:: Option < :: prost:: alloc:: string:: String > ,
2438
2433
}
2439
2434
#[ allow( clippy:: derive_partial_eq_without_eq) ]
2440
2435
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
2436
+ pub struct SipDtmf {
2437
+ #[ prost( uint32, tag="1" ) ]
2438
+ pub code : u32 ,
2439
+ #[ prost( string, optional, tag="2" ) ]
2440
+ pub digit : :: core:: option:: Option < :: prost:: alloc:: string:: String > ,
2441
+ }
2442
+ #[ allow( clippy:: derive_partial_eq_without_eq) ]
2443
+ #[ derive( Clone , PartialEq , :: prost:: Message ) ]
2444
+ pub struct DataPacketReceived {
2445
+ #[ prost( enumeration="DataPacketKind" , tag="1" ) ]
2446
+ pub kind : i32 ,
2447
+ /// Can be empty if the data is sent a server SDK
2448
+ #[ prost( string, tag="2" ) ]
2449
+ pub participant_identity : :: prost:: alloc:: string:: String ,
2450
+ /// Can be empty if the data is sent a server SDK
2451
+ #[ deprecated]
2452
+ #[ prost( string, optional, tag="3" ) ]
2453
+ pub participant_sid : :: core:: option:: Option < :: prost:: alloc:: string:: String > ,
2454
+ #[ prost( oneof="data_packet_received::Value" , tags="4, 5" ) ]
2455
+ pub value : :: core:: option:: Option < data_packet_received:: Value > ,
2456
+ }
2457
+ /// Nested message and enum types in `DataPacketReceived`.
2458
+ pub mod data_packet_received {
2459
+ #[ allow( clippy:: derive_partial_eq_without_eq) ]
2460
+ #[ derive( Clone , PartialEq , :: prost:: Oneof ) ]
2461
+ pub enum Value {
2462
+ #[ prost( message, tag="4" ) ]
2463
+ User ( super :: UserPacket ) ,
2464
+ #[ prost( message, tag="5" ) ]
2465
+ SipDtmf ( super :: SipDtmf ) ,
2466
+ }
2467
+ }
2468
+ #[ allow( clippy:: derive_partial_eq_without_eq) ]
2469
+ #[ derive( Clone , PartialEq , :: prost:: Message ) ]
2441
2470
pub struct ConnectionStateChanged {
2442
2471
#[ prost( enumeration="ConnectionState" , tag="1" ) ]
2443
2472
pub state : i32 ,
0 commit comments