reconnection wip + simulate scenario + fixed cyclic types
This commit is contained in:
@@ -17,9 +17,13 @@ use crate::proto::participant_info;
|
||||
use thiserror::Error;
|
||||
use tracing::{debug, error, instrument, trace_span, Level};
|
||||
|
||||
use crate::rtc_engine::{EngineError, EngineEvent, EngineEvents, RTCEngine};
|
||||
use crate::rtc_engine::{
|
||||
EngineError, EngineEvent, EngineEvents, EngineResult, RTCEngine,
|
||||
};
|
||||
use crate::signal_client::SignalOptions;
|
||||
|
||||
pub use crate::rtc_engine::SimulateScenario;
|
||||
|
||||
pub mod id;
|
||||
pub mod participant;
|
||||
pub mod publication;
|
||||
@@ -375,6 +379,10 @@ impl RoomHandle {
|
||||
pub fn local_participant(&self) -> Arc<LocalParticipant> {
|
||||
self.inner.local_participant.clone()
|
||||
}
|
||||
|
||||
pub async fn simulate_scenario(&self, scenario: SimulateScenario) -> EngineResult<()> {
|
||||
self.inner.rtc_engine.simulate_scenario(scenario).await
|
||||
}
|
||||
}
|
||||
|
||||
fn unpack_stream_id(stream_id: &str) -> Option<(&str, &str)> {
|
||||
|
||||
Reference in New Issue
Block a user