Driver: Fix noisy errors, UDP message send failure spam.
Closes #26. This will also prevent a full reconnect failure from endlessly spamming attempts and error logs. I'll follow this up by looking into decent reconnection strategies, although sadly these won't be configurable until the next semver break due to an oversight on my part.
This commit is contained in:
@@ -36,7 +36,11 @@ pub(crate) async fn runner(udp_msg_rx: Receiver<UdpTxMessage>, ssrc: u32, udp_tx
|
||||
error!("Fatal UDP packet send error: {:?}.", e);
|
||||
break;
|
||||
},
|
||||
Ok(Err(_)) | Ok(Ok(Poison)) => {
|
||||
Ok(Err(e)) => {
|
||||
error!("Fatal UDP packet receive error: {:?}.", e);
|
||||
break;
|
||||
},
|
||||
Ok(Ok(Poison)) => {
|
||||
break;
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user