Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d907943ae5 | |||
| 4bfb1244fc | |||
| e31c3421a6 | |||
| de8422966a | |||
| a87e9578eb | |||
| b851bc7994 |
20
changelog.md
20
changelog.md
@@ -1,5 +1,25 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2026-03-17 - 4.8.1 - fix(remoteingress-core)
|
||||||
|
remove tunnel writer timeouts from edge and hub buffered writes
|
||||||
|
|
||||||
|
- Drops the 30 second timeout wrapper around writer.write_all and writer.flush in both edge and hub tunnel writers.
|
||||||
|
- Updates error logging to report write failures without referring to stalled writes.
|
||||||
|
|
||||||
|
## 2026-03-17 - 4.8.0 - feat(events)
|
||||||
|
include disconnect reasons in edge and hub management events
|
||||||
|
|
||||||
|
- Add reason fields to tunnelDisconnected and edgeDisconnected events emitted from the Rust core and binary bridge
|
||||||
|
- Propagate specific disconnect causes such as EOF, liveness timeout, writer failure, handshake failure, and hub cancellation
|
||||||
|
- Update TypeScript edge and hub classes to log and forward disconnect reason data
|
||||||
|
- Extend serialization tests to cover the new reason fields
|
||||||
|
|
||||||
|
## 2026-03-17 - 4.7.2 - fix(remoteingress-core)
|
||||||
|
add tunnel write timeouts and scale initial stream windows by active stream count
|
||||||
|
|
||||||
|
- Wrap tunnel frame writes and flushes in a 30-second timeout on both edge and hub to detect stalled writers and trigger faster reconnect or cleanup.
|
||||||
|
- Compute each stream's initial send window from the current active stream count instead of using a fixed window to keep total in-flight data within the 32MB budget.
|
||||||
|
|
||||||
## 2026-03-17 - 4.7.1 - fix(remoteingress-core)
|
## 2026-03-17 - 4.7.1 - fix(remoteingress-core)
|
||||||
improve tunnel failure detection and reconnect handling
|
improve tunnel failure detection and reconnect handling
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@serve.zone/remoteingress",
|
"name": "@serve.zone/remoteingress",
|
||||||
"version": "4.7.1",
|
"version": "4.8.1",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "Edge ingress tunnel for DcRouter - accepts incoming TCP connections at network edge and tunnels them to DcRouter SmartProxy preserving client IP via PROXY protocol v1.",
|
"description": "Edge ingress tunnel for DcRouter - accepts incoming TCP connections at network edge and tunnels them to DcRouter SmartProxy preserving client IP via PROXY protocol v1.",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
|
|||||||
@@ -173,10 +173,10 @@ async fn handle_request(
|
|||||||
serde_json::json!({ "edgeId": edge_id, "peerAddr": peer_addr }),
|
serde_json::json!({ "edgeId": edge_id, "peerAddr": peer_addr }),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
HubEvent::EdgeDisconnected { edge_id } => {
|
HubEvent::EdgeDisconnected { edge_id, reason } => {
|
||||||
send_event(
|
send_event(
|
||||||
"edgeDisconnected",
|
"edgeDisconnected",
|
||||||
serde_json::json!({ "edgeId": edge_id }),
|
serde_json::json!({ "edgeId": edge_id, "reason": reason }),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
HubEvent::StreamOpened {
|
HubEvent::StreamOpened {
|
||||||
@@ -295,8 +295,8 @@ async fn handle_request(
|
|||||||
EdgeEvent::TunnelConnected => {
|
EdgeEvent::TunnelConnected => {
|
||||||
send_event("tunnelConnected", serde_json::json!({}));
|
send_event("tunnelConnected", serde_json::json!({}));
|
||||||
}
|
}
|
||||||
EdgeEvent::TunnelDisconnected => {
|
EdgeEvent::TunnelDisconnected { reason } => {
|
||||||
send_event("tunnelDisconnected", serde_json::json!({}));
|
send_event("tunnelDisconnected", serde_json::json!({ "reason": reason }));
|
||||||
}
|
}
|
||||||
EdgeEvent::PublicIpDiscovered { ip } => {
|
EdgeEvent::PublicIpDiscovered { ip } => {
|
||||||
send_event(
|
send_event(
|
||||||
|
|||||||
@@ -64,7 +64,8 @@ struct ConfigUpdate {
|
|||||||
#[serde(tag = "type")]
|
#[serde(tag = "type")]
|
||||||
pub enum EdgeEvent {
|
pub enum EdgeEvent {
|
||||||
TunnelConnected,
|
TunnelConnected,
|
||||||
TunnelDisconnected,
|
#[serde(rename_all = "camelCase")]
|
||||||
|
TunnelDisconnected { reason: String },
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
PublicIpDiscovered { ip: String },
|
PublicIpDiscovered { ip: String },
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
@@ -236,10 +237,15 @@ async fn edge_main_loop(
|
|||||||
}
|
}
|
||||||
|
|
||||||
*connected.write().await = false;
|
*connected.write().await = false;
|
||||||
|
// Extract reason for disconnect event
|
||||||
|
let reason = match &result {
|
||||||
|
EdgeLoopResult::Reconnect(r) => r.clone(),
|
||||||
|
EdgeLoopResult::Shutdown => "shutdown".to_string(),
|
||||||
|
};
|
||||||
// Only emit disconnect event on actual disconnection, not on failed reconnects.
|
// Only emit disconnect event on actual disconnection, not on failed reconnects.
|
||||||
// Failed reconnects never reach line 335 (handshake success), so was_connected is false.
|
// Failed reconnects never reach line 335 (handshake success), so was_connected is false.
|
||||||
if was_connected {
|
if was_connected {
|
||||||
let _ = event_tx.try_send(EdgeEvent::TunnelDisconnected);
|
let _ = event_tx.try_send(EdgeEvent::TunnelDisconnected { reason: reason.clone() });
|
||||||
}
|
}
|
||||||
active_streams.store(0, Ordering::Relaxed);
|
active_streams.store(0, Ordering::Relaxed);
|
||||||
// Reset stream ID counter for next connection cycle
|
// Reset stream ID counter for next connection cycle
|
||||||
@@ -248,7 +254,7 @@ async fn edge_main_loop(
|
|||||||
|
|
||||||
match result {
|
match result {
|
||||||
EdgeLoopResult::Shutdown => break,
|
EdgeLoopResult::Shutdown => break,
|
||||||
EdgeLoopResult::Reconnect => {
|
EdgeLoopResult::Reconnect(_) => {
|
||||||
log::info!("Reconnecting in {}ms...", backoff_ms);
|
log::info!("Reconnecting in {}ms...", backoff_ms);
|
||||||
tokio::select! {
|
tokio::select! {
|
||||||
_ = tokio::time::sleep(Duration::from_millis(backoff_ms)) => {}
|
_ = tokio::time::sleep(Duration::from_millis(backoff_ms)) => {}
|
||||||
@@ -263,7 +269,7 @@ async fn edge_main_loop(
|
|||||||
|
|
||||||
enum EdgeLoopResult {
|
enum EdgeLoopResult {
|
||||||
Shutdown,
|
Shutdown,
|
||||||
Reconnect,
|
Reconnect(String), // reason for disconnection
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn connect_to_hub_and_run(
|
async fn connect_to_hub_and_run(
|
||||||
@@ -295,7 +301,7 @@ async fn connect_to_hub_and_run(
|
|||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
log::error!("Failed to connect to hub at {}: {}", addr, e);
|
log::error!("Failed to connect to hub at {}: {}", addr, e);
|
||||||
return EdgeLoopResult::Reconnect;
|
return EdgeLoopResult::Reconnect(format!("tcp_connect_failed: {}", e));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -306,7 +312,7 @@ async fn connect_to_hub_and_run(
|
|||||||
Ok(s) => s,
|
Ok(s) => s,
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
log::error!("TLS handshake failed: {}", e);
|
log::error!("TLS handshake failed: {}", e);
|
||||||
return EdgeLoopResult::Reconnect;
|
return EdgeLoopResult::Reconnect(format!("tls_handshake_failed: {}", e));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -315,7 +321,7 @@ async fn connect_to_hub_and_run(
|
|||||||
// Send auth line
|
// Send auth line
|
||||||
let auth_line = format!("EDGE {} {}\n", config.edge_id, config.secret);
|
let auth_line = format!("EDGE {} {}\n", config.edge_id, config.secret);
|
||||||
if write_half.write_all(auth_line.as_bytes()).await.is_err() {
|
if write_half.write_all(auth_line.as_bytes()).await.is_err() {
|
||||||
return EdgeLoopResult::Reconnect;
|
return EdgeLoopResult::Reconnect("auth_write_failed".to_string());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Read handshake response line from hub (JSON with initial config)
|
// Read handshake response line from hub (JSON with initial config)
|
||||||
@@ -324,12 +330,12 @@ async fn connect_to_hub_and_run(
|
|||||||
match buf_reader.read_line(&mut handshake_line).await {
|
match buf_reader.read_line(&mut handshake_line).await {
|
||||||
Ok(0) => {
|
Ok(0) => {
|
||||||
log::error!("Hub rejected connection (EOF before handshake)");
|
log::error!("Hub rejected connection (EOF before handshake)");
|
||||||
return EdgeLoopResult::Reconnect;
|
return EdgeLoopResult::Reconnect("hub_rejected_eof".to_string());
|
||||||
}
|
}
|
||||||
Ok(_) => {}
|
Ok(_) => {}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
log::error!("Failed to read handshake response: {}", e);
|
log::error!("Failed to read handshake response: {}", e);
|
||||||
return EdgeLoopResult::Reconnect;
|
return EdgeLoopResult::Reconnect(format!("handshake_read_failed: {}", e));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -337,7 +343,7 @@ async fn connect_to_hub_and_run(
|
|||||||
Ok(h) => h,
|
Ok(h) => h,
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
log::error!("Invalid handshake response: {}", e);
|
log::error!("Invalid handshake response: {}", e);
|
||||||
return EdgeLoopResult::Reconnect;
|
return EdgeLoopResult::Reconnect(format!("handshake_invalid: {}", e));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -534,22 +540,22 @@ async fn connect_to_hub_and_run(
|
|||||||
}
|
}
|
||||||
Ok(None) => {
|
Ok(None) => {
|
||||||
log::info!("Hub disconnected (EOF)");
|
log::info!("Hub disconnected (EOF)");
|
||||||
break EdgeLoopResult::Reconnect;
|
break EdgeLoopResult::Reconnect("hub_eof".to_string());
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
log::error!("Hub frame error: {}", e);
|
log::error!("Hub frame error: {}", e);
|
||||||
break EdgeLoopResult::Reconnect;
|
break EdgeLoopResult::Reconnect(format!("hub_frame_error: {}", e));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_ = &mut liveness_deadline => {
|
_ = &mut liveness_deadline => {
|
||||||
log::warn!("Hub liveness timeout (no frames for {}s), reconnecting",
|
log::warn!("Hub liveness timeout (no frames for {}s), reconnecting",
|
||||||
liveness_timeout_dur.as_secs());
|
liveness_timeout_dur.as_secs());
|
||||||
break EdgeLoopResult::Reconnect;
|
break EdgeLoopResult::Reconnect("liveness_timeout".to_string());
|
||||||
}
|
}
|
||||||
_ = &mut writer_dead_rx => {
|
_ = &mut writer_dead_rx => {
|
||||||
log::error!("Tunnel writer died, reconnecting immediately");
|
log::error!("Tunnel writer died, reconnecting immediately");
|
||||||
break EdgeLoopResult::Reconnect;
|
break EdgeLoopResult::Reconnect("writer_dead".to_string());
|
||||||
}
|
}
|
||||||
_ = connection_token.cancelled() => {
|
_ = connection_token.cancelled() => {
|
||||||
log::info!("Connection cancelled");
|
log::info!("Connection cancelled");
|
||||||
@@ -712,7 +718,12 @@ async fn handle_client_connection(
|
|||||||
|
|
||||||
// Set up channel for data coming back from hub (capacity 16 is sufficient with flow control)
|
// Set up channel for data coming back from hub (capacity 16 is sufficient with flow control)
|
||||||
let (back_tx, mut back_rx) = mpsc::channel::<Vec<u8>>(256);
|
let (back_tx, mut back_rx) = mpsc::channel::<Vec<u8>>(256);
|
||||||
let send_window = Arc::new(AtomicU32::new(INITIAL_STREAM_WINDOW));
|
// Adaptive initial window: scale with current stream count to keep total in-flight
|
||||||
|
// data within the 32MB budget. Prevents burst flooding when many streams open.
|
||||||
|
let initial_window = remoteingress_protocol::compute_window_for_stream_count(
|
||||||
|
active_streams.load(Ordering::Relaxed),
|
||||||
|
);
|
||||||
|
let send_window = Arc::new(AtomicU32::new(initial_window));
|
||||||
let window_notify = Arc::new(Notify::new());
|
let window_notify = Arc::new(Notify::new());
|
||||||
{
|
{
|
||||||
let mut writers = client_writers.lock().await;
|
let mut writers = client_writers.lock().await;
|
||||||
@@ -951,9 +962,10 @@ mod tests {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_edge_event_tunnel_disconnected() {
|
fn test_edge_event_tunnel_disconnected() {
|
||||||
let event = EdgeEvent::TunnelDisconnected;
|
let event = EdgeEvent::TunnelDisconnected { reason: "hub_eof".to_string() };
|
||||||
let json = serde_json::to_value(&event).unwrap();
|
let json = serde_json::to_value(&event).unwrap();
|
||||||
assert_eq!(json["type"], "tunnelDisconnected");
|
assert_eq!(json["type"], "tunnelDisconnected");
|
||||||
|
assert_eq!(json["reason"], "hub_eof");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ pub enum HubEvent {
|
|||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
EdgeConnected { edge_id: String, peer_addr: String },
|
EdgeConnected { edge_id: String, peer_addr: String },
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
EdgeDisconnected { edge_id: String },
|
EdgeDisconnected { edge_id: String, reason: String },
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
StreamOpened { edge_id: String, stream_id: u32 },
|
StreamOpened { edge_id: String, stream_id: u32 },
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
@@ -466,6 +466,7 @@ async fn handle_edge_connection(
|
|||||||
|
|
||||||
// Frame reading loop
|
// Frame reading loop
|
||||||
let mut frame_reader = FrameReader::new(buf_reader);
|
let mut frame_reader = FrameReader::new(buf_reader);
|
||||||
|
let mut disconnect_reason = "unknown".to_string();
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
tokio::select! {
|
tokio::select! {
|
||||||
@@ -512,7 +513,12 @@ async fn handle_edge_connection(
|
|||||||
|
|
||||||
// Create channel for data from edge to this stream (capacity 16 is sufficient with flow control)
|
// Create channel for data from edge to this stream (capacity 16 is sufficient with flow control)
|
||||||
let (data_tx, mut data_rx) = mpsc::channel::<Vec<u8>>(256);
|
let (data_tx, mut data_rx) = mpsc::channel::<Vec<u8>>(256);
|
||||||
let send_window = Arc::new(AtomicU32::new(INITIAL_STREAM_WINDOW));
|
// Adaptive initial window: scale with current stream count
|
||||||
|
// to keep total in-flight data within the 32MB budget.
|
||||||
|
let initial_window = compute_window_for_stream_count(
|
||||||
|
edge_stream_count.load(Ordering::Relaxed),
|
||||||
|
);
|
||||||
|
let send_window = Arc::new(AtomicU32::new(initial_window));
|
||||||
let window_notify = Arc::new(Notify::new());
|
let window_notify = Arc::new(Notify::new());
|
||||||
{
|
{
|
||||||
let mut s = streams.lock().await;
|
let mut s = streams.lock().await;
|
||||||
@@ -745,10 +751,12 @@ async fn handle_edge_connection(
|
|||||||
}
|
}
|
||||||
Ok(None) => {
|
Ok(None) => {
|
||||||
log::info!("Edge {} disconnected (EOF)", edge_id);
|
log::info!("Edge {} disconnected (EOF)", edge_id);
|
||||||
|
disconnect_reason = "edge_eof".to_string();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
log::error!("Edge {} frame error: {}", edge_id, e);
|
log::error!("Edge {} frame error: {}", edge_id, e);
|
||||||
|
disconnect_reason = format!("edge_frame_error: {}", e);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -765,14 +773,17 @@ async fn handle_edge_connection(
|
|||||||
_ = &mut liveness_deadline => {
|
_ = &mut liveness_deadline => {
|
||||||
log::warn!("Edge {} liveness timeout (no frames for {}s), disconnecting",
|
log::warn!("Edge {} liveness timeout (no frames for {}s), disconnecting",
|
||||||
edge_id, liveness_timeout_dur.as_secs());
|
edge_id, liveness_timeout_dur.as_secs());
|
||||||
|
disconnect_reason = "liveness_timeout".to_string();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
_ = &mut writer_dead_rx => {
|
_ = &mut writer_dead_rx => {
|
||||||
log::error!("Tunnel writer to edge {} died, disconnecting immediately", edge_id);
|
log::error!("Tunnel writer to edge {} died, disconnecting immediately", edge_id);
|
||||||
|
disconnect_reason = "writer_dead".to_string();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
_ = edge_token.cancelled() => {
|
_ = edge_token.cancelled() => {
|
||||||
log::info!("Edge {} cancelled by hub", edge_id);
|
log::info!("Edge {} cancelled by hub", edge_id);
|
||||||
|
disconnect_reason = "cancelled_by_hub".to_string();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -788,6 +799,7 @@ async fn handle_edge_connection(
|
|||||||
}
|
}
|
||||||
let _ = event_tx.try_send(HubEvent::EdgeDisconnected {
|
let _ = event_tx.try_send(HubEvent::EdgeDisconnected {
|
||||||
edge_id: edge_id.clone(),
|
edge_id: edge_id.clone(),
|
||||||
|
reason: disconnect_reason,
|
||||||
});
|
});
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
@@ -1010,10 +1022,12 @@ mod tests {
|
|||||||
fn test_hub_event_edge_disconnected_serialize() {
|
fn test_hub_event_edge_disconnected_serialize() {
|
||||||
let event = HubEvent::EdgeDisconnected {
|
let event = HubEvent::EdgeDisconnected {
|
||||||
edge_id: "edge-2".to_string(),
|
edge_id: "edge-2".to_string(),
|
||||||
|
reason: "liveness_timeout".to_string(),
|
||||||
};
|
};
|
||||||
let json = serde_json::to_value(&event).unwrap();
|
let json = serde_json::to_value(&event).unwrap();
|
||||||
assert_eq!(json["type"], "edgeDisconnected");
|
assert_eq!(json["type"], "edgeDisconnected");
|
||||||
assert_eq!(json["edgeId"], "edge-2");
|
assert_eq!(json["edgeId"], "edge-2");
|
||||||
|
assert_eq!(json["reason"], "liveness_timeout");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@serve.zone/remoteingress',
|
name: '@serve.zone/remoteingress',
|
||||||
version: '4.7.1',
|
version: '4.8.1',
|
||||||
description: 'Edge ingress tunnel for DcRouter - accepts incoming TCP connections at network edge and tunnels them to DcRouter SmartProxy preserving client IP via PROXY protocol v1.'
|
description: 'Edge ingress tunnel for DcRouter - accepts incoming TCP connections at network edge and tunnels them to DcRouter SmartProxy preserving client IP via PROXY protocol v1.'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -83,8 +83,10 @@ export class RemoteIngressEdge extends EventEmitter {
|
|||||||
this.bridge.on('management:tunnelConnected', () => {
|
this.bridge.on('management:tunnelConnected', () => {
|
||||||
this.emit('tunnelConnected');
|
this.emit('tunnelConnected');
|
||||||
});
|
});
|
||||||
this.bridge.on('management:tunnelDisconnected', () => {
|
this.bridge.on('management:tunnelDisconnected', (data: { reason?: string }) => {
|
||||||
this.emit('tunnelDisconnected');
|
const reason = data?.reason ?? 'unknown';
|
||||||
|
console.log(`[RemoteIngressEdge] Tunnel disconnected: ${reason}`);
|
||||||
|
this.emit('tunnelDisconnected', data);
|
||||||
});
|
});
|
||||||
this.bridge.on('management:publicIpDiscovered', (data: { ip: string }) => {
|
this.bridge.on('management:publicIpDiscovered', (data: { ip: string }) => {
|
||||||
this.emit('publicIpDiscovered', data);
|
this.emit('publicIpDiscovered', data);
|
||||||
|
|||||||
@@ -93,7 +93,9 @@ export class RemoteIngressHub extends EventEmitter {
|
|||||||
this.bridge.on('management:edgeConnected', (data: { edgeId: string; peerAddr: string }) => {
|
this.bridge.on('management:edgeConnected', (data: { edgeId: string; peerAddr: string }) => {
|
||||||
this.emit('edgeConnected', data);
|
this.emit('edgeConnected', data);
|
||||||
});
|
});
|
||||||
this.bridge.on('management:edgeDisconnected', (data: { edgeId: string }) => {
|
this.bridge.on('management:edgeDisconnected', (data: { edgeId: string; reason?: string }) => {
|
||||||
|
const reason = data?.reason ?? 'unknown';
|
||||||
|
console.log(`[RemoteIngressHub] Edge ${data.edgeId} disconnected: ${reason}`);
|
||||||
this.emit('edgeDisconnected', data);
|
this.emit('edgeDisconnected', data);
|
||||||
});
|
});
|
||||||
this.bridge.on('management:streamOpened', (data: { edgeId: string; streamId: number }) => {
|
this.bridge.on('management:streamOpened', (data: { edgeId: string; streamId: number }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user