trival changes
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
12ab0a433a
commit
226d200143
@ -965,12 +965,10 @@ impl<T: InvokeUiSession> Remote<T> {
|
|||||||
// on connection established client
|
// on connection established client
|
||||||
#[cfg(all(feature = "flutter", feature = "plugin_framework"))]
|
#[cfg(all(feature = "flutter", feature = "plugin_framework"))]
|
||||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||||
{
|
crate::plugin::handle_listen_event(
|
||||||
crate::plugin::handle_listen_event(
|
crate::plugin::EVENT_ON_CONN_CLIENT.to_owned(),
|
||||||
crate::plugin::EVENT_ON_CONN_CLIENT.to_owned(),
|
self.handler.id.clone(),
|
||||||
self.handler.id.clone(),
|
)
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if self.handler.is_file_transfer() {
|
if self.handler.is_file_transfer() {
|
||||||
|
@ -565,12 +565,10 @@ impl Connection {
|
|||||||
}
|
}
|
||||||
#[cfg(all(feature = "flutter", feature = "plugin_framework"))]
|
#[cfg(all(feature = "flutter", feature = "plugin_framework"))]
|
||||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||||
{
|
crate::plugin::handle_listen_event(
|
||||||
crate::plugin::handle_listen_event(
|
crate::plugin::EVENT_ON_CONN_CLOSE_SERVER.to_owned(),
|
||||||
crate::plugin::EVENT_ON_CONN_CLOSE_SERVER.to_owned(),
|
conn.lr.my_id.clone(),
|
||||||
conn.lr.my_id.clone(),
|
);
|
||||||
);
|
|
||||||
}
|
|
||||||
video_service::notify_video_frame_fetched(id, None);
|
video_service::notify_video_frame_fetched(id, None);
|
||||||
scrap::codec::Encoder::update(id, scrap::codec::EncodingUpdate::Remove);
|
scrap::codec::Encoder::update(id, scrap::codec::EncodingUpdate::Remove);
|
||||||
video_service::VIDEO_QOS.lock().unwrap().reset();
|
video_service::VIDEO_QOS.lock().unwrap().reset();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user